software.amazon.awssdk.services.apigateway.APIGatewayClient Maven / Gradle / Ivy
Show all versions of api-gateway Show documentation
/*
* Copyright 2013-2018 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 software.amazon.awssdk.services.apigateway;
import java.util.function.Consumer;
import javax.annotation.Generated;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.core.exception.SdkServiceException;
import software.amazon.awssdk.core.regions.ServiceMetadata;
import software.amazon.awssdk.services.apigateway.model.APIGatewayException;
import software.amazon.awssdk.services.apigateway.model.BadRequestException;
import software.amazon.awssdk.services.apigateway.model.ConflictException;
import software.amazon.awssdk.services.apigateway.model.CreateApiKeyRequest;
import software.amazon.awssdk.services.apigateway.model.CreateApiKeyResponse;
import software.amazon.awssdk.services.apigateway.model.CreateAuthorizerRequest;
import software.amazon.awssdk.services.apigateway.model.CreateAuthorizerResponse;
import software.amazon.awssdk.services.apigateway.model.CreateBasePathMappingRequest;
import software.amazon.awssdk.services.apigateway.model.CreateBasePathMappingResponse;
import software.amazon.awssdk.services.apigateway.model.CreateDeploymentRequest;
import software.amazon.awssdk.services.apigateway.model.CreateDeploymentResponse;
import software.amazon.awssdk.services.apigateway.model.CreateDocumentationPartRequest;
import software.amazon.awssdk.services.apigateway.model.CreateDocumentationPartResponse;
import software.amazon.awssdk.services.apigateway.model.CreateDocumentationVersionRequest;
import software.amazon.awssdk.services.apigateway.model.CreateDocumentationVersionResponse;
import software.amazon.awssdk.services.apigateway.model.CreateDomainNameRequest;
import software.amazon.awssdk.services.apigateway.model.CreateDomainNameResponse;
import software.amazon.awssdk.services.apigateway.model.CreateModelRequest;
import software.amazon.awssdk.services.apigateway.model.CreateModelResponse;
import software.amazon.awssdk.services.apigateway.model.CreateRequestValidatorRequest;
import software.amazon.awssdk.services.apigateway.model.CreateRequestValidatorResponse;
import software.amazon.awssdk.services.apigateway.model.CreateResourceRequest;
import software.amazon.awssdk.services.apigateway.model.CreateResourceResponse;
import software.amazon.awssdk.services.apigateway.model.CreateRestApiRequest;
import software.amazon.awssdk.services.apigateway.model.CreateRestApiResponse;
import software.amazon.awssdk.services.apigateway.model.CreateStageRequest;
import software.amazon.awssdk.services.apigateway.model.CreateStageResponse;
import software.amazon.awssdk.services.apigateway.model.CreateUsagePlanKeyRequest;
import software.amazon.awssdk.services.apigateway.model.CreateUsagePlanKeyResponse;
import software.amazon.awssdk.services.apigateway.model.CreateUsagePlanRequest;
import software.amazon.awssdk.services.apigateway.model.CreateUsagePlanResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteApiKeyRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteApiKeyResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteAuthorizerRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteAuthorizerResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteBasePathMappingRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteBasePathMappingResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteClientCertificateRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteClientCertificateResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteDeploymentRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteDeploymentResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteDocumentationPartRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteDocumentationPartResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteDocumentationVersionRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteDocumentationVersionResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteDomainNameRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteDomainNameResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteGatewayResponseRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteGatewayResponseResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteIntegrationRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteIntegrationResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteIntegrationResponseRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteIntegrationResponseResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteMethodRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteMethodResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteMethodResponseRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteMethodResponseResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteModelRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteModelResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteRequestValidatorRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteRequestValidatorResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteResourceRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteResourceResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteRestApiRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteRestApiResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteStageRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteStageResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteUsagePlanKeyRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteUsagePlanKeyResponse;
import software.amazon.awssdk.services.apigateway.model.DeleteUsagePlanRequest;
import software.amazon.awssdk.services.apigateway.model.DeleteUsagePlanResponse;
import software.amazon.awssdk.services.apigateway.model.FlushStageAuthorizersCacheRequest;
import software.amazon.awssdk.services.apigateway.model.FlushStageAuthorizersCacheResponse;
import software.amazon.awssdk.services.apigateway.model.FlushStageCacheRequest;
import software.amazon.awssdk.services.apigateway.model.FlushStageCacheResponse;
import software.amazon.awssdk.services.apigateway.model.GenerateClientCertificateRequest;
import software.amazon.awssdk.services.apigateway.model.GenerateClientCertificateResponse;
import software.amazon.awssdk.services.apigateway.model.GetAccountRequest;
import software.amazon.awssdk.services.apigateway.model.GetAccountResponse;
import software.amazon.awssdk.services.apigateway.model.GetApiKeyRequest;
import software.amazon.awssdk.services.apigateway.model.GetApiKeyResponse;
import software.amazon.awssdk.services.apigateway.model.GetApiKeysRequest;
import software.amazon.awssdk.services.apigateway.model.GetApiKeysResponse;
import software.amazon.awssdk.services.apigateway.model.GetAuthorizerRequest;
import software.amazon.awssdk.services.apigateway.model.GetAuthorizerResponse;
import software.amazon.awssdk.services.apigateway.model.GetAuthorizersRequest;
import software.amazon.awssdk.services.apigateway.model.GetAuthorizersResponse;
import software.amazon.awssdk.services.apigateway.model.GetBasePathMappingRequest;
import software.amazon.awssdk.services.apigateway.model.GetBasePathMappingResponse;
import software.amazon.awssdk.services.apigateway.model.GetBasePathMappingsRequest;
import software.amazon.awssdk.services.apigateway.model.GetBasePathMappingsResponse;
import software.amazon.awssdk.services.apigateway.model.GetClientCertificateRequest;
import software.amazon.awssdk.services.apigateway.model.GetClientCertificateResponse;
import software.amazon.awssdk.services.apigateway.model.GetClientCertificatesRequest;
import software.amazon.awssdk.services.apigateway.model.GetClientCertificatesResponse;
import software.amazon.awssdk.services.apigateway.model.GetDeploymentRequest;
import software.amazon.awssdk.services.apigateway.model.GetDeploymentResponse;
import software.amazon.awssdk.services.apigateway.model.GetDeploymentsRequest;
import software.amazon.awssdk.services.apigateway.model.GetDeploymentsResponse;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationPartRequest;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationPartResponse;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationPartsRequest;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationPartsResponse;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationVersionRequest;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationVersionResponse;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationVersionsRequest;
import software.amazon.awssdk.services.apigateway.model.GetDocumentationVersionsResponse;
import software.amazon.awssdk.services.apigateway.model.GetDomainNameRequest;
import software.amazon.awssdk.services.apigateway.model.GetDomainNameResponse;
import software.amazon.awssdk.services.apigateway.model.GetDomainNamesRequest;
import software.amazon.awssdk.services.apigateway.model.GetDomainNamesResponse;
import software.amazon.awssdk.services.apigateway.model.GetExportRequest;
import software.amazon.awssdk.services.apigateway.model.GetExportResponse;
import software.amazon.awssdk.services.apigateway.model.GetGatewayResponseRequest;
import software.amazon.awssdk.services.apigateway.model.GetGatewayResponseResponse;
import software.amazon.awssdk.services.apigateway.model.GetGatewayResponsesRequest;
import software.amazon.awssdk.services.apigateway.model.GetGatewayResponsesResponse;
import software.amazon.awssdk.services.apigateway.model.GetIntegrationRequest;
import software.amazon.awssdk.services.apigateway.model.GetIntegrationResponse;
import software.amazon.awssdk.services.apigateway.model.GetIntegrationResponseRequest;
import software.amazon.awssdk.services.apigateway.model.GetIntegrationResponseResponse;
import software.amazon.awssdk.services.apigateway.model.GetMethodRequest;
import software.amazon.awssdk.services.apigateway.model.GetMethodResponse;
import software.amazon.awssdk.services.apigateway.model.GetMethodResponseRequest;
import software.amazon.awssdk.services.apigateway.model.GetMethodResponseResponse;
import software.amazon.awssdk.services.apigateway.model.GetModelRequest;
import software.amazon.awssdk.services.apigateway.model.GetModelResponse;
import software.amazon.awssdk.services.apigateway.model.GetModelTemplateRequest;
import software.amazon.awssdk.services.apigateway.model.GetModelTemplateResponse;
import software.amazon.awssdk.services.apigateway.model.GetModelsRequest;
import software.amazon.awssdk.services.apigateway.model.GetModelsResponse;
import software.amazon.awssdk.services.apigateway.model.GetRequestValidatorRequest;
import software.amazon.awssdk.services.apigateway.model.GetRequestValidatorResponse;
import software.amazon.awssdk.services.apigateway.model.GetRequestValidatorsRequest;
import software.amazon.awssdk.services.apigateway.model.GetRequestValidatorsResponse;
import software.amazon.awssdk.services.apigateway.model.GetResourceRequest;
import software.amazon.awssdk.services.apigateway.model.GetResourceResponse;
import software.amazon.awssdk.services.apigateway.model.GetResourcesRequest;
import software.amazon.awssdk.services.apigateway.model.GetResourcesResponse;
import software.amazon.awssdk.services.apigateway.model.GetRestApiRequest;
import software.amazon.awssdk.services.apigateway.model.GetRestApiResponse;
import software.amazon.awssdk.services.apigateway.model.GetRestApisRequest;
import software.amazon.awssdk.services.apigateway.model.GetRestApisResponse;
import software.amazon.awssdk.services.apigateway.model.GetSdkRequest;
import software.amazon.awssdk.services.apigateway.model.GetSdkResponse;
import software.amazon.awssdk.services.apigateway.model.GetSdkTypeRequest;
import software.amazon.awssdk.services.apigateway.model.GetSdkTypeResponse;
import software.amazon.awssdk.services.apigateway.model.GetSdkTypesRequest;
import software.amazon.awssdk.services.apigateway.model.GetSdkTypesResponse;
import software.amazon.awssdk.services.apigateway.model.GetStageRequest;
import software.amazon.awssdk.services.apigateway.model.GetStageResponse;
import software.amazon.awssdk.services.apigateway.model.GetStagesRequest;
import software.amazon.awssdk.services.apigateway.model.GetStagesResponse;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlanKeyRequest;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlanKeyResponse;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlanKeysRequest;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlanKeysResponse;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlanRequest;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlanResponse;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlansRequest;
import software.amazon.awssdk.services.apigateway.model.GetUsagePlansResponse;
import software.amazon.awssdk.services.apigateway.model.GetUsageRequest;
import software.amazon.awssdk.services.apigateway.model.GetUsageResponse;
import software.amazon.awssdk.services.apigateway.model.ImportApiKeysRequest;
import software.amazon.awssdk.services.apigateway.model.ImportApiKeysResponse;
import software.amazon.awssdk.services.apigateway.model.ImportDocumentationPartsRequest;
import software.amazon.awssdk.services.apigateway.model.ImportDocumentationPartsResponse;
import software.amazon.awssdk.services.apigateway.model.ImportRestApiRequest;
import software.amazon.awssdk.services.apigateway.model.ImportRestApiResponse;
import software.amazon.awssdk.services.apigateway.model.LimitExceededException;
import software.amazon.awssdk.services.apigateway.model.NotFoundException;
import software.amazon.awssdk.services.apigateway.model.PutGatewayResponseRequest;
import software.amazon.awssdk.services.apigateway.model.PutGatewayResponseResponse;
import software.amazon.awssdk.services.apigateway.model.PutIntegrationRequest;
import software.amazon.awssdk.services.apigateway.model.PutIntegrationResponse;
import software.amazon.awssdk.services.apigateway.model.PutIntegrationResponseRequest;
import software.amazon.awssdk.services.apigateway.model.PutIntegrationResponseResponse;
import software.amazon.awssdk.services.apigateway.model.PutMethodRequest;
import software.amazon.awssdk.services.apigateway.model.PutMethodResponse;
import software.amazon.awssdk.services.apigateway.model.PutMethodResponseRequest;
import software.amazon.awssdk.services.apigateway.model.PutMethodResponseResponse;
import software.amazon.awssdk.services.apigateway.model.PutRestApiRequest;
import software.amazon.awssdk.services.apigateway.model.PutRestApiResponse;
import software.amazon.awssdk.services.apigateway.model.ServiceUnavailableException;
import software.amazon.awssdk.services.apigateway.model.TestInvokeAuthorizerRequest;
import software.amazon.awssdk.services.apigateway.model.TestInvokeAuthorizerResponse;
import software.amazon.awssdk.services.apigateway.model.TestInvokeMethodRequest;
import software.amazon.awssdk.services.apigateway.model.TestInvokeMethodResponse;
import software.amazon.awssdk.services.apigateway.model.TooManyRequestsException;
import software.amazon.awssdk.services.apigateway.model.UnauthorizedException;
import software.amazon.awssdk.services.apigateway.model.UpdateAccountRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateAccountResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateApiKeyRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateApiKeyResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateAuthorizerRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateAuthorizerResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateBasePathMappingRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateBasePathMappingResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateClientCertificateRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateClientCertificateResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateDeploymentRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateDeploymentResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateDocumentationPartRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateDocumentationPartResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateDocumentationVersionRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateDocumentationVersionResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateDomainNameRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateDomainNameResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateGatewayResponseRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateGatewayResponseResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateIntegrationRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateIntegrationResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateIntegrationResponseRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateIntegrationResponseResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateMethodRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateMethodResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateMethodResponseRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateMethodResponseResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateModelRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateModelResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateRequestValidatorRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateRequestValidatorResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateResourceRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateResourceResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateRestApiRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateRestApiResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateStageRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateStageResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateUsagePlanRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateUsagePlanResponse;
import software.amazon.awssdk.services.apigateway.model.UpdateUsageRequest;
import software.amazon.awssdk.services.apigateway.model.UpdateUsageResponse;
import software.amazon.awssdk.utils.SdkAutoCloseable;
/**
* Service client for accessing null. This can be created using the static {@link #builder()} method.
*
* Amazon API Gateway
*
* Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. Amazon
* 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.
*
*/
@Generated("software.amazon.awssdk:codegen")
public interface APIGatewayClient extends SdkClient, SdkAutoCloseable {
String SERVICE_NAME = "apigateway";
/**
* Create a {@link APIGatewayClient} with the region loaded from the
* {@link software.amazon.awssdk.core.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from
* the {@link software.amazon.awssdk.core.auth.DefaultCredentialsProvider}.
*/
static APIGatewayClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link APIGatewayClient}.
*/
static APIGatewayClientBuilder builder() {
return new DefaultAPIGatewayClientBuilder();
}
/**
*
* Create an ApiKey resource.
*
*
*
* @param createApiKeyRequest
* Request to create an ApiKey resource.
* @return Result of the CreateApiKey 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 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 ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateApiKey
*/
default CreateApiKeyResponse createApiKey(CreateApiKeyRequest createApiKeyRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, LimitExceededException, BadRequestException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Create an ApiKey resource.
*
*
*
* @param createApiKeyRequest
* Request to create an ApiKey resource.
* @return Result of the CreateApiKey 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 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 ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateApiKey
*/
default CreateApiKeyResponse createApiKey(Consumer createApiKeyRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, LimitExceededException,
BadRequestException, ConflictException, SdkServiceException, SdkClientException, APIGatewayException {
return createApiKey(CreateApiKeyRequest.builder().apply(createApiKeyRequest).build());
}
/**
*
* 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 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateAuthorizer
*/
default CreateAuthorizerResponse createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, LimitExceededException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateAuthorizer
*/
default CreateAuthorizerResponse createAuthorizer(Consumer createAuthorizerRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, LimitExceededException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return createAuthorizer(CreateAuthorizerRequest.builder().apply(createAuthorizerRequest).build());
}
/**
*
* Creates a new BasePathMapping resource.
*
*
* @param createBasePathMappingRequest
* Requests Amazon API Gateway to create a new BasePathMapping resource.
* @return Result of the CreateBasePathMapping operation returned by the service.
* @throws UnauthorizedException
* The request is denied because the caller has insufficient permissions.
* @throws ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @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 TooManyRequestsException
* The request has reached its throttling limit. Retry after the specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateBasePathMapping
*/
default CreateBasePathMappingResponse createBasePathMapping(CreateBasePathMappingRequest createBasePathMappingRequest)
throws UnauthorizedException, ConflictException, BadRequestException, NotFoundException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new BasePathMapping resource.
*
*
* @param createBasePathMappingRequest
* Requests Amazon API Gateway to create a new BasePathMapping resource.
* @return Result of the CreateBasePathMapping operation returned by the service.
* @throws UnauthorizedException
* The request is denied because the caller has insufficient permissions.
* @throws ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @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 TooManyRequestsException
* The request has reached its throttling limit. Retry after the specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateBasePathMapping
*/
default CreateBasePathMappingResponse createBasePathMapping(
Consumer createBasePathMappingRequest) throws UnauthorizedException,
ConflictException, BadRequestException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return createBasePathMapping(CreateBasePathMappingRequest.builder().apply(createBasePathMappingRequest).build());
}
/**
*
* Creates a Deployment resource, which makes a specified RestApi callable over the internet.
*
*
* @param createDeploymentRequest
* Requests Amazon API Gateway to create a Deployment resource.
* @return Result of the CreateDeployment 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.
* @throws ServiceUnavailableException
* The requested service is not available. For details see the accompanying error message. Retry after the
* specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateDeployment
*/
default CreateDeploymentResponse createDeployment(CreateDeploymentRequest createDeploymentRequest)
throws UnauthorizedException, BadRequestException, NotFoundException, ConflictException, LimitExceededException,
TooManyRequestsException, ServiceUnavailableException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a Deployment resource, which makes a specified RestApi callable over the internet.
*
*
* @param createDeploymentRequest
* Requests Amazon API Gateway to create a Deployment resource.
* @return Result of the CreateDeployment 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.
* @throws ServiceUnavailableException
* The requested service is not available. For details see the accompanying error message. Retry after the
* specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateDeployment
*/
default CreateDeploymentResponse createDeployment(Consumer createDeploymentRequest)
throws UnauthorizedException, BadRequestException, NotFoundException, ConflictException, LimitExceededException,
TooManyRequestsException, ServiceUnavailableException, SdkServiceException, SdkClientException, APIGatewayException {
return createDeployment(CreateDeploymentRequest.builder().apply(createDeploymentRequest).build());
}
/**
* Invokes the CreateDocumentationPart operation.
*
* @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 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateDocumentationPart
*/
default CreateDocumentationPartResponse createDocumentationPart(CreateDocumentationPartRequest createDocumentationPartRequest)
throws BadRequestException, ConflictException, UnauthorizedException, NotFoundException, LimitExceededException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
* Invokes the CreateDocumentationPart operation.
*
* @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 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateDocumentationPart
*/
default CreateDocumentationPartResponse createDocumentationPart(
Consumer createDocumentationPartRequest) throws BadRequestException,
ConflictException, UnauthorizedException, NotFoundException, LimitExceededException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return createDocumentationPart(CreateDocumentationPartRequest.builder().apply(createDocumentationPartRequest).build());
}
/**
* Invokes the CreateDocumentationVersion operation.
*
* @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 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateDocumentationVersion
*/
default CreateDocumentationVersionResponse createDocumentationVersion(
CreateDocumentationVersionRequest createDocumentationVersionRequest) throws BadRequestException, ConflictException,
UnauthorizedException, NotFoundException, LimitExceededException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
* Invokes the CreateDocumentationVersion operation.
*
* @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 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateDocumentationVersion
*/
default CreateDocumentationVersionResponse createDocumentationVersion(
Consumer createDocumentationVersionRequest) throws BadRequestException,
ConflictException, UnauthorizedException, NotFoundException, LimitExceededException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return createDocumentationVersion(CreateDocumentationVersionRequest.builder().apply(createDocumentationVersionRequest)
.build());
}
/**
*
* 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 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateDomainName
*/
default CreateDomainNameResponse createDomainName(CreateDomainNameRequest createDomainNameRequest)
throws UnauthorizedException, BadRequestException, ConflictException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateDomainName
*/
default CreateDomainNameResponse createDomainName(Consumer createDomainNameRequest)
throws UnauthorizedException, BadRequestException, ConflictException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return createDomainName(CreateDomainNameRequest.builder().apply(createDomainNameRequest).build());
}
/**
*
* 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 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 TooManyRequestsException
* The request has reached its throttling limit. Retry after the specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateModel
*/
default CreateModelResponse createModel(CreateModelRequest createModelRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, ConflictException, LimitExceededException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 TooManyRequestsException
* The request has reached its throttling limit. Retry after the specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateModel
*/
default CreateModelResponse createModel(Consumer createModelRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, ConflictException, LimitExceededException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return createModel(CreateModelRequest.builder().apply(createModelRequest).build());
}
/**
*
* Creates a ReqeustValidator 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 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateRequestValidator
*/
default CreateRequestValidatorResponse createRequestValidator(CreateRequestValidatorRequest createRequestValidatorRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, LimitExceededException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a ReqeustValidator 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 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateRequestValidator
*/
default CreateRequestValidatorResponse createRequestValidator(
Consumer createRequestValidatorRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, LimitExceededException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return createRequestValidator(CreateRequestValidatorRequest.builder().apply(createRequestValidatorRequest).build());
}
/**
*
* Creates a Resource resource.
*
*
* @param createResourceRequest
* Requests Amazon 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateResource
*/
default CreateResourceResponse createResource(CreateResourceRequest createResourceRequest) throws UnauthorizedException,
NotFoundException, ConflictException, LimitExceededException, BadRequestException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a Resource resource.
*
*
* @param createResourceRequest
* Requests Amazon 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateResource
*/
default CreateResourceResponse createResource(Consumer createResourceRequest)
throws UnauthorizedException, NotFoundException, ConflictException, LimitExceededException, BadRequestException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return createResource(CreateResourceRequest.builder().apply(createResourceRequest).build());
}
/**
*
* 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 UnauthorizedException
* The request is denied because the caller has insufficient permissions.
* @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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateRestApi
*/
default CreateRestApiResponse createRestApi(CreateRestApiRequest createRestApiRequest) throws UnauthorizedException,
LimitExceededException, BadRequestException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 UnauthorizedException
* The request is denied because the caller has insufficient permissions.
* @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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateRestApi
*/
default CreateRestApiResponse createRestApi(Consumer createRestApiRequest)
throws UnauthorizedException, LimitExceededException, BadRequestException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return createRestApi(CreateRestApiRequest.builder().apply(createRestApiRequest).build());
}
/**
*
* Creates a new Stage resource that references a pre-existing Deployment for the API.
*
*
* @param createStageRequest
* Requests Amazon 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateStage
*/
default CreateStageResponse createStage(CreateStageRequest createStageRequest) throws UnauthorizedException,
BadRequestException, NotFoundException, ConflictException, LimitExceededException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new Stage resource that references a pre-existing Deployment for the API.
*
*
* @param createStageRequest
* Requests Amazon 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateStage
*/
default CreateStageResponse createStage(Consumer createStageRequest)
throws UnauthorizedException, BadRequestException, NotFoundException, ConflictException, LimitExceededException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return createStage(CreateStageRequest.builder().apply(createStageRequest).build());
}
/**
*
* 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 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 LimitExceededException
* The request exceeded the rate limit. Retry after the specified time period.
* @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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateUsagePlan
*/
default CreateUsagePlanResponse createUsagePlan(CreateUsagePlanRequest createUsagePlanRequest) throws BadRequestException,
UnauthorizedException, TooManyRequestsException, LimitExceededException, ConflictException, NotFoundException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 LimitExceededException
* The request exceeded the rate limit. Retry after the specified time period.
* @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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateUsagePlan
*/
default CreateUsagePlanResponse createUsagePlan(Consumer createUsagePlanRequest)
throws BadRequestException, UnauthorizedException, TooManyRequestsException, LimitExceededException,
ConflictException, NotFoundException, SdkServiceException, SdkClientException, APIGatewayException {
return createUsagePlan(CreateUsagePlanRequest.builder().apply(createUsagePlanRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateUsagePlanKey
*/
default CreateUsagePlanKeyResponse createUsagePlanKey(CreateUsagePlanKeyRequest createUsagePlanKeyRequest)
throws BadRequestException, ConflictException, UnauthorizedException, NotFoundException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.CreateUsagePlanKey
*/
default CreateUsagePlanKeyResponse createUsagePlanKey(Consumer createUsagePlanKeyRequest)
throws BadRequestException, ConflictException, UnauthorizedException, NotFoundException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return createUsagePlanKey(CreateUsagePlanKeyRequest.builder().apply(createUsagePlanKeyRequest).build());
}
/**
*
* Deletes the ApiKey resource.
*
*
* @param deleteApiKeyRequest
* A request to delete the ApiKey resource.
* @return Result of the DeleteApiKey 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteApiKey
*/
default DeleteApiKeyResponse deleteApiKey(DeleteApiKeyRequest deleteApiKeyRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the ApiKey resource.
*
*
* @param deleteApiKeyRequest
* A request to delete the ApiKey resource.
* @return Result of the DeleteApiKey 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteApiKey
*/
default DeleteApiKeyResponse deleteApiKey(Consumer deleteApiKeyRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return deleteApiKey(DeleteApiKeyRequest.builder().apply(deleteApiKeyRequest).build());
}
/**
*
* 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteAuthorizer
*/
default DeleteAuthorizerResponse deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, BadRequestException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteAuthorizer
*/
default DeleteAuthorizerResponse deleteAuthorizer(Consumer deleteAuthorizerRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, BadRequestException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
return deleteAuthorizer(DeleteAuthorizerRequest.builder().apply(deleteAuthorizerRequest).build());
}
/**
*
* Deletes the BasePathMapping resource.
*
*
* @param deleteBasePathMappingRequest
* A request to delete the BasePathMapping resource.
* @return Result of the DeleteBasePathMapping 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteBasePathMapping
*/
default DeleteBasePathMappingResponse deleteBasePathMapping(DeleteBasePathMappingRequest deleteBasePathMappingRequest)
throws UnauthorizedException, NotFoundException, ConflictException, BadRequestException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the BasePathMapping resource.
*
*
* @param deleteBasePathMappingRequest
* A request to delete the BasePathMapping resource.
* @return Result of the DeleteBasePathMapping 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteBasePathMapping
*/
default DeleteBasePathMappingResponse deleteBasePathMapping(
Consumer deleteBasePathMappingRequest) throws UnauthorizedException,
NotFoundException, ConflictException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return deleteBasePathMapping(DeleteBasePathMappingRequest.builder().apply(deleteBasePathMappingRequest).build());
}
/**
*
* Deletes the ClientCertificate resource.
*
*
* @param deleteClientCertificateRequest
* A request to delete the ClientCertificate resource.
* @return Result of the DeleteClientCertificate operation returned by the service.
* @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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteClientCertificate
*/
default DeleteClientCertificateResponse deleteClientCertificate(DeleteClientCertificateRequest deleteClientCertificateRequest)
throws UnauthorizedException, TooManyRequestsException, BadRequestException, NotFoundException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the ClientCertificate resource.
*
*
* @param deleteClientCertificateRequest
* A request to delete the ClientCertificate resource.
* @return Result of the DeleteClientCertificate operation returned by the service.
* @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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteClientCertificate
*/
default DeleteClientCertificateResponse deleteClientCertificate(
Consumer deleteClientCertificateRequest) throws UnauthorizedException,
TooManyRequestsException, BadRequestException, NotFoundException, SdkServiceException, SdkClientException,
APIGatewayException {
return deleteClientCertificate(DeleteClientCertificateRequest.builder().apply(deleteClientCertificateRequest).build());
}
/**
*
* Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage
* resources associated with it.
*
*
* @param deleteDeploymentRequest
* Requests Amazon API Gateway to delete a Deployment resource.
* @return Result of the DeleteDeployment 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteDeployment
*/
default DeleteDeploymentResponse deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage
* resources associated with it.
*
*
* @param deleteDeploymentRequest
* Requests Amazon API Gateway to delete a Deployment resource.
* @return Result of the DeleteDeployment 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteDeployment
*/
default DeleteDeploymentResponse deleteDeployment(Consumer deleteDeploymentRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return deleteDeployment(DeleteDeploymentRequest.builder().apply(deleteDeploymentRequest).build());
}
/**
* Invokes the DeleteDocumentationPart operation.
*
* @param deleteDocumentationPartRequest
* Deletes an existing documentation part of an API.
* @return Result of the DeleteDocumentationPart 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.
* @throws BadRequestException
* The submitted request is not valid, for example, the input is incomplete or incorrect. See the
* accompanying error message for details.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteDocumentationPart
*/
default DeleteDocumentationPartResponse deleteDocumentationPart(DeleteDocumentationPartRequest deleteDocumentationPartRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, ConflictException, BadRequestException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
* Invokes the DeleteDocumentationPart operation.
*
* @param deleteDocumentationPartRequest
* Deletes an existing documentation part of an API.
* @return Result of the DeleteDocumentationPart 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.
* @throws BadRequestException
* The submitted request is not valid, for example, the input is incomplete or incorrect. See the
* accompanying error message for details.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteDocumentationPart
*/
default DeleteDocumentationPartResponse deleteDocumentationPart(
Consumer deleteDocumentationPartRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, ConflictException, BadRequestException, SdkServiceException,
SdkClientException, APIGatewayException {
return deleteDocumentationPart(DeleteDocumentationPartRequest.builder().apply(deleteDocumentationPartRequest).build());
}
/**
* Invokes the DeleteDocumentationVersion operation.
*
* @param deleteDocumentationVersionRequest
* Deletes an existing documentation version of an API.
* @return Result of the DeleteDocumentationVersion 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteDocumentationVersion
*/
default DeleteDocumentationVersionResponse deleteDocumentationVersion(
DeleteDocumentationVersionRequest deleteDocumentationVersionRequest) throws UnauthorizedException, NotFoundException,
BadRequestException, ConflictException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
* Invokes the DeleteDocumentationVersion operation.
*
* @param deleteDocumentationVersionRequest
* Deletes an existing documentation version of an API.
* @return Result of the DeleteDocumentationVersion 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteDocumentationVersion
*/
default DeleteDocumentationVersionResponse deleteDocumentationVersion(
Consumer deleteDocumentationVersionRequest) throws UnauthorizedException,
NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return deleteDocumentationVersion(DeleteDocumentationVersionRequest.builder().apply(deleteDocumentationVersionRequest)
.build());
}
/**
*
* Deletes the DomainName resource.
*
*
* @param deleteDomainNameRequest
* A request to delete the DomainName resource.
* @return Result of the DeleteDomainName 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteDomainName
*/
default DeleteDomainNameResponse deleteDomainName(DeleteDomainNameRequest deleteDomainNameRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the DomainName resource.
*
*
* @param deleteDomainNameRequest
* A request to delete the DomainName resource.
* @return Result of the DeleteDomainName 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteDomainName
*/
default DeleteDomainNameResponse deleteDomainName(Consumer deleteDomainNameRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return deleteDomainName(DeleteDomainNameRequest.builder().apply(deleteDomainNameRequest).build());
}
/**
*
* 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteGatewayResponse
*/
default DeleteGatewayResponseResponse deleteGatewayResponse(DeleteGatewayResponseRequest deleteGatewayResponseRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, BadRequestException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteGatewayResponse
*/
default DeleteGatewayResponseResponse deleteGatewayResponse(
Consumer deleteGatewayResponseRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, SdkServiceException,
SdkClientException, APIGatewayException {
return deleteGatewayResponse(DeleteGatewayResponseRequest.builder().apply(deleteGatewayResponseRequest).build());
}
/**
*
* Represents a delete integration.
*
*
* @param deleteIntegrationRequest
* Represents a delete integration request.
* @return Result of the DeleteIntegration 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteIntegration
*/
default DeleteIntegrationResponse deleteIntegration(DeleteIntegrationRequest deleteIntegrationRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, ConflictException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Represents a delete integration.
*
*
* @param deleteIntegrationRequest
* Represents a delete integration request.
* @return Result of the DeleteIntegration 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteIntegration
*/
default DeleteIntegrationResponse deleteIntegration(Consumer deleteIntegrationRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, ConflictException, SdkServiceException,
SdkClientException, APIGatewayException {
return deleteIntegration(DeleteIntegrationRequest.builder().apply(deleteIntegrationRequest).build());
}
/**
*
* Represents a delete integration response.
*
*
* @param deleteIntegrationResponseRequest
* Represents a delete integration response request.
* @return Result of the DeleteIntegrationResponse 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteIntegrationResponse
*/
default DeleteIntegrationResponseResponse deleteIntegrationResponse(
DeleteIntegrationResponseRequest deleteIntegrationResponseRequest) throws UnauthorizedException, NotFoundException,
TooManyRequestsException, BadRequestException, ConflictException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Represents a delete integration response.
*
*
* @param deleteIntegrationResponseRequest
* Represents a delete integration response request.
* @return Result of the DeleteIntegrationResponse 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteIntegrationResponse
*/
default DeleteIntegrationResponseResponse deleteIntegrationResponse(
Consumer deleteIntegrationResponseRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, SdkServiceException,
SdkClientException, APIGatewayException {
return deleteIntegrationResponse(DeleteIntegrationResponseRequest.builder().apply(deleteIntegrationResponseRequest)
.build());
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteMethod
*/
default DeleteMethodResponse deleteMethod(DeleteMethodRequest deleteMethodRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, ConflictException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteMethod
*/
default DeleteMethodResponse deleteMethod(Consumer deleteMethodRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, ConflictException, SdkServiceException,
SdkClientException, APIGatewayException {
return deleteMethod(DeleteMethodRequest.builder().apply(deleteMethodRequest).build());
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteMethodResponse
*/
default DeleteMethodResponseResponse deleteMethodResponse(DeleteMethodResponseRequest deleteMethodResponseRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, BadRequestException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteMethodResponse
*/
default DeleteMethodResponseResponse deleteMethodResponse(
Consumer deleteMethodResponseRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, SdkServiceException,
SdkClientException, APIGatewayException {
return deleteMethodResponse(DeleteMethodResponseRequest.builder().apply(deleteMethodResponseRequest).build());
}
/**
*
* 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteModel
*/
default DeleteModelResponse deleteModel(DeleteModelRequest deleteModelRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteModel
*/
default DeleteModelResponse deleteModel(Consumer deleteModelRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, BadRequestException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
return deleteModel(DeleteModelRequest.builder().apply(deleteModelRequest).build());
}
/**
*
* 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteRequestValidator
*/
default DeleteRequestValidatorResponse deleteRequestValidator(DeleteRequestValidatorRequest deleteRequestValidatorRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, BadRequestException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteRequestValidator
*/
default DeleteRequestValidatorResponse deleteRequestValidator(
Consumer deleteRequestValidatorRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, BadRequestException, ConflictException, SdkServiceException,
SdkClientException, APIGatewayException {
return deleteRequestValidator(DeleteRequestValidatorRequest.builder().apply(deleteRequestValidatorRequest).build());
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteResource
*/
default DeleteResourceResponse deleteResource(DeleteResourceRequest deleteResourceRequest) throws UnauthorizedException,
NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteResource
*/
default DeleteResourceResponse deleteResource(Consumer deleteResourceRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, ConflictException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return deleteResource(DeleteResourceRequest.builder().apply(deleteResourceRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteRestApi
*/
default DeleteRestApiResponse deleteRestApi(DeleteRestApiRequest deleteRestApiRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, BadRequestException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteRestApi
*/
default DeleteRestApiResponse deleteRestApi(Consumer deleteRestApiRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, BadRequestException, SdkServiceException,
SdkClientException, APIGatewayException {
return deleteRestApi(DeleteRestApiRequest.builder().apply(deleteRestApiRequest).build());
}
/**
*
* Deletes a Stage resource.
*
*
* @param deleteStageRequest
* Requests Amazon API Gateway to delete a Stage resource.
* @return Result of the DeleteStage 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteStage
*/
default DeleteStageResponse deleteStage(DeleteStageRequest deleteStageRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, BadRequestException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a Stage resource.
*
*
* @param deleteStageRequest
* Requests Amazon API Gateway to delete a Stage resource.
* @return Result of the DeleteStage 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteStage
*/
default DeleteStageResponse deleteStage(Consumer deleteStageRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, BadRequestException, SdkServiceException,
SdkClientException, APIGatewayException {
return deleteStage(DeleteStageRequest.builder().apply(deleteStageRequest).build());
}
/**
*
* 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 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteUsagePlan
*/
default DeleteUsagePlanResponse deleteUsagePlan(DeleteUsagePlanRequest deleteUsagePlanRequest) throws UnauthorizedException,
TooManyRequestsException, BadRequestException, NotFoundException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteUsagePlan
*/
default DeleteUsagePlanResponse deleteUsagePlan(Consumer deleteUsagePlanRequest)
throws UnauthorizedException, TooManyRequestsException, BadRequestException, NotFoundException, SdkServiceException,
SdkClientException, APIGatewayException {
return deleteUsagePlan(DeleteUsagePlanRequest.builder().apply(deleteUsagePlanRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteUsagePlanKey
*/
default DeleteUsagePlanKeyResponse deleteUsagePlanKey(DeleteUsagePlanKeyRequest deleteUsagePlanKeyRequest)
throws BadRequestException, ConflictException, UnauthorizedException, NotFoundException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.DeleteUsagePlanKey
*/
default DeleteUsagePlanKeyResponse deleteUsagePlanKey(Consumer deleteUsagePlanKeyRequest)
throws BadRequestException, ConflictException, UnauthorizedException, NotFoundException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return deleteUsagePlanKey(DeleteUsagePlanKeyRequest.builder().apply(deleteUsagePlanKeyRequest).build());
}
/**
*
* 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.FlushStageAuthorizersCache
*/
default FlushStageAuthorizersCacheResponse flushStageAuthorizersCache(
FlushStageAuthorizersCacheRequest flushStageAuthorizersCacheRequest) throws UnauthorizedException, NotFoundException,
BadRequestException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.FlushStageAuthorizersCache
*/
default FlushStageAuthorizersCacheResponse flushStageAuthorizersCache(
Consumer flushStageAuthorizersCacheRequest) throws UnauthorizedException,
NotFoundException, BadRequestException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return flushStageAuthorizersCache(FlushStageAuthorizersCacheRequest.builder().apply(flushStageAuthorizersCacheRequest)
.build());
}
/**
*
* Flushes a stage's cache.
*
*
* @param flushStageCacheRequest
* Requests Amazon API Gateway to flush a stage's cache.
* @return Result of the FlushStageCache 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.FlushStageCache
*/
default FlushStageCacheResponse flushStageCache(FlushStageCacheRequest flushStageCacheRequest) throws UnauthorizedException,
NotFoundException, BadRequestException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Flushes a stage's cache.
*
*
* @param flushStageCacheRequest
* Requests Amazon API Gateway to flush a stage's cache.
* @return Result of the FlushStageCache 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.FlushStageCache
*/
default FlushStageCacheResponse flushStageCache(Consumer flushStageCacheRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return flushStageCache(FlushStageCacheRequest.builder().apply(flushStageCacheRequest).build());
}
/**
*
* Generates a ClientCertificate resource.
*
*
* @param generateClientCertificateRequest
* A request to generate a ClientCertificate resource.
* @return Result of the GenerateClientCertificate operation returned by the service.
* @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 LimitExceededException
* The request exceeded the rate limit. Retry after the specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GenerateClientCertificate
*/
default GenerateClientCertificateResponse generateClientCertificate(
GenerateClientCertificateRequest generateClientCertificateRequest) throws UnauthorizedException,
TooManyRequestsException, LimitExceededException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Generates a ClientCertificate resource.
*
*
* @param generateClientCertificateRequest
* A request to generate a ClientCertificate resource.
* @return Result of the GenerateClientCertificate operation returned by the service.
* @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 LimitExceededException
* The request exceeded the rate limit. Retry after the specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GenerateClientCertificate
*/
default GenerateClientCertificateResponse generateClientCertificate(
Consumer generateClientCertificateRequest) throws UnauthorizedException,
TooManyRequestsException, LimitExceededException, SdkServiceException, SdkClientException, APIGatewayException {
return generateClientCertificate(GenerateClientCertificateRequest.builder().apply(generateClientCertificateRequest)
.build());
}
/**
*
* Gets information about the current Account resource.
*
*
* @return Result of the GetAccount 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetAccount
* @see #getAccount(GetAccountRequest)
*/
default GetAccountResponse getAccount() throws UnauthorizedException, NotFoundException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return getAccount(GetAccountRequest.builder().build());
}
/**
*
* Gets information about the current Account resource.
*
*
* @param getAccountRequest
* Requests Amazon API Gateway to get information about the current Account resource.
* @return Result of the GetAccount 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetAccount
*/
default GetAccountResponse getAccount(GetAccountRequest getAccountRequest) throws UnauthorizedException, NotFoundException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Gets information about the current Account resource.
*
*
* @param getAccountRequest
* Requests Amazon API Gateway to get information about the current Account resource.
* @return Result of the GetAccount 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetAccount
*/
default GetAccountResponse getAccount(Consumer getAccountRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getAccount(GetAccountRequest.builder().apply(getAccountRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetApiKey
*/
default GetApiKeyResponse getApiKey(GetApiKeyRequest getApiKeyRequest) throws UnauthorizedException, NotFoundException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetApiKey
*/
default GetApiKeyResponse getApiKey(Consumer getApiKeyRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getApiKey(GetApiKeyRequest.builder().apply(getApiKeyRequest).build());
}
/**
*
* Gets 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetApiKeys
* @see #getApiKeys(GetApiKeysRequest)
*/
default GetApiKeysResponse getApiKeys() throws BadRequestException, UnauthorizedException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return getApiKeys(GetApiKeysRequest.builder().build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetApiKeys
*/
default GetApiKeysResponse getApiKeys(GetApiKeysRequest getApiKeysRequest) throws BadRequestException, UnauthorizedException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetApiKeys
*/
default GetApiKeysResponse getApiKeys(Consumer getApiKeysRequest) throws BadRequestException,
UnauthorizedException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getApiKeys(GetApiKeysRequest.builder().apply(getApiKeysRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetAuthorizer
*/
default GetAuthorizerResponse getAuthorizer(GetAuthorizerRequest getAuthorizerRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetAuthorizer
*/
default GetAuthorizerResponse getAuthorizer(Consumer getAuthorizerRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return getAuthorizer(GetAuthorizerRequest.builder().apply(getAuthorizerRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetAuthorizers
*/
default GetAuthorizersResponse getAuthorizers(GetAuthorizersRequest getAuthorizersRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetAuthorizers
*/
default GetAuthorizersResponse getAuthorizers(Consumer getAuthorizersRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return getAuthorizers(GetAuthorizersRequest.builder().apply(getAuthorizersRequest).build());
}
/**
*
* Describe a BasePathMapping resource.
*
*
* @param getBasePathMappingRequest
* Request to describe a BasePathMapping resource.
* @return Result of the GetBasePathMapping 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetBasePathMapping
*/
default GetBasePathMappingResponse getBasePathMapping(GetBasePathMappingRequest getBasePathMappingRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Describe a BasePathMapping resource.
*
*
* @param getBasePathMappingRequest
* Request to describe a BasePathMapping resource.
* @return Result of the GetBasePathMapping 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetBasePathMapping
*/
default GetBasePathMappingResponse getBasePathMapping(Consumer getBasePathMappingRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return getBasePathMapping(GetBasePathMappingRequest.builder().apply(getBasePathMappingRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetBasePathMappings
*/
default GetBasePathMappingsResponse getBasePathMappings(GetBasePathMappingsRequest getBasePathMappingsRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetBasePathMappings
*/
default GetBasePathMappingsResponse getBasePathMappings(
Consumer getBasePathMappingsRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getBasePathMappings(GetBasePathMappingsRequest.builder().apply(getBasePathMappingsRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetClientCertificate
*/
default GetClientCertificateResponse getClientCertificate(GetClientCertificateRequest getClientCertificateRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetClientCertificate
*/
default GetClientCertificateResponse getClientCertificate(
Consumer getClientCertificateRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getClientCertificate(GetClientCertificateRequest.builder().apply(getClientCertificateRequest).build());
}
/**
*
* Gets 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetClientCertificates
* @see #getClientCertificates(GetClientCertificatesRequest)
*/
default GetClientCertificatesResponse getClientCertificates() throws BadRequestException, UnauthorizedException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getClientCertificates(GetClientCertificatesRequest.builder().build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetClientCertificates
*/
default GetClientCertificatesResponse getClientCertificates(GetClientCertificatesRequest getClientCertificatesRequest)
throws BadRequestException, UnauthorizedException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetClientCertificates
*/
default GetClientCertificatesResponse getClientCertificates(
Consumer getClientCertificatesRequest) throws BadRequestException,
UnauthorizedException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getClientCertificates(GetClientCertificatesRequest.builder().apply(getClientCertificatesRequest).build());
}
/**
*
* Gets information about a Deployment resource.
*
*
* @param getDeploymentRequest
* Requests Amazon API Gateway to get information about a Deployment resource.
* @return Result of the GetDeployment 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 ServiceUnavailableException
* The requested service is not available. For details see the accompanying error message. Retry after the
* specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDeployment
*/
default GetDeploymentResponse getDeployment(GetDeploymentRequest getDeploymentRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, ServiceUnavailableException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Gets information about a Deployment resource.
*
*
* @param getDeploymentRequest
* Requests Amazon API Gateway to get information about a Deployment resource.
* @return Result of the GetDeployment 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 ServiceUnavailableException
* The requested service is not available. For details see the accompanying error message. Retry after the
* specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDeployment
*/
default GetDeploymentResponse getDeployment(Consumer getDeploymentRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, ServiceUnavailableException,
SdkServiceException, SdkClientException, APIGatewayException {
return getDeployment(GetDeploymentRequest.builder().apply(getDeploymentRequest).build());
}
/**
*
* Gets information about a Deployments collection.
*
*
* @param getDeploymentsRequest
* Requests Amazon 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDeployments
*/
default GetDeploymentsResponse getDeployments(GetDeploymentsRequest getDeploymentsRequest) throws BadRequestException,
UnauthorizedException, TooManyRequestsException, ServiceUnavailableException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Gets information about a Deployments collection.
*
*
* @param getDeploymentsRequest
* Requests Amazon 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDeployments
*/
default GetDeploymentsResponse getDeployments(Consumer getDeploymentsRequest)
throws BadRequestException, UnauthorizedException, TooManyRequestsException, ServiceUnavailableException,
SdkServiceException, SdkClientException, APIGatewayException {
return getDeployments(GetDeploymentsRequest.builder().apply(getDeploymentsRequest).build());
}
/**
* Invokes the GetDocumentationPart operation.
*
* @param getDocumentationPartRequest
* Gets a specified documentation part of a given API.
* @return Result of the GetDocumentationPart 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDocumentationPart
*/
default GetDocumentationPartResponse getDocumentationPart(GetDocumentationPartRequest getDocumentationPartRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
* Invokes the GetDocumentationPart operation.
*
* @param getDocumentationPartRequest
* Gets a specified documentation part of a given API.
* @return Result of the GetDocumentationPart 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDocumentationPart
*/
default GetDocumentationPartResponse getDocumentationPart(
Consumer getDocumentationPartRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getDocumentationPart(GetDocumentationPartRequest.builder().apply(getDocumentationPartRequest).build());
}
/**
* Invokes the GetDocumentationParts operation.
*
* @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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDocumentationParts
*/
default GetDocumentationPartsResponse getDocumentationParts(GetDocumentationPartsRequest getDocumentationPartsRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
* Invokes the GetDocumentationParts operation.
*
* @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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDocumentationParts
*/
default GetDocumentationPartsResponse getDocumentationParts(
Consumer getDocumentationPartsRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return getDocumentationParts(GetDocumentationPartsRequest.builder().apply(getDocumentationPartsRequest).build());
}
/**
* Invokes the GetDocumentationVersion operation.
*
* @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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDocumentationVersion
*/
default GetDocumentationVersionResponse getDocumentationVersion(GetDocumentationVersionRequest getDocumentationVersionRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
* Invokes the GetDocumentationVersion operation.
*
* @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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDocumentationVersion
*/
default GetDocumentationVersionResponse getDocumentationVersion(
Consumer getDocumentationVersionRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getDocumentationVersion(GetDocumentationVersionRequest.builder().apply(getDocumentationVersionRequest).build());
}
/**
* Invokes the GetDocumentationVersions operation.
*
* @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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDocumentationVersions
*/
default GetDocumentationVersionsResponse getDocumentationVersions(
GetDocumentationVersionsRequest getDocumentationVersionsRequest) throws BadRequestException, UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
* Invokes the GetDocumentationVersions operation.
*
* @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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDocumentationVersions
*/
default GetDocumentationVersionsResponse getDocumentationVersions(
Consumer getDocumentationVersionsRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return getDocumentationVersions(GetDocumentationVersionsRequest.builder().apply(getDocumentationVersionsRequest).build());
}
/**
*
* 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 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 ServiceUnavailableException
* The requested service is not available. For details see the accompanying error message. Retry after the
* specified time period.
* @throws TooManyRequestsException
* The request has reached its throttling limit. Retry after the specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDomainName
*/
default GetDomainNameResponse getDomainName(GetDomainNameRequest getDomainNameRequest) throws UnauthorizedException,
NotFoundException, ServiceUnavailableException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 ServiceUnavailableException
* The requested service is not available. For details see the accompanying error message. Retry after the
* specified time period.
* @throws TooManyRequestsException
* The request has reached its throttling limit. Retry after the specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDomainName
*/
default GetDomainNameResponse getDomainName(Consumer getDomainNameRequest)
throws UnauthorizedException, NotFoundException, ServiceUnavailableException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return getDomainName(GetDomainNameRequest.builder().apply(getDomainNameRequest).build());
}
/**
*
* Represents 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDomainNames
* @see #getDomainNames(GetDomainNamesRequest)
*/
default GetDomainNamesResponse getDomainNames() throws BadRequestException, UnauthorizedException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return getDomainNames(GetDomainNamesRequest.builder().build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDomainNames
*/
default GetDomainNamesResponse getDomainNames(GetDomainNamesRequest getDomainNamesRequest) throws BadRequestException,
UnauthorizedException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetDomainNames
*/
default GetDomainNamesResponse getDomainNames(Consumer getDomainNamesRequest)
throws BadRequestException, UnauthorizedException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return getDomainNames(GetDomainNamesRequest.builder().apply(getDomainNamesRequest).build());
}
/**
*
* 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetExport
*/
default GetExportResponse getExport(GetExportRequest getExportRequest) throws UnauthorizedException, NotFoundException,
BadRequestException, ConflictException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetExport
*/
default GetExportResponse getExport(Consumer getExportRequest) throws UnauthorizedException,
NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return getExport(GetExportRequest.builder().apply(getExportRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetGatewayResponse
*/
default GetGatewayResponseResponse getGatewayResponse(GetGatewayResponseRequest getGatewayResponseRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetGatewayResponse
*/
default GetGatewayResponseResponse getGatewayResponse(Consumer getGatewayResponseRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return getGatewayResponse(GetGatewayResponseRequest.builder().apply(getGatewayResponseRequest).build());
}
/**
*
* 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 Amazon 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 Amazon 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetGatewayResponses
*/
default GetGatewayResponsesResponse getGatewayResponses(GetGatewayResponsesRequest getGatewayResponsesRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 Amazon 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 Amazon 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetGatewayResponses
*/
default GetGatewayResponsesResponse getGatewayResponses(
Consumer getGatewayResponsesRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return getGatewayResponses(GetGatewayResponsesRequest.builder().apply(getGatewayResponsesRequest).build());
}
/**
*
* Represents a get integration.
*
*
* @param getIntegrationRequest
* Represents a get integration request.
* @return Result of the GetIntegration 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetIntegration
*/
default GetIntegrationResponse getIntegration(GetIntegrationRequest getIntegrationRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Represents a get integration.
*
*
* @param getIntegrationRequest
* Represents a get integration request.
* @return Result of the GetIntegration 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetIntegration
*/
default GetIntegrationResponse getIntegration(Consumer getIntegrationRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return getIntegration(GetIntegrationRequest.builder().apply(getIntegrationRequest).build());
}
/**
*
* Represents a get integration response.
*
*
* @param getIntegrationResponseRequest
* Represents a get integration response request.
* @return Result of the GetIntegrationResponse 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetIntegrationResponse
*/
default GetIntegrationResponseResponse getIntegrationResponse(GetIntegrationResponseRequest getIntegrationResponseRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Represents a get integration response.
*
*
* @param getIntegrationResponseRequest
* Represents a get integration response request.
* @return Result of the GetIntegrationResponse 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetIntegrationResponse
*/
default GetIntegrationResponseResponse getIntegrationResponse(
Consumer getIntegrationResponseRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getIntegrationResponse(GetIntegrationResponseRequest.builder().apply(getIntegrationResponseRequest).build());
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetMethod
*/
default GetMethodResponse getMethod(GetMethodRequest getMethodRequest) throws UnauthorizedException, NotFoundException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetMethod
*/
default GetMethodResponse getMethod(Consumer getMethodRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getMethod(GetMethodRequest.builder().apply(getMethodRequest).build());
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetMethodResponse
*/
default GetMethodResponseResponse getMethodResponse(GetMethodResponseRequest getMethodResponseRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetMethodResponse
*/
default GetMethodResponseResponse getMethodResponse(Consumer getMethodResponseRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return getMethodResponse(GetMethodResponseRequest.builder().apply(getMethodResponseRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetModel
*/
default GetModelResponse getModel(GetModelRequest getModelRequest) throws UnauthorizedException, NotFoundException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetModel
*/
default GetModelResponse getModel(Consumer getModelRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getModel(GetModelRequest.builder().apply(getModelRequest).build());
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetModelTemplate
*/
default GetModelTemplateResponse getModelTemplate(GetModelTemplateRequest getModelTemplateRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetModelTemplate
*/
default GetModelTemplateResponse getModelTemplate(Consumer getModelTemplateRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return getModelTemplate(GetModelTemplateRequest.builder().apply(getModelTemplateRequest).build());
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetModels
*/
default GetModelsResponse getModels(GetModelsRequest getModelsRequest) throws BadRequestException, UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetModels
*/
default GetModelsResponse getModels(Consumer getModelsRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return getModels(GetModelsRequest.builder().apply(getModelsRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetRequestValidator
*/
default GetRequestValidatorResponse getRequestValidator(GetRequestValidatorRequest getRequestValidatorRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetRequestValidator
*/
default GetRequestValidatorResponse getRequestValidator(
Consumer getRequestValidatorRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getRequestValidator(GetRequestValidatorRequest.builder().apply(getRequestValidatorRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetRequestValidators
*/
default GetRequestValidatorsResponse getRequestValidators(GetRequestValidatorsRequest getRequestValidatorsRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetRequestValidators
*/
default GetRequestValidatorsResponse getRequestValidators(
Consumer getRequestValidatorsRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return getRequestValidators(GetRequestValidatorsRequest.builder().apply(getRequestValidatorsRequest).build());
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetResource
*/
default GetResourceResponse getResource(GetResourceRequest getResourceRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetResource
*/
default GetResourceResponse getResource(Consumer getResourceRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return getResource(GetResourceRequest.builder().apply(getResourceRequest).build());
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetResources
*/
default GetResourcesResponse getResources(GetResourcesRequest getResourcesRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetResources
*/
default GetResourcesResponse getResources(Consumer getResourcesRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return getResources(GetResourcesRequest.builder().apply(getResourcesRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetRestApi
*/
default GetRestApiResponse getRestApi(GetRestApiRequest getRestApiRequest) throws UnauthorizedException, NotFoundException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetRestApi
*/
default GetRestApiResponse getRestApi(Consumer getRestApiRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getRestApi(GetRestApiRequest.builder().apply(getRestApiRequest).build());
}
/**
*
* Lists the RestApis resources 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetRestApis
* @see #getRestApis(GetRestApisRequest)
*/
default GetRestApisResponse getRestApis() throws BadRequestException, UnauthorizedException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return getRestApis(GetRestApisRequest.builder().build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetRestApis
*/
default GetRestApisResponse getRestApis(GetRestApisRequest getRestApisRequest) throws BadRequestException,
UnauthorizedException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetRestApis
*/
default GetRestApisResponse getRestApis(Consumer getRestApisRequest) throws BadRequestException,
UnauthorizedException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getRestApis(GetRestApisRequest.builder().apply(getRestApisRequest).build());
}
/**
*
* 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetSdk
*/
default GetSdkResponse getSdk(GetSdkRequest getSdkRequest) throws UnauthorizedException, NotFoundException,
BadRequestException, ConflictException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetSdk
*/
default GetSdkResponse getSdk(Consumer getSdkRequest) throws UnauthorizedException, NotFoundException,
BadRequestException, ConflictException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return getSdk(GetSdkRequest.builder().apply(getSdkRequest).build());
}
/**
* Invokes the GetSdkType operation.
*
* @param getSdkTypeRequest
* Get an SdkType instance.
* @return Result of the GetSdkType 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetSdkType
*/
default GetSdkTypeResponse getSdkType(GetSdkTypeRequest getSdkTypeRequest) throws UnauthorizedException, NotFoundException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
* Invokes the GetSdkType operation.
*
* @param getSdkTypeRequest
* Get an SdkType instance.
* @return Result of the GetSdkType 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetSdkType
*/
default GetSdkTypeResponse getSdkType(Consumer getSdkTypeRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getSdkType(GetSdkTypeRequest.builder().apply(getSdkTypeRequest).build());
}
/**
* Invokes the GetSdkTypes operation.
*
* @return Result of the GetSdkTypes operation returned by the service.
* @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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetSdkTypes
* @see #getSdkTypes(GetSdkTypesRequest)
*/
default GetSdkTypesResponse getSdkTypes() throws UnauthorizedException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return getSdkTypes(GetSdkTypesRequest.builder().build());
}
/**
* Invokes the GetSdkTypes operation.
*
* @param getSdkTypesRequest
* Get the SdkTypes collection.
* @return Result of the GetSdkTypes operation returned by the service.
* @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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetSdkTypes
*/
default GetSdkTypesResponse getSdkTypes(GetSdkTypesRequest getSdkTypesRequest) throws UnauthorizedException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
* Invokes the GetSdkTypes operation.
*
* @param getSdkTypesRequest
* Get the SdkTypes collection.
* @return Result of the GetSdkTypes operation returned by the service.
* @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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetSdkTypes
*/
default GetSdkTypesResponse getSdkTypes(Consumer getSdkTypesRequest)
throws UnauthorizedException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getSdkTypes(GetSdkTypesRequest.builder().apply(getSdkTypesRequest).build());
}
/**
*
* Gets information about a Stage resource.
*
*
* @param getStageRequest
* Requests Amazon API Gateway to get information about a Stage resource.
* @return Result of the GetStage 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetStage
*/
default GetStageResponse getStage(GetStageRequest getStageRequest) throws UnauthorizedException, NotFoundException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Gets information about a Stage resource.
*
*
* @param getStageRequest
* Requests Amazon API Gateway to get information about a Stage resource.
* @return Result of the GetStage 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetStage
*/
default GetStageResponse getStage(Consumer getStageRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getStage(GetStageRequest.builder().apply(getStageRequest).build());
}
/**
*
* Gets information about one or more Stage resources.
*
*
* @param getStagesRequest
* Requests Amazon API Gateway to get information about one or more Stage resources.
* @return Result of the GetStages 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetStages
*/
default GetStagesResponse getStages(GetStagesRequest getStagesRequest) throws UnauthorizedException, NotFoundException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Gets information about one or more Stage resources.
*
*
* @param getStagesRequest
* Requests Amazon API Gateway to get information about one or more Stage resources.
* @return Result of the GetStages 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetStages
*/
default GetStagesResponse getStages(Consumer getStagesRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return getStages(GetStagesRequest.builder().apply(getStagesRequest).build());
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetUsage
*/
default GetUsageResponse getUsage(GetUsageRequest getUsageRequest) throws BadRequestException, UnauthorizedException,
NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetUsage
*/
default GetUsageResponse getUsage(Consumer getUsageRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return getUsage(GetUsageRequest.builder().apply(getUsageRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetUsagePlan
*/
default GetUsagePlanResponse getUsagePlan(GetUsagePlanRequest getUsagePlanRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetUsagePlan
*/
default GetUsagePlanResponse getUsagePlan(Consumer getUsagePlanRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return getUsagePlan(GetUsagePlanRequest.builder().apply(getUsagePlanRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetUsagePlanKey
*/
default GetUsagePlanKeyResponse getUsagePlanKey(GetUsagePlanKeyRequest getUsagePlanKeyRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetUsagePlanKey
*/
default GetUsagePlanKeyResponse getUsagePlanKey(Consumer getUsagePlanKeyRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return getUsagePlanKey(GetUsagePlanKeyRequest.builder().apply(getUsagePlanKeyRequest).build());
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetUsagePlanKeys
*/
default GetUsagePlanKeysResponse getUsagePlanKeys(GetUsagePlanKeysRequest getUsagePlanKeysRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetUsagePlanKeys
*/
default GetUsagePlanKeysResponse getUsagePlanKeys(Consumer getUsagePlanKeysRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return getUsagePlanKeys(GetUsagePlanKeysRequest.builder().apply(getUsagePlanKeysRequest).build());
}
/**
*
* Gets 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 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetUsagePlans
* @see #getUsagePlans(GetUsagePlansRequest)
*/
default GetUsagePlansResponse getUsagePlans() throws BadRequestException, UnauthorizedException, TooManyRequestsException,
ConflictException, NotFoundException, SdkServiceException, SdkClientException, APIGatewayException {
return getUsagePlans(GetUsagePlansRequest.builder().build());
}
/**
*
* 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 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetUsagePlans
*/
default GetUsagePlansResponse getUsagePlans(GetUsagePlansRequest getUsagePlansRequest) throws BadRequestException,
UnauthorizedException, TooManyRequestsException, ConflictException, NotFoundException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* 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 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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.GetUsagePlans
*/
default GetUsagePlansResponse getUsagePlans(Consumer getUsagePlansRequest)
throws BadRequestException, UnauthorizedException, TooManyRequestsException, ConflictException, NotFoundException,
SdkServiceException, SdkClientException, APIGatewayException {
return getUsagePlans(GetUsagePlansRequest.builder().apply(getUsagePlansRequest).build());
}
/**
*
* Import API keys from an external source, such as a CSV-formatted file.
*
*
* @param importApiKeysRequest
* The POST request to import API keys from an external source, such as a CSV-formatted file.
* @return Result of the ImportApiKeys 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 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 ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.ImportApiKeys
*/
default ImportApiKeysResponse importApiKeys(ImportApiKeysRequest importApiKeysRequest) throws UnauthorizedException,
NotFoundException, TooManyRequestsException, LimitExceededException, BadRequestException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Import API keys from an external source, such as a CSV-formatted file.
*
*
* @param importApiKeysRequest
* The POST request to import API keys from an external source, such as a CSV-formatted file.
* @return Result of the ImportApiKeys 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 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 ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.ImportApiKeys
*/
default ImportApiKeysResponse importApiKeys(Consumer importApiKeysRequest)
throws UnauthorizedException, NotFoundException, TooManyRequestsException, LimitExceededException,
BadRequestException, ConflictException, SdkServiceException, SdkClientException, APIGatewayException {
return importApiKeys(ImportApiKeysRequest.builder().apply(importApiKeysRequest).build());
}
/**
* Invokes the ImportDocumentationParts operation.
*
* @param importDocumentationPartsRequest
* Import documentation parts from an external (e.g., Swagger) definition file.
* @return Result of the ImportDocumentationParts 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.ImportDocumentationParts
*/
default ImportDocumentationPartsResponse importDocumentationParts(
ImportDocumentationPartsRequest importDocumentationPartsRequest) throws UnauthorizedException, NotFoundException,
BadRequestException, LimitExceededException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
* Invokes the ImportDocumentationParts operation.
*
* @param importDocumentationPartsRequest
* Import documentation parts from an external (e.g., Swagger) definition file.
* @return Result of the ImportDocumentationParts 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.ImportDocumentationParts
*/
default ImportDocumentationPartsResponse importDocumentationParts(
Consumer importDocumentationPartsRequest) throws UnauthorizedException,
NotFoundException, BadRequestException, LimitExceededException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return importDocumentationParts(ImportDocumentationPartsRequest.builder().apply(importDocumentationPartsRequest).build());
}
/**
*
* A feature of the Amazon API Gateway control service for creating a new API from an external API definition file.
*
*
* @param importRestApiRequest
* A POST request to import an API to Amazon API Gateway using an input of an API definition file.
* @return Result of the ImportRestApi operation returned by the service.
* @throws UnauthorizedException
* The request is denied because the caller has insufficient permissions.
* @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.
* @throws ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.ImportRestApi
*/
default ImportRestApiResponse importRestApi(ImportRestApiRequest importRestApiRequest) throws UnauthorizedException,
LimitExceededException, BadRequestException, TooManyRequestsException, ConflictException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* A feature of the Amazon API Gateway control service for creating a new API from an external API definition file.
*
*
* @param importRestApiRequest
* A POST request to import an API to Amazon API Gateway using an input of an API definition file.
* @return Result of the ImportRestApi operation returned by the service.
* @throws UnauthorizedException
* The request is denied because the caller has insufficient permissions.
* @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.
* @throws ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.ImportRestApi
*/
default ImportRestApiResponse importRestApi(Consumer importRestApiRequest)
throws UnauthorizedException, LimitExceededException, BadRequestException, TooManyRequestsException,
ConflictException, SdkServiceException, SdkClientException, APIGatewayException {
return importRestApi(ImportRestApiRequest.builder().apply(importRestApiRequest).build());
}
/**
*
* Creates a customization of a GatewayResponse of a specified response type and status code on the given
* RestApi.
*
*
* @param putGatewayResponseRequest
* Creates a customization of a GatewayResponse of a specified response type and status code on the
* given RestApi.
* @return Result of the PutGatewayResponse 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.PutGatewayResponse
*/
default PutGatewayResponseResponse putGatewayResponse(PutGatewayResponseRequest putGatewayResponseRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, LimitExceededException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a customization of a GatewayResponse of a specified response type and status code on the given
* RestApi.
*
*
* @param putGatewayResponseRequest
* Creates a customization of a GatewayResponse of a specified response type and status code on the
* given RestApi.
* @return Result of the PutGatewayResponse 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.PutGatewayResponse
*/
default PutGatewayResponseResponse putGatewayResponse(Consumer putGatewayResponseRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, LimitExceededException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return putGatewayResponse(PutGatewayResponseRequest.builder().apply(putGatewayResponseRequest).build());
}
/**
*
* Sets up a method's integration.
*
*
* @param putIntegrationRequest
* Sets up a method's integration.
* @return Result of the PutIntegration 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 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 TooManyRequestsException
* The request has reached its throttling limit. Retry after the specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.PutIntegration
*/
default PutIntegrationResponse putIntegration(PutIntegrationRequest putIntegrationRequest) throws UnauthorizedException,
BadRequestException, ConflictException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Sets up a method's integration.
*
*
* @param putIntegrationRequest
* Sets up a method's integration.
* @return Result of the PutIntegration 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 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 TooManyRequestsException
* The request has reached its throttling limit. Retry after the specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.PutIntegration
*/
default PutIntegrationResponse putIntegration(Consumer putIntegrationRequest)
throws UnauthorizedException, BadRequestException, ConflictException, NotFoundException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return putIntegration(PutIntegrationRequest.builder().apply(putIntegrationRequest).build());
}
/**
*
* Represents a put integration.
*
*
* @param putIntegrationResponseRequest
* Represents a put integration response request.
* @return Result of the PutIntegrationResponse 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 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.
* @throws ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.PutIntegrationResponse
*/
default PutIntegrationResponseResponse putIntegrationResponse(PutIntegrationResponseRequest putIntegrationResponseRequest)
throws UnauthorizedException, NotFoundException, LimitExceededException, BadRequestException,
TooManyRequestsException, ConflictException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Represents a put integration.
*
*
* @param putIntegrationResponseRequest
* Represents a put integration response request.
* @return Result of the PutIntegrationResponse 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 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.
* @throws ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.PutIntegrationResponse
*/
default PutIntegrationResponseResponse putIntegrationResponse(
Consumer putIntegrationResponseRequest) throws UnauthorizedException,
NotFoundException, LimitExceededException, BadRequestException, TooManyRequestsException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
return putIntegrationResponse(PutIntegrationResponseRequest.builder().apply(putIntegrationResponseRequest).build());
}
/**
*
* Add a method to an existing Resource resource.
*
*
* @param putMethodRequest
* Request to add a method to an existing Resource resource.
* @return Result of the PutMethod 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.PutMethod
*/
default PutMethodResponse putMethod(PutMethodRequest putMethodRequest) throws BadRequestException, UnauthorizedException,
NotFoundException, ConflictException, LimitExceededException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Add a method to an existing Resource resource.
*
*
* @param putMethodRequest
* Request to add a method to an existing Resource resource.
* @return Result of the PutMethod 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.PutMethod
*/
default PutMethodResponse putMethod(Consumer putMethodRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, ConflictException, LimitExceededException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return putMethod(PutMethodRequest.builder().apply(putMethodRequest).build());
}
/**
*
* Adds a MethodResponse to an existing Method resource.
*
*
* @param putMethodResponseRequest
* Request to add a MethodResponse to an existing Method resource.
* @return Result of the PutMethodResponse 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.PutMethodResponse
*/
default PutMethodResponseResponse putMethodResponse(PutMethodResponseRequest putMethodResponseRequest)
throws UnauthorizedException, NotFoundException, ConflictException, LimitExceededException, BadRequestException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Adds a MethodResponse to an existing Method resource.
*
*
* @param putMethodResponseRequest
* Request to add a MethodResponse to an existing Method resource.
* @return Result of the PutMethodResponse 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.PutMethodResponse
*/
default PutMethodResponseResponse putMethodResponse(Consumer putMethodResponseRequest)
throws UnauthorizedException, NotFoundException, ConflictException, LimitExceededException, BadRequestException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
return putMethodResponse(PutMethodResponseRequest.builder().apply(putMethodResponseRequest).build());
}
/**
*
* A feature of the Amazon API Gateway control service for updating an existing API with an input of external API
* definitions. The update can take the form of merging the supplied definition into the existing API or overwriting
* the existing API.
*
*
* @param putRestApiRequest
* A PUT request to update an existing API, with external API definitions specified as the request body.
* @return Result of the PutRestApi operation returned by the service.
* @throws UnauthorizedException
* The request is denied because the caller has insufficient permissions.
* @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 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.
* @throws ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.PutRestApi
*/
default PutRestApiResponse putRestApi(PutRestApiRequest putRestApiRequest) throws UnauthorizedException,
LimitExceededException, NotFoundException, BadRequestException, TooManyRequestsException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* A feature of the Amazon API Gateway control service for updating an existing API with an input of external API
* definitions. The update can take the form of merging the supplied definition into the existing API or overwriting
* the existing API.
*
*
* @param putRestApiRequest
* A PUT request to update an existing API, with external API definitions specified as the request body.
* @return Result of the PutRestApi operation returned by the service.
* @throws UnauthorizedException
* The request is denied because the caller has insufficient permissions.
* @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 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.
* @throws ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.PutRestApi
*/
default PutRestApiResponse putRestApi(Consumer putRestApiRequest) throws UnauthorizedException,
LimitExceededException, NotFoundException, BadRequestException, TooManyRequestsException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
return putRestApi(PutRestApiRequest.builder().apply(putRestApiRequest).build());
}
/**
*
* Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming
* request body.
*
*
*
* @param testInvokeAuthorizerRequest
* Make a request to simulate the execution of an Authorizer.
* @return Result of the TestInvokeAuthorizer 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.TestInvokeAuthorizer
*/
default TestInvokeAuthorizerResponse testInvokeAuthorizer(TestInvokeAuthorizerRequest testInvokeAuthorizerRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming
* request body.
*
*
*
* @param testInvokeAuthorizerRequest
* Make a request to simulate the execution of an Authorizer.
* @return Result of the TestInvokeAuthorizer 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.TestInvokeAuthorizer
*/
default TestInvokeAuthorizerResponse testInvokeAuthorizer(
Consumer testInvokeAuthorizerRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return testInvokeAuthorizer(TestInvokeAuthorizerRequest.builder().apply(testInvokeAuthorizerRequest).build());
}
/**
*
* Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming
* request body.
*
*
* @param testInvokeMethodRequest
* Make a request to simulate the execution of a Method.
* @return Result of the TestInvokeMethod 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.TestInvokeMethod
*/
default TestInvokeMethodResponse testInvokeMethod(TestInvokeMethodRequest testInvokeMethodRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming
* request body.
*
*
* @param testInvokeMethodRequest
* Make a request to simulate the execution of a Method.
* @return Result of the TestInvokeMethod 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.TestInvokeMethod
*/
default TestInvokeMethodResponse testInvokeMethod(Consumer testInvokeMethodRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return testInvokeMethod(TestInvokeMethodRequest.builder().apply(testInvokeMethodRequest).build());
}
/**
*
* Changes information about the current Account resource.
*
*
* @param updateAccountRequest
* Requests Amazon API Gateway to change information about the current Account resource.
* @return Result of the UpdateAccount 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 TooManyRequestsException
* The request has reached its throttling limit. Retry after the specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateAccount
*/
default UpdateAccountResponse updateAccount(UpdateAccountRequest updateAccountRequest) throws UnauthorizedException,
BadRequestException, NotFoundException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Changes information about the current Account resource.
*
*
* @param updateAccountRequest
* Requests Amazon API Gateway to change information about the current Account resource.
* @return Result of the UpdateAccount 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 TooManyRequestsException
* The request has reached its throttling limit. Retry after the specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateAccount
*/
default UpdateAccountResponse updateAccount(Consumer updateAccountRequest)
throws UnauthorizedException, BadRequestException, NotFoundException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return updateAccount(UpdateAccountRequest.builder().apply(updateAccountRequest).build());
}
/**
*
* Changes information about an ApiKey resource.
*
*
* @param updateApiKeyRequest
* A request to change information about an ApiKey resource.
* @return Result of the UpdateApiKey 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.
* @throws ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateApiKey
*/
default UpdateApiKeyResponse updateApiKey(UpdateApiKeyRequest updateApiKeyRequest) throws UnauthorizedException,
NotFoundException, BadRequestException, TooManyRequestsException, ConflictException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Changes information about an ApiKey resource.
*
*
* @param updateApiKeyRequest
* A request to change information about an ApiKey resource.
* @return Result of the UpdateApiKey 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.
* @throws ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateApiKey
*/
default UpdateApiKeyResponse updateApiKey(Consumer updateApiKeyRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, TooManyRequestsException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
return updateApiKey(UpdateApiKeyRequest.builder().apply(updateApiKeyRequest).build());
}
/**
*
* Updates an existing Authorizer resource.
*
*
*
* @param updateAuthorizerRequest
* Request to update an existing Authorizer resource.
* @return Result of the UpdateAuthorizer 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateAuthorizer
*/
default UpdateAuthorizerResponse updateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing Authorizer resource.
*
*
*
* @param updateAuthorizerRequest
* Request to update an existing Authorizer resource.
* @return Result of the UpdateAuthorizer 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateAuthorizer
*/
default UpdateAuthorizerResponse updateAuthorizer(Consumer updateAuthorizerRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return updateAuthorizer(UpdateAuthorizerRequest.builder().apply(updateAuthorizerRequest).build());
}
/**
*
* Changes information about the BasePathMapping resource.
*
*
* @param updateBasePathMappingRequest
* A request to change information about the BasePathMapping resource.
* @return Result of the UpdateBasePathMapping 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateBasePathMapping
*/
default UpdateBasePathMappingResponse updateBasePathMapping(UpdateBasePathMappingRequest updateBasePathMappingRequest)
throws UnauthorizedException, NotFoundException, ConflictException, BadRequestException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Changes information about the BasePathMapping resource.
*
*
* @param updateBasePathMappingRequest
* A request to change information about the BasePathMapping resource.
* @return Result of the UpdateBasePathMapping 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateBasePathMapping
*/
default UpdateBasePathMappingResponse updateBasePathMapping(
Consumer updateBasePathMappingRequest) throws UnauthorizedException,
NotFoundException, ConflictException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return updateBasePathMapping(UpdateBasePathMappingRequest.builder().apply(updateBasePathMappingRequest).build());
}
/**
*
* Changes information about an ClientCertificate resource.
*
*
* @param updateClientCertificateRequest
* A request to change information about an ClientCertificate resource.
* @return Result of the UpdateClientCertificate operation returned by the service.
* @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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateClientCertificate
*/
default UpdateClientCertificateResponse updateClientCertificate(UpdateClientCertificateRequest updateClientCertificateRequest)
throws UnauthorizedException, TooManyRequestsException, BadRequestException, NotFoundException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Changes information about an ClientCertificate resource.
*
*
* @param updateClientCertificateRequest
* A request to change information about an ClientCertificate resource.
* @return Result of the UpdateClientCertificate operation returned by the service.
* @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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateClientCertificate
*/
default UpdateClientCertificateResponse updateClientCertificate(
Consumer updateClientCertificateRequest) throws UnauthorizedException,
TooManyRequestsException, BadRequestException, NotFoundException, SdkServiceException, SdkClientException,
APIGatewayException {
return updateClientCertificate(UpdateClientCertificateRequest.builder().apply(updateClientCertificateRequest).build());
}
/**
*
* Changes information about a Deployment resource.
*
*
* @param updateDeploymentRequest
* Requests Amazon API Gateway to change information about a Deployment resource.
* @return Result of the UpdateDeployment 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.
* @throws ServiceUnavailableException
* The requested service is not available. For details see the accompanying error message. Retry after the
* specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateDeployment
*/
default UpdateDeploymentResponse updateDeployment(UpdateDeploymentRequest updateDeploymentRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, TooManyRequestsException,
ServiceUnavailableException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Changes information about a Deployment resource.
*
*
* @param updateDeploymentRequest
* Requests Amazon API Gateway to change information about a Deployment resource.
* @return Result of the UpdateDeployment 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.
* @throws ServiceUnavailableException
* The requested service is not available. For details see the accompanying error message. Retry after the
* specified time period.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateDeployment
*/
default UpdateDeploymentResponse updateDeployment(Consumer updateDeploymentRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, TooManyRequestsException,
ServiceUnavailableException, SdkServiceException, SdkClientException, APIGatewayException {
return updateDeployment(UpdateDeploymentRequest.builder().apply(updateDeploymentRequest).build());
}
/**
* Invokes the UpdateDocumentationPart operation.
*
* @param updateDocumentationPartRequest
* Updates an existing documentation part of a given API.
* @return Result of the UpdateDocumentationPart 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateDocumentationPart
*/
default UpdateDocumentationPartResponse updateDocumentationPart(UpdateDocumentationPartRequest updateDocumentationPartRequest)
throws BadRequestException, UnauthorizedException, NotFoundException, ConflictException, LimitExceededException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
* Invokes the UpdateDocumentationPart operation.
*
* @param updateDocumentationPartRequest
* Updates an existing documentation part of a given API.
* @return Result of the UpdateDocumentationPart 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateDocumentationPart
*/
default UpdateDocumentationPartResponse updateDocumentationPart(
Consumer updateDocumentationPartRequest) throws BadRequestException,
UnauthorizedException, NotFoundException, ConflictException, LimitExceededException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return updateDocumentationPart(UpdateDocumentationPartRequest.builder().apply(updateDocumentationPartRequest).build());
}
/**
* Invokes the UpdateDocumentationVersion operation.
*
* @param updateDocumentationVersionRequest
* Updates an existing documentation version of an API.
* @return Result of the UpdateDocumentationVersion 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateDocumentationVersion
*/
default UpdateDocumentationVersionResponse updateDocumentationVersion(
UpdateDocumentationVersionRequest updateDocumentationVersionRequest) throws UnauthorizedException, NotFoundException,
ConflictException, BadRequestException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
* Invokes the UpdateDocumentationVersion operation.
*
* @param updateDocumentationVersionRequest
* Updates an existing documentation version of an API.
* @return Result of the UpdateDocumentationVersion 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateDocumentationVersion
*/
default UpdateDocumentationVersionResponse updateDocumentationVersion(
Consumer updateDocumentationVersionRequest) throws UnauthorizedException,
NotFoundException, ConflictException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return updateDocumentationVersion(UpdateDocumentationVersionRequest.builder().apply(updateDocumentationVersionRequest)
.build());
}
/**
*
* Changes information about the DomainName resource.
*
*
* @param updateDomainNameRequest
* A request to change information about the DomainName resource.
* @return Result of the UpdateDomainName 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateDomainName
*/
default UpdateDomainNameResponse updateDomainName(UpdateDomainNameRequest updateDomainNameRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, ConflictException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Changes information about the DomainName resource.
*
*
* @param updateDomainNameRequest
* A request to change information about the DomainName resource.
* @return Result of the UpdateDomainName 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateDomainName
*/
default UpdateDomainNameResponse updateDomainName(Consumer updateDomainNameRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, ConflictException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return updateDomainName(UpdateDomainNameRequest.builder().apply(updateDomainNameRequest).build());
}
/**
*
* Updates a GatewayResponse of a specified response type on the given RestApi.
*
*
* @param updateGatewayResponseRequest
* Updates a GatewayResponse of a specified response type on the given RestApi.
* @return Result of the UpdateGatewayResponse 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateGatewayResponse
*/
default UpdateGatewayResponseResponse updateGatewayResponse(UpdateGatewayResponseRequest updateGatewayResponseRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Updates a GatewayResponse of a specified response type on the given RestApi.
*
*
* @param updateGatewayResponseRequest
* Updates a GatewayResponse of a specified response type on the given RestApi.
* @return Result of the UpdateGatewayResponse 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateGatewayResponse
*/
default UpdateGatewayResponseResponse updateGatewayResponse(
Consumer updateGatewayResponseRequest) throws UnauthorizedException,
NotFoundException, BadRequestException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return updateGatewayResponse(UpdateGatewayResponseRequest.builder().apply(updateGatewayResponseRequest).build());
}
/**
*
* Represents an update integration.
*
*
* @param updateIntegrationRequest
* Represents an update integration request.
* @return Result of the UpdateIntegration 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.
* @throws ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateIntegration
*/
default UpdateIntegrationResponse updateIntegration(UpdateIntegrationRequest updateIntegrationRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, TooManyRequestsException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Represents an update integration.
*
*
* @param updateIntegrationRequest
* Represents an update integration request.
* @return Result of the UpdateIntegration 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.
* @throws ConflictException
* The request configuration has conflicts. For details, see the accompanying error message.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateIntegration
*/
default UpdateIntegrationResponse updateIntegration(Consumer updateIntegrationRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, TooManyRequestsException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
return updateIntegration(UpdateIntegrationRequest.builder().apply(updateIntegrationRequest).build());
}
/**
*
* Represents an update integration response.
*
*
* @param updateIntegrationResponseRequest
* Represents an update integration response request.
* @return Result of the UpdateIntegrationResponse 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateIntegrationResponse
*/
default UpdateIntegrationResponseResponse updateIntegrationResponse(
UpdateIntegrationResponseRequest updateIntegrationResponseRequest) throws UnauthorizedException, NotFoundException,
ConflictException, BadRequestException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Represents an update integration response.
*
*
* @param updateIntegrationResponseRequest
* Represents an update integration response request.
* @return Result of the UpdateIntegrationResponse 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateIntegrationResponse
*/
default UpdateIntegrationResponseResponse updateIntegrationResponse(
Consumer updateIntegrationResponseRequest) throws UnauthorizedException,
NotFoundException, ConflictException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
return updateIntegrationResponse(UpdateIntegrationResponseRequest.builder().apply(updateIntegrationResponseRequest)
.build());
}
/**
*
* Updates an existing Method resource.
*
*
* @param updateMethodRequest
* Request to update an existing Method resource.
* @return Result of the UpdateMethod 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateMethod
*/
default UpdateMethodResponse updateMethod(UpdateMethodRequest updateMethodRequest) throws UnauthorizedException,
NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing Method resource.
*
*
* @param updateMethodRequest
* Request to update an existing Method resource.
* @return Result of the UpdateMethod 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateMethod
*/
default UpdateMethodResponse updateMethod(Consumer updateMethodRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, ConflictException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return updateMethod(UpdateMethodRequest.builder().apply(updateMethodRequest).build());
}
/**
*
* Updates an existing MethodResponse resource.
*
*
* @param updateMethodResponseRequest
* A request to update an existing MethodResponse resource.
* @return Result of the UpdateMethodResponse 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateMethodResponse
*/
default UpdateMethodResponseResponse updateMethodResponse(UpdateMethodResponseRequest updateMethodResponseRequest)
throws UnauthorizedException, NotFoundException, ConflictException, LimitExceededException, BadRequestException,
TooManyRequestsException, SdkServiceException, SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing MethodResponse resource.
*
*
* @param updateMethodResponseRequest
* A request to update an existing MethodResponse resource.
* @return Result of the UpdateMethodResponse 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateMethodResponse
*/
default UpdateMethodResponseResponse updateMethodResponse(
Consumer updateMethodResponseRequest) throws UnauthorizedException,
NotFoundException, ConflictException, LimitExceededException, BadRequestException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return updateMethodResponse(UpdateMethodResponseRequest.builder().apply(updateMethodResponseRequest).build());
}
/**
*
* Changes information about a model.
*
*
* @param updateModelRequest
* Request to update an existing model in an existing RestApi resource.
* @return Result of the UpdateModel 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateModel
*/
default UpdateModelResponse updateModel(UpdateModelRequest updateModelRequest) throws UnauthorizedException,
NotFoundException, BadRequestException, ConflictException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Changes information about a model.
*
*
* @param updateModelRequest
* Request to update an existing model in an existing RestApi resource.
* @return Result of the UpdateModel 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateModel
*/
default UpdateModelResponse updateModel(Consumer updateModelRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, ConflictException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return updateModel(UpdateModelRequest.builder().apply(updateModelRequest).build());
}
/**
*
* Updates a RequestValidator of a given RestApi.
*
*
* @param updateRequestValidatorRequest
* Updates a RequestValidator of a given RestApi.
* @return Result of the UpdateRequestValidator 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateRequestValidator
*/
default UpdateRequestValidatorResponse updateRequestValidator(UpdateRequestValidatorRequest updateRequestValidatorRequest)
throws UnauthorizedException, NotFoundException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Updates a RequestValidator of a given RestApi.
*
*
* @param updateRequestValidatorRequest
* Updates a RequestValidator of a given RestApi.
* @return Result of the UpdateRequestValidator 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateRequestValidator
*/
default UpdateRequestValidatorResponse updateRequestValidator(
Consumer updateRequestValidatorRequest) throws UnauthorizedException,
NotFoundException, BadRequestException, TooManyRequestsException, SdkServiceException, SdkClientException,
APIGatewayException {
return updateRequestValidator(UpdateRequestValidatorRequest.builder().apply(updateRequestValidatorRequest).build());
}
/**
*
* Changes information about a Resource resource.
*
*
* @param updateResourceRequest
* Request to change information about a Resource resource.
* @return Result of the UpdateResource 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateResource
*/
default UpdateResourceResponse updateResource(UpdateResourceRequest updateResourceRequest) throws UnauthorizedException,
NotFoundException, ConflictException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Changes information about a Resource resource.
*
*
* @param updateResourceRequest
* Request to change information about a Resource resource.
* @return Result of the UpdateResource 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateResource
*/
default UpdateResourceResponse updateResource(Consumer updateResourceRequest)
throws UnauthorizedException, NotFoundException, ConflictException, BadRequestException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return updateResource(UpdateResourceRequest.builder().apply(updateResourceRequest).build());
}
/**
*
* Changes information about the specified API.
*
*
* @param updateRestApiRequest
* Request to update an existing RestApi resource in your collection.
* @return Result of the UpdateRestApi 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateRestApi
*/
default UpdateRestApiResponse updateRestApi(UpdateRestApiRequest updateRestApiRequest) throws UnauthorizedException,
NotFoundException, ConflictException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Changes information about the specified API.
*
*
* @param updateRestApiRequest
* Request to update an existing RestApi resource in your collection.
* @return Result of the UpdateRestApi 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateRestApi
*/
default UpdateRestApiResponse updateRestApi(Consumer updateRestApiRequest)
throws UnauthorizedException, NotFoundException, ConflictException, BadRequestException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return updateRestApi(UpdateRestApiRequest.builder().apply(updateRestApiRequest).build());
}
/**
*
* Changes information about a Stage resource.
*
*
* @param updateStageRequest
* Requests Amazon API Gateway to change information about a Stage resource.
* @return Result of the UpdateStage 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateStage
*/
default UpdateStageResponse updateStage(UpdateStageRequest updateStageRequest) throws UnauthorizedException,
NotFoundException, ConflictException, BadRequestException, TooManyRequestsException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Changes information about a Stage resource.
*
*
* @param updateStageRequest
* Requests Amazon API Gateway to change information about a Stage resource.
* @return Result of the UpdateStage 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 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.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateStage
*/
default UpdateStageResponse updateStage(Consumer updateStageRequest)
throws UnauthorizedException, NotFoundException, ConflictException, BadRequestException, TooManyRequestsException,
SdkServiceException, SdkClientException, APIGatewayException {
return updateStage(UpdateStageRequest.builder().apply(updateStageRequest).build());
}
/**
*
* Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.
*
*
* @param updateUsageRequest
* The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a
* specified API key.
* @return Result of the UpdateUsage operation returned by the service.
* @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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateUsage
*/
default UpdateUsageResponse updateUsage(UpdateUsageRequest updateUsageRequest) throws UnauthorizedException,
TooManyRequestsException, BadRequestException, NotFoundException, SdkServiceException, SdkClientException,
APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.
*
*
* @param updateUsageRequest
* The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a
* specified API key.
* @return Result of the UpdateUsage operation returned by the service.
* @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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateUsage
*/
default UpdateUsageResponse updateUsage(Consumer updateUsageRequest)
throws UnauthorizedException, TooManyRequestsException, BadRequestException, NotFoundException, SdkServiceException,
SdkClientException, APIGatewayException {
return updateUsage(UpdateUsageRequest.builder().apply(updateUsageRequest).build());
}
/**
*
* Updates a usage plan of a given plan Id.
*
*
* @param updateUsagePlanRequest
* The PATCH request to update a usage plan of a given plan Id.
* @return Result of the UpdateUsagePlan operation returned by the service.
* @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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateUsagePlan
*/
default UpdateUsagePlanResponse updateUsagePlan(UpdateUsagePlanRequest updateUsagePlanRequest) throws UnauthorizedException,
TooManyRequestsException, BadRequestException, NotFoundException, ConflictException, SdkServiceException,
SdkClientException, APIGatewayException {
throw new UnsupportedOperationException();
}
/**
*
* Updates a usage plan of a given plan Id.
*
*
* @param updateUsagePlanRequest
* The PATCH request to update a usage plan of a given plan Id.
* @return Result of the UpdateUsagePlan operation returned by the service.
* @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 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 SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws APIGatewayException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample APIGatewayClient.UpdateUsagePlan
*/
default UpdateUsagePlanResponse updateUsagePlan(Consumer updateUsagePlanRequest)
throws UnauthorizedException, TooManyRequestsException, BadRequestException, NotFoundException, ConflictException,
SdkServiceException, SdkClientException, APIGatewayException {
return updateUsagePlan(UpdateUsagePlanRequest.builder().apply(updateUsagePlanRequest).build());
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of("apigateway");
}
}