@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonApiGatewayClient extends AmazonWebServiceClient implements AmazonApiGateway
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.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Constructor and Description |
|---|
AmazonApiGatewayClient()
Deprecated.
|
AmazonApiGatewayClient(AWSCredentials awsCredentials)
Deprecated.
use
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AmazonApiGatewayClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build(); |
AmazonApiGatewayClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
|
AmazonApiGatewayClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AmazonApiGatewayClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AmazonApiGatewayClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
|
AmazonApiGatewayClient(ClientConfiguration clientConfiguration)
Deprecated.
|
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, setRegion, shutdown@Deprecated public AmazonApiGatewayClient()
AmazonApiGatewayClientBuilder.defaultClient()All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain@Deprecated public AmazonApiGatewayClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this client connects to Amazon API Gateway (ex: proxy
settings, retry counts, etc.).DefaultAWSCredentialsProviderChain@Deprecated public AmazonApiGatewayClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AmazonApiGatewayClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build();All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.@Deprecated public AmazonApiGatewayClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon API Gateway (ex: proxy
settings, retry counts, etc.).@Deprecated public AmazonApiGatewayClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.@Deprecated public AmazonApiGatewayClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon API Gateway (ex: proxy
settings, retry counts, etc.).@Deprecated public AmazonApiGatewayClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsClientBuilder.withMetricsCollector(RequestMetricCollector)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon API Gateway (ex: proxy
settings, retry counts, etc.).requestMetricCollector - optional request metric collectorpublic static AmazonApiGatewayClientBuilder builder()
public CreateApiKeyResult createApiKey(CreateApiKeyRequest request)
createApiKey in interface AmazonApiGatewaycreateApiKeyRequest - Request to create an ApiKey resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionLimitExceededExceptionBadRequestExceptionConflictExceptionpublic CreateAuthorizerResult createAuthorizer(CreateAuthorizerRequest request)
Adds a new Authorizer resource to an existing RestApi resource.
createAuthorizer in interface AmazonApiGatewaycreateAuthorizerRequest - Request to add a new Authorizer to an existing RestApi resource.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionLimitExceededExceptionTooManyRequestsExceptionpublic CreateBasePathMappingResult createBasePathMapping(CreateBasePathMappingRequest request)
Creates a new BasePathMapping resource.
createBasePathMapping in interface AmazonApiGatewaycreateBasePathMappingRequest - Requests Amazon API Gateway to create a new BasePathMapping resource.UnauthorizedExceptionConflictExceptionBadRequestExceptionNotFoundExceptionTooManyRequestsExceptionpublic CreateDeploymentResult createDeployment(CreateDeploymentRequest request)
Creates a Deployment resource, which makes a specified RestApi callable over the internet.
createDeployment in interface AmazonApiGatewaycreateDeploymentRequest - Requests Amazon API Gateway to create a Deployment resource.UnauthorizedExceptionBadRequestExceptionNotFoundExceptionConflictExceptionLimitExceededExceptionTooManyRequestsExceptionServiceUnavailableExceptionpublic CreateDocumentationPartResult createDocumentationPart(CreateDocumentationPartRequest request)
createDocumentationPart in interface AmazonApiGatewaycreateDocumentationPartRequest - Creates a new documentation part of a given API.BadRequestExceptionConflictExceptionUnauthorizedExceptionNotFoundExceptionLimitExceededExceptionTooManyRequestsExceptionpublic CreateDocumentationVersionResult createDocumentationVersion(CreateDocumentationVersionRequest request)
createDocumentationVersion in interface AmazonApiGatewaycreateDocumentationVersionRequest - Creates a new documentation version of a given API.BadRequestExceptionConflictExceptionUnauthorizedExceptionNotFoundExceptionLimitExceededExceptionTooManyRequestsExceptionpublic CreateDomainNameResult createDomainName(CreateDomainNameRequest request)
Creates a new domain name.
createDomainName in interface AmazonApiGatewaycreateDomainNameRequest - A request to create a new domain name.UnauthorizedExceptionBadRequestExceptionConflictExceptionTooManyRequestsExceptionpublic CreateModelResult createModel(CreateModelRequest request)
createModel in interface AmazonApiGatewaycreateModelRequest - Request to add a new Model to an existing RestApi resource.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionConflictExceptionLimitExceededExceptionTooManyRequestsExceptionpublic CreateRequestValidatorResult createRequestValidator(CreateRequestValidatorRequest request)
Creates a ReqeustValidator of a given RestApi.
createRequestValidator in interface AmazonApiGatewaycreateRequestValidatorRequest - Creates a RequestValidator of a given RestApi.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionLimitExceededExceptionTooManyRequestsExceptionpublic CreateResourceResult createResource(CreateResourceRequest request)
Creates a Resource resource.
createResource in interface AmazonApiGatewaycreateResourceRequest - Requests Amazon API Gateway to create a Resource resource.UnauthorizedExceptionNotFoundExceptionConflictExceptionLimitExceededExceptionBadRequestExceptionTooManyRequestsExceptionpublic CreateRestApiResult createRestApi(CreateRestApiRequest request)
Creates a new RestApi resource.
createRestApi in interface AmazonApiGatewaycreateRestApiRequest - The POST Request to add a new RestApi resource to your collection.UnauthorizedExceptionLimitExceededExceptionBadRequestExceptionTooManyRequestsExceptionpublic CreateStageResult createStage(CreateStageRequest request)
Creates a new Stage resource that references a pre-existing Deployment for the API.
createStage in interface AmazonApiGatewaycreateStageRequest - Requests Amazon API Gateway to create a Stage resource.UnauthorizedExceptionBadRequestExceptionNotFoundExceptionConflictExceptionLimitExceededExceptionTooManyRequestsExceptionpublic CreateUsagePlanResult createUsagePlan(CreateUsagePlanRequest request)
Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload.
createUsagePlan in interface AmazonApiGatewaycreateUsagePlanRequest - 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.BadRequestExceptionUnauthorizedExceptionTooManyRequestsExceptionLimitExceededExceptionConflictExceptionNotFoundExceptionpublic CreateUsagePlanKeyResult createUsagePlanKey(CreateUsagePlanKeyRequest request)
Creates a usage plan key for adding an existing API key to a usage plan.
createUsagePlanKey in interface AmazonApiGatewaycreateUsagePlanKeyRequest - The POST request to create a usage plan key for adding an existing API key to a usage plan.BadRequestExceptionConflictExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic DeleteApiKeyResult deleteApiKey(DeleteApiKeyRequest request)
Deletes the ApiKey resource.
deleteApiKey in interface AmazonApiGatewaydeleteApiKeyRequest - A request to delete the ApiKey resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic DeleteAuthorizerResult deleteAuthorizer(DeleteAuthorizerRequest request)
Deletes an existing Authorizer resource.
deleteAuthorizer in interface AmazonApiGatewaydeleteAuthorizerRequest - Request to delete an existing Authorizer resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionBadRequestExceptionConflictExceptionpublic DeleteBasePathMappingResult deleteBasePathMapping(DeleteBasePathMappingRequest request)
Deletes the BasePathMapping resource.
deleteBasePathMapping in interface AmazonApiGatewaydeleteBasePathMappingRequest - A request to delete the BasePathMapping resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic DeleteClientCertificateResult deleteClientCertificate(DeleteClientCertificateRequest request)
Deletes the ClientCertificate resource.
deleteClientCertificate in interface AmazonApiGatewaydeleteClientCertificateRequest - A request to delete the ClientCertificate resource.UnauthorizedExceptionTooManyRequestsExceptionBadRequestExceptionNotFoundExceptionpublic DeleteDeploymentResult deleteDeployment(DeleteDeploymentRequest request)
Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
deleteDeployment in interface AmazonApiGatewaydeleteDeploymentRequest - Requests Amazon API Gateway to delete a Deployment resource.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionTooManyRequestsExceptionpublic DeleteDocumentationPartResult deleteDocumentationPart(DeleteDocumentationPartRequest request)
deleteDocumentationPart in interface AmazonApiGatewaydeleteDocumentationPartRequest - Deletes an existing documentation part of an API.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionConflictExceptionBadRequestExceptionpublic DeleteDocumentationVersionResult deleteDocumentationVersion(DeleteDocumentationVersionRequest request)
deleteDocumentationVersion in interface AmazonApiGatewaydeleteDocumentationVersionRequest - Deletes an existing documentation version of an API.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionConflictExceptionTooManyRequestsExceptionpublic DeleteDomainNameResult deleteDomainName(DeleteDomainNameRequest request)
Deletes the DomainName resource.
deleteDomainName in interface AmazonApiGatewaydeleteDomainNameRequest - A request to delete the DomainName resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic DeleteGatewayResponseResult deleteGatewayResponse(DeleteGatewayResponseRequest request)
Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.
deleteGatewayResponse in interface AmazonApiGatewaydeleteGatewayResponseRequest - Clears any customization of a GatewayResponse of a specified response type on the given
RestApi and resets it with the default settings.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionBadRequestExceptionConflictExceptionpublic DeleteIntegrationResult deleteIntegration(DeleteIntegrationRequest request)
Represents a delete integration.
deleteIntegration in interface AmazonApiGatewaydeleteIntegrationRequest - Represents a delete integration request.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionConflictExceptionpublic DeleteIntegrationResponseResult deleteIntegrationResponse(DeleteIntegrationResponseRequest request)
Represents a delete integration response.
deleteIntegrationResponse in interface AmazonApiGatewaydeleteIntegrationResponseRequest - Represents a delete integration response request.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionBadRequestExceptionConflictExceptionpublic DeleteMethodResult deleteMethod(DeleteMethodRequest request)
Deletes an existing Method resource.
deleteMethod in interface AmazonApiGatewaydeleteMethodRequest - Request to delete an existing Method resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionConflictExceptionpublic DeleteMethodResponseResult deleteMethodResponse(DeleteMethodResponseRequest request)
Deletes an existing MethodResponse resource.
deleteMethodResponse in interface AmazonApiGatewaydeleteMethodResponseRequest - A request to delete an existing MethodResponse resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionBadRequestExceptionConflictExceptionpublic DeleteModelResult deleteModel(DeleteModelRequest request)
Deletes a model.
deleteModel in interface AmazonApiGatewaydeleteModelRequest - Request to delete an existing model in an existing RestApi resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionBadRequestExceptionConflictExceptionpublic DeleteRequestValidatorResult deleteRequestValidator(DeleteRequestValidatorRequest request)
Deletes a RequestValidator of a given RestApi.
deleteRequestValidator in interface AmazonApiGatewaydeleteRequestValidatorRequest - Deletes a specified RequestValidator of a given RestApi.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionBadRequestExceptionConflictExceptionpublic DeleteResourceResult deleteResource(DeleteResourceRequest request)
Deletes a Resource resource.
deleteResource in interface AmazonApiGatewaydeleteResourceRequest - Request to delete a Resource.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionConflictExceptionTooManyRequestsExceptionpublic DeleteRestApiResult deleteRestApi(DeleteRestApiRequest request)
Deletes the specified API.
deleteRestApi in interface AmazonApiGatewaydeleteRestApiRequest - Request to delete the specified API from your collection.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionBadRequestExceptionpublic DeleteStageResult deleteStage(DeleteStageRequest request)
Deletes a Stage resource.
deleteStage in interface AmazonApiGatewaydeleteStageRequest - Requests Amazon API Gateway to delete a Stage resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionBadRequestExceptionpublic DeleteUsagePlanResult deleteUsagePlan(DeleteUsagePlanRequest request)
Deletes a usage plan of a given plan Id.
deleteUsagePlan in interface AmazonApiGatewaydeleteUsagePlanRequest - The DELETE request to delete a usage plan of a given plan Id.UnauthorizedExceptionTooManyRequestsExceptionBadRequestExceptionNotFoundExceptionpublic DeleteUsagePlanKeyResult deleteUsagePlanKey(DeleteUsagePlanKeyRequest request)
Deletes a usage plan key and remove the underlying API key from the associated usage plan.
deleteUsagePlanKey in interface AmazonApiGatewaydeleteUsagePlanKeyRequest - The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage
plan.BadRequestExceptionConflictExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic FlushStageAuthorizersCacheResult flushStageAuthorizersCache(FlushStageAuthorizersCacheRequest request)
Flushes all authorizer cache entries on a stage.
flushStageAuthorizersCache in interface AmazonApiGatewayflushStageAuthorizersCacheRequest - Request to flush authorizer cache entries on a specified stage.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionTooManyRequestsExceptionpublic FlushStageCacheResult flushStageCache(FlushStageCacheRequest request)
Flushes a stage's cache.
flushStageCache in interface AmazonApiGatewayflushStageCacheRequest - Requests Amazon API Gateway to flush a stage's cache.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionTooManyRequestsExceptionpublic GenerateClientCertificateResult generateClientCertificate(GenerateClientCertificateRequest request)
Generates a ClientCertificate resource.
generateClientCertificate in interface AmazonApiGatewaygenerateClientCertificateRequest - A request to generate a ClientCertificate resource.UnauthorizedExceptionTooManyRequestsExceptionLimitExceededExceptionpublic GetAccountResult getAccount(GetAccountRequest request)
Gets information about the current Account resource.
getAccount in interface AmazonApiGatewaygetAccountRequest - Requests Amazon API Gateway to get information about the current Account resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetApiKeyResult getApiKey(GetApiKeyRequest request)
Gets information about the current ApiKey resource.
getApiKey in interface AmazonApiGatewaygetApiKeyRequest - A request to get information about the current ApiKey resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetApiKeysResult getApiKeys(GetApiKeysRequest request)
Gets information about the current ApiKeys resource.
getApiKeys in interface AmazonApiGatewaygetApiKeysRequest - A request to get information about the current ApiKeys resource.BadRequestExceptionUnauthorizedExceptionTooManyRequestsExceptionpublic GetAuthorizerResult getAuthorizer(GetAuthorizerRequest request)
Describe an existing Authorizer resource.
getAuthorizer in interface AmazonApiGatewaygetAuthorizerRequest - Request to describe an existing Authorizer resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetAuthorizersResult getAuthorizers(GetAuthorizersRequest request)
Describe an existing Authorizers resource.
getAuthorizers in interface AmazonApiGatewaygetAuthorizersRequest - Request to describe an existing Authorizers resource.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetBasePathMappingResult getBasePathMapping(GetBasePathMappingRequest request)
Describe a BasePathMapping resource.
getBasePathMapping in interface AmazonApiGatewaygetBasePathMappingRequest - Request to describe a BasePathMapping resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetBasePathMappingsResult getBasePathMappings(GetBasePathMappingsRequest request)
Represents a collection of BasePathMapping resources.
getBasePathMappings in interface AmazonApiGatewaygetBasePathMappingsRequest - A request to get information about a collection of BasePathMapping resources.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetClientCertificateResult getClientCertificate(GetClientCertificateRequest request)
Gets information about the current ClientCertificate resource.
getClientCertificate in interface AmazonApiGatewaygetClientCertificateRequest - A request to get information about the current ClientCertificate resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetClientCertificatesResult getClientCertificates(GetClientCertificatesRequest request)
Gets a collection of ClientCertificate resources.
getClientCertificates in interface AmazonApiGatewaygetClientCertificatesRequest - A request to get information about a collection of ClientCertificate resources.BadRequestExceptionUnauthorizedExceptionTooManyRequestsExceptionpublic GetDeploymentResult getDeployment(GetDeploymentRequest request)
Gets information about a Deployment resource.
getDeployment in interface AmazonApiGatewaygetDeploymentRequest - Requests Amazon API Gateway to get information about a Deployment resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionServiceUnavailableExceptionpublic GetDeploymentsResult getDeployments(GetDeploymentsRequest request)
Gets information about a Deployments collection.
getDeployments in interface AmazonApiGatewaygetDeploymentsRequest - Requests Amazon API Gateway to get information about a Deployments collection.BadRequestExceptionUnauthorizedExceptionTooManyRequestsExceptionServiceUnavailableExceptionpublic GetDocumentationPartResult getDocumentationPart(GetDocumentationPartRequest request)
getDocumentationPart in interface AmazonApiGatewaygetDocumentationPartRequest - Gets a specified documentation part of a given API.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetDocumentationPartsResult getDocumentationParts(GetDocumentationPartsRequest request)
getDocumentationParts in interface AmazonApiGatewaygetDocumentationPartsRequest - Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API
entities (targets).BadRequestExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetDocumentationVersionResult getDocumentationVersion(GetDocumentationVersionRequest request)
getDocumentationVersion in interface AmazonApiGatewaygetDocumentationVersionRequest - Gets a documentation snapshot of an API.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetDocumentationVersionsResult getDocumentationVersions(GetDocumentationVersionsRequest request)
getDocumentationVersions in interface AmazonApiGatewaygetDocumentationVersionsRequest - Gets the documentation versions of an API.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetDomainNameResult getDomainName(GetDomainNameRequest request)
Represents a domain name that is contained in a simpler, more intuitive URL that can be called.
getDomainName in interface AmazonApiGatewaygetDomainNameRequest - Request to get the name of a DomainName resource.UnauthorizedExceptionNotFoundExceptionServiceUnavailableExceptionTooManyRequestsExceptionpublic GetDomainNamesResult getDomainNames(GetDomainNamesRequest request)
Represents a collection of DomainName resources.
getDomainNames in interface AmazonApiGatewaygetDomainNamesRequest - Request to describe a collection of DomainName resources.BadRequestExceptionUnauthorizedExceptionTooManyRequestsExceptionpublic GetExportResult getExport(GetExportRequest request)
Exports a deployed version of a RestApi in a specified format.
getExport in interface AmazonApiGatewaygetExportRequest - Request a new export of a RestApi for a particular Stage.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionConflictExceptionTooManyRequestsExceptionpublic GetGatewayResponseResult getGatewayResponse(GetGatewayResponseRequest request)
Gets a GatewayResponse of a specified response type on the given RestApi.
getGatewayResponse in interface AmazonApiGatewaygetGatewayResponseRequest - Gets a GatewayResponse of a specified response type on the given RestApi.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetGatewayResponsesResult getGatewayResponses(GetGatewayResponsesRequest request)
Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the Amazon API Gateway-generated default GatewayResponses collection for the supported response types.
getGatewayResponses in interface AmazonApiGatewaygetGatewayResponsesRequest - 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.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetIntegrationResult getIntegration(GetIntegrationRequest request)
Represents a get integration.
getIntegration in interface AmazonApiGatewaygetIntegrationRequest - Represents a get integration request.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetIntegrationResponseResult getIntegrationResponse(GetIntegrationResponseRequest request)
Represents a get integration response.
getIntegrationResponse in interface AmazonApiGatewaygetIntegrationResponseRequest - Represents a get integration response request.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetMethodResult getMethod(GetMethodRequest request)
Describe an existing Method resource.
getMethod in interface AmazonApiGatewaygetMethodRequest - Request to describe an existing Method resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetMethodResponseResult getMethodResponse(GetMethodResponseRequest request)
Describes a MethodResponse resource.
getMethodResponse in interface AmazonApiGatewaygetMethodResponseRequest - Request to describe a MethodResponse resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetModelResult getModel(GetModelRequest request)
Describes an existing model defined for a RestApi resource.
getModel in interface AmazonApiGatewaygetModelRequest - Request to list information about a model in an existing RestApi resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetModelTemplateResult getModelTemplate(GetModelTemplateRequest request)
Generates a sample mapping template that can be used to transform a payload into the structure of a model.
getModelTemplate in interface AmazonApiGatewaygetModelTemplateRequest - Request to generate a sample mapping template used to transform the payload.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionTooManyRequestsExceptionpublic GetModelsResult getModels(GetModelsRequest request)
getModels in interface AmazonApiGatewaygetModelsRequest - Request to list existing Models defined for a RestApi resource.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetRequestValidatorResult getRequestValidator(GetRequestValidatorRequest request)
Gets a RequestValidator of a given RestApi.
getRequestValidator in interface AmazonApiGatewaygetRequestValidatorRequest - Gets a RequestValidator of a given RestApi.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetRequestValidatorsResult getRequestValidators(GetRequestValidatorsRequest request)
Gets the RequestValidators collection of a given RestApi.
getRequestValidators in interface AmazonApiGatewaygetRequestValidatorsRequest - Gets the RequestValidators collection of a given RestApi.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetResourceResult getResource(GetResourceRequest request)
Lists information about a resource.
getResource in interface AmazonApiGatewaygetResourceRequest - Request to list information about a resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetResourcesResult getResources(GetResourcesRequest request)
Lists information about a collection of Resource resources.
getResources in interface AmazonApiGatewaygetResourcesRequest - Request to list information about a collection of resources.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetRestApiResult getRestApi(GetRestApiRequest request)
Lists the RestApi resource in the collection.
getRestApi in interface AmazonApiGatewaygetRestApiRequest - The GET request to list an existing RestApi defined for your collection.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetRestApisResult getRestApis(GetRestApisRequest request)
Lists the RestApis resources for your collection.
getRestApis in interface AmazonApiGatewaygetRestApisRequest - The GET request to list existing RestApis defined for your collection.BadRequestExceptionUnauthorizedExceptionTooManyRequestsExceptionpublic GetSdkResult getSdk(GetSdkRequest request)
getSdk in interface AmazonApiGatewaygetSdkRequest - Request a new generated client SDK for a RestApi and Stage.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionConflictExceptionTooManyRequestsExceptionpublic GetSdkTypeResult getSdkType(GetSdkTypeRequest request)
getSdkType in interface AmazonApiGatewaygetSdkTypeRequest - Get an SdkType instance.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetSdkTypesResult getSdkTypes(GetSdkTypesRequest request)
getSdkTypes in interface AmazonApiGatewaygetSdkTypesRequest - Get the SdkTypes collection.UnauthorizedExceptionTooManyRequestsExceptionpublic GetStageResult getStage(GetStageRequest request)
Gets information about a Stage resource.
getStage in interface AmazonApiGatewaygetStageRequest - Requests Amazon API Gateway to get information about a Stage resource.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetStagesResult getStages(GetStagesRequest request)
Gets information about one or more Stage resources.
getStages in interface AmazonApiGatewaygetStagesRequest - Requests Amazon API Gateway to get information about one or more Stage resources.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetUsageResult getUsage(GetUsageRequest request)
Gets the usage data of a usage plan in a specified time interval.
getUsage in interface AmazonApiGatewaygetUsageRequest - The GET request to get the usage data of a usage plan in a specified time interval.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetUsagePlanResult getUsagePlan(GetUsagePlanRequest request)
Gets a usage plan of a given plan identifier.
getUsagePlan in interface AmazonApiGatewaygetUsagePlanRequest - The GET request to get a usage plan of a given plan identifier.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetUsagePlanKeyResult getUsagePlanKey(GetUsagePlanKeyRequest request)
Gets a usage plan key of a given key identifier.
getUsagePlanKey in interface AmazonApiGatewaygetUsagePlanKeyRequest - The GET request to get a usage plan key of a given key identifier.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetUsagePlanKeysResult getUsagePlanKeys(GetUsagePlanKeysRequest request)
Gets all the usage plan keys representing the API keys added to a specified usage plan.
getUsagePlanKeys in interface AmazonApiGatewaygetUsagePlanKeysRequest - The GET request to get all the usage plan keys representing the API keys added to a specified usage plan.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic GetUsagePlansResult getUsagePlans(GetUsagePlansRequest request)
Gets all the usage plans of the caller's account.
getUsagePlans in interface AmazonApiGatewaygetUsagePlansRequest - The GET request to get all the usage plans of the caller's account.BadRequestExceptionUnauthorizedExceptionTooManyRequestsExceptionConflictExceptionNotFoundExceptionpublic ImportApiKeysResult importApiKeys(ImportApiKeysRequest request)
Import API keys from an external source, such as a CSV-formatted file.
importApiKeys in interface AmazonApiGatewayimportApiKeysRequest - The POST request to import API keys from an external source, such as a CSV-formatted file.UnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionLimitExceededExceptionBadRequestExceptionConflictExceptionpublic ImportDocumentationPartsResult importDocumentationParts(ImportDocumentationPartsRequest request)
importDocumentationParts in interface AmazonApiGatewayimportDocumentationPartsRequest - Import documentation parts from an external (e.g., Swagger) definition file.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionLimitExceededExceptionTooManyRequestsExceptionpublic ImportRestApiResult importRestApi(ImportRestApiRequest request)
A feature of the Amazon API Gateway control service for creating a new API from an external API definition file.
importRestApi in interface AmazonApiGatewayimportRestApiRequest - A POST request to import an API to Amazon API Gateway using an input of an API definition file.UnauthorizedExceptionLimitExceededExceptionBadRequestExceptionTooManyRequestsExceptionConflictExceptionpublic PutGatewayResponseResult putGatewayResponse(PutGatewayResponseRequest request)
Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.
putGatewayResponse in interface AmazonApiGatewayputGatewayResponseRequest - Creates a customization of a GatewayResponse of a specified response type and status code on the
given RestApi.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionLimitExceededExceptionTooManyRequestsExceptionpublic PutIntegrationResult putIntegration(PutIntegrationRequest request)
Sets up a method's integration.
putIntegration in interface AmazonApiGatewayputIntegrationRequest - Sets up a method's integration.UnauthorizedExceptionBadRequestExceptionConflictExceptionNotFoundExceptionTooManyRequestsExceptionpublic PutIntegrationResponseResult putIntegrationResponse(PutIntegrationResponseRequest request)
Represents a put integration.
putIntegrationResponse in interface AmazonApiGatewayputIntegrationResponseRequest - Represents a put integration response request.UnauthorizedExceptionNotFoundExceptionLimitExceededExceptionBadRequestExceptionTooManyRequestsExceptionConflictExceptionpublic PutMethodResult putMethod(PutMethodRequest request)
Add a method to an existing Resource resource.
putMethod in interface AmazonApiGatewayputMethodRequest - Request to add a method to an existing Resource resource.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionConflictExceptionLimitExceededExceptionTooManyRequestsExceptionpublic PutMethodResponseResult putMethodResponse(PutMethodResponseRequest request)
Adds a MethodResponse to an existing Method resource.
putMethodResponse in interface AmazonApiGatewayputMethodResponseRequest - Request to add a MethodResponse to an existing Method resource.UnauthorizedExceptionNotFoundExceptionConflictExceptionLimitExceededExceptionBadRequestExceptionTooManyRequestsExceptionpublic PutRestApiResult putRestApi(PutRestApiRequest request)
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.
putRestApi in interface AmazonApiGatewayputRestApiRequest - A PUT request to update an existing API, with external API definitions specified as the request body.UnauthorizedExceptionLimitExceededExceptionNotFoundExceptionBadRequestExceptionTooManyRequestsExceptionConflictExceptionpublic TestInvokeAuthorizerResult testInvokeAuthorizer(TestInvokeAuthorizerRequest request)
Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.
testInvokeAuthorizer in interface AmazonApiGatewaytestInvokeAuthorizerRequest - Make a request to simulate the execution of an Authorizer.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic TestInvokeMethodResult testInvokeMethod(TestInvokeMethodRequest request)
Simulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.
testInvokeMethod in interface AmazonApiGatewaytestInvokeMethodRequest - Make a request to simulate the execution of a Method.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionTooManyRequestsExceptionpublic UpdateAccountResult updateAccount(UpdateAccountRequest request)
Changes information about the current Account resource.
updateAccount in interface AmazonApiGatewayupdateAccountRequest - Requests Amazon API Gateway to change information about the current Account resource.UnauthorizedExceptionBadRequestExceptionNotFoundExceptionTooManyRequestsExceptionpublic UpdateApiKeyResult updateApiKey(UpdateApiKeyRequest request)
Changes information about an ApiKey resource.
updateApiKey in interface AmazonApiGatewayupdateApiKeyRequest - A request to change information about an ApiKey resource.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionTooManyRequestsExceptionConflictExceptionpublic UpdateAuthorizerResult updateAuthorizer(UpdateAuthorizerRequest request)
Updates an existing Authorizer resource.
updateAuthorizer in interface AmazonApiGatewayupdateAuthorizerRequest - Request to update an existing Authorizer resource.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionTooManyRequestsExceptionpublic UpdateBasePathMappingResult updateBasePathMapping(UpdateBasePathMappingRequest request)
Changes information about the BasePathMapping resource.
updateBasePathMapping in interface AmazonApiGatewayupdateBasePathMappingRequest - A request to change information about the BasePathMapping resource.UnauthorizedExceptionNotFoundExceptionConflictExceptionBadRequestExceptionTooManyRequestsExceptionpublic UpdateClientCertificateResult updateClientCertificate(UpdateClientCertificateRequest request)
Changes information about an ClientCertificate resource.
updateClientCertificate in interface AmazonApiGatewayupdateClientCertificateRequest - A request to change information about an ClientCertificate resource.UnauthorizedExceptionTooManyRequestsExceptionBadRequestExceptionNotFoundExceptionpublic UpdateDeploymentResult updateDeployment(UpdateDeploymentRequest request)
Changes information about a Deployment resource.
updateDeployment in interface AmazonApiGatewayupdateDeploymentRequest - Requests Amazon API Gateway to change information about a Deployment resource.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionTooManyRequestsExceptionServiceUnavailableExceptionpublic UpdateDocumentationPartResult updateDocumentationPart(UpdateDocumentationPartRequest request)
updateDocumentationPart in interface AmazonApiGatewayupdateDocumentationPartRequest - Updates an existing documentation part of a given API.BadRequestExceptionUnauthorizedExceptionNotFoundExceptionConflictExceptionLimitExceededExceptionTooManyRequestsExceptionpublic UpdateDocumentationVersionResult updateDocumentationVersion(UpdateDocumentationVersionRequest request)
updateDocumentationVersion in interface AmazonApiGatewayupdateDocumentationVersionRequest - Updates an existing documentation version of an API.UnauthorizedExceptionNotFoundExceptionConflictExceptionBadRequestExceptionTooManyRequestsExceptionpublic UpdateDomainNameResult updateDomainName(UpdateDomainNameRequest request)
Changes information about the DomainName resource.
updateDomainName in interface AmazonApiGatewayupdateDomainNameRequest - A request to change information about the DomainName resource.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionConflictExceptionTooManyRequestsExceptionpublic UpdateGatewayResponseResult updateGatewayResponse(UpdateGatewayResponseRequest request)
Updates a GatewayResponse of a specified response type on the given RestApi.
updateGatewayResponse in interface AmazonApiGatewayupdateGatewayResponseRequest - Updates a GatewayResponse of a specified response type on the given RestApi.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionTooManyRequestsExceptionpublic UpdateIntegrationResult updateIntegration(UpdateIntegrationRequest request)
Represents an update integration.
updateIntegration in interface AmazonApiGatewayupdateIntegrationRequest - Represents an update integration request.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionTooManyRequestsExceptionConflictExceptionpublic UpdateIntegrationResponseResult updateIntegrationResponse(UpdateIntegrationResponseRequest request)
Represents an update integration response.
updateIntegrationResponse in interface AmazonApiGatewayupdateIntegrationResponseRequest - Represents an update integration response request.UnauthorizedExceptionNotFoundExceptionConflictExceptionBadRequestExceptionTooManyRequestsExceptionpublic UpdateMethodResult updateMethod(UpdateMethodRequest request)
Updates an existing Method resource.
updateMethod in interface AmazonApiGatewayupdateMethodRequest - Request to update an existing Method resource.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionConflictExceptionTooManyRequestsExceptionpublic UpdateMethodResponseResult updateMethodResponse(UpdateMethodResponseRequest request)
Updates an existing MethodResponse resource.
updateMethodResponse in interface AmazonApiGatewayupdateMethodResponseRequest - A request to update an existing MethodResponse resource.UnauthorizedExceptionNotFoundExceptionConflictExceptionLimitExceededExceptionBadRequestExceptionTooManyRequestsExceptionpublic UpdateModelResult updateModel(UpdateModelRequest request)
Changes information about a model.
updateModel in interface AmazonApiGatewayupdateModelRequest - Request to update an existing model in an existing RestApi resource.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionConflictExceptionTooManyRequestsExceptionpublic UpdateRequestValidatorResult updateRequestValidator(UpdateRequestValidatorRequest request)
Updates a RequestValidator of a given RestApi.
updateRequestValidator in interface AmazonApiGatewayupdateRequestValidatorRequest - Updates a RequestValidator of a given RestApi.UnauthorizedExceptionNotFoundExceptionBadRequestExceptionTooManyRequestsExceptionpublic UpdateResourceResult updateResource(UpdateResourceRequest request)
Changes information about a Resource resource.
updateResource in interface AmazonApiGatewayupdateResourceRequest - Request to change information about a Resource resource.UnauthorizedExceptionNotFoundExceptionConflictExceptionBadRequestExceptionTooManyRequestsExceptionpublic UpdateRestApiResult updateRestApi(UpdateRestApiRequest request)
Changes information about the specified API.
updateRestApi in interface AmazonApiGatewayupdateRestApiRequest - Request to update an existing RestApi resource in your collection.UnauthorizedExceptionNotFoundExceptionConflictExceptionBadRequestExceptionTooManyRequestsExceptionpublic UpdateStageResult updateStage(UpdateStageRequest request)
Changes information about a Stage resource.
updateStage in interface AmazonApiGatewayupdateStageRequest - Requests Amazon API Gateway to change information about a Stage resource.UnauthorizedExceptionNotFoundExceptionConflictExceptionBadRequestExceptionTooManyRequestsExceptionpublic UpdateUsageResult updateUsage(UpdateUsageRequest request)
Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.
updateUsage in interface AmazonApiGatewayupdateUsageRequest - The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a
specified API key.UnauthorizedExceptionTooManyRequestsExceptionBadRequestExceptionNotFoundExceptionpublic UpdateUsagePlanResult updateUsagePlan(UpdateUsagePlanRequest request)
Updates a usage plan of a given plan Id.
updateUsagePlan in interface AmazonApiGatewayupdateUsagePlanRequest - The PATCH request to update a usage plan of a given plan Id.UnauthorizedExceptionTooManyRequestsExceptionBadRequestExceptionNotFoundExceptionConflictExceptionpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AmazonApiGatewayrequest - The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.