Class AbstractAmazonApiGateway
- java.lang.Object
-
- com.amazonaws.services.apigateway.AbstractAmazonApiGateway
-
- All Implemented Interfaces:
AmazonApiGateway
- Direct Known Subclasses:
AbstractAmazonApiGatewayAsync
public class AbstractAmazonApiGateway extends Object implements AmazonApiGateway
Abstract implementation ofAmazonApiGateway. Convenient method forms pass through to the corresponding overload that takes a request object, which throws anUnsupportedOperationException.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractAmazonApiGateway()
-
Method Summary
-
-
-
Method Detail
-
setEndpoint
public void setEndpoint(String endpoint)
Description copied from interface:AmazonApiGatewayOverrides the default endpoint for this client ("https://apigateway.us-east-1.amazonaws.com"). Callers can use this method to control which AWS region they want to work with.Callers can pass in just the endpoint (ex: "apigateway.us-east-1.amazonaws.com") or a full URL, including the protocol (ex: "https://apigateway.us-east-1.amazonaws.com"). If the protocol is not specified here, the default protocol from this client's
ClientConfigurationwill be used, which by default is HTTPS.For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID= 3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
- Specified by:
setEndpointin interfaceAmazonApiGateway- Parameters:
endpoint- The endpoint (ex: "apigateway.us-east-1.amazonaws.com") or a full URL, including the protocol (ex: "https://apigateway.us-east-1.amazonaws.com") of the region specific AWS endpoint this client will communicate with.
-
setRegion
public void setRegion(Region region)
Description copied from interface:AmazonApiGatewayAn alternative toAmazonApiGateway.setEndpoint(String), sets the regional endpoint for this client's service calls. Callers can use this method to control which AWS region they want to work with.By default, all service endpoints in all regions use the https protocol. To use http instead, specify it in the
ClientConfigurationsupplied at construction.This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
- Specified by:
setRegionin interfaceAmazonApiGateway- Parameters:
region- The region this client will communicate with. SeeRegion.getRegion(com.amazonaws.regions.Regions)for accessing a given region. Must not be null and must be a region where the service is available.- See Also:
Region.getRegion(com.amazonaws.regions.Regions),Region.createClient(Class, com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration),Region.isServiceSupported(String)
-
createApiKey
public CreateApiKeyResult createApiKey(CreateApiKeyRequest request)
Description copied from interface:AmazonApiGatewayCreate an ApiKey resource.
- Specified by:
createApiKeyin interfaceAmazonApiGateway- Parameters:
request- Request to create an ApiKey resource.- Returns:
- Result of the CreateApiKey operation returned by the service.
-
createAuthorizer
public CreateAuthorizerResult createAuthorizer(CreateAuthorizerRequest request)
Description copied from interface:AmazonApiGatewayAdds a new Authorizer resource to an existing RestApi resource.
- Specified by:
createAuthorizerin interfaceAmazonApiGateway- Parameters:
request- Request to add a new Authorizer to an existing RestApi resource.- Returns:
- Result of the CreateAuthorizer operation returned by the service.
-
createBasePathMapping
public CreateBasePathMappingResult createBasePathMapping(CreateBasePathMappingRequest request)
Description copied from interface:AmazonApiGatewayCreates a new BasePathMapping resource.
- Specified by:
createBasePathMappingin interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to create a new BasePathMapping resource.- Returns:
- Result of the CreateBasePathMapping operation returned by the service.
-
createDeployment
public CreateDeploymentResult createDeployment(CreateDeploymentRequest request)
Description copied from interface:AmazonApiGatewayCreates a Deployment resource, which makes a specified RestApi callable over the internet.
- Specified by:
createDeploymentin interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to create a Deployment resource.- Returns:
- Result of the CreateDeployment operation returned by the service.
-
createDomainName
public CreateDomainNameResult createDomainName(CreateDomainNameRequest request)
Description copied from interface:AmazonApiGatewayCreates a new domain name.
- Specified by:
createDomainNamein interfaceAmazonApiGateway- Parameters:
request- A request to create a new domain name.- Returns:
- Result of the CreateDomainName operation returned by the service.
-
createModel
public CreateModelResult createModel(CreateModelRequest request)
Description copied from interface:AmazonApiGateway- Specified by:
createModelin interfaceAmazonApiGateway- Parameters:
request- Request to add a new Model to an existing RestApi resource.- Returns:
- Result of the CreateModel operation returned by the service.
-
createResource
public CreateResourceResult createResource(CreateResourceRequest request)
Description copied from interface:AmazonApiGatewayCreates a Resource resource.
- Specified by:
createResourcein interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to create a Resource resource.- Returns:
- Result of the CreateResource operation returned by the service.
-
createRestApi
public CreateRestApiResult createRestApi(CreateRestApiRequest request)
Description copied from interface:AmazonApiGatewayCreates a new RestApi resource.
- Specified by:
createRestApiin interfaceAmazonApiGateway- Parameters:
request- The POST Request to add a new RestApi resource to your collection.- Returns:
- Result of the CreateRestApi operation returned by the service.
-
createStage
public CreateStageResult createStage(CreateStageRequest request)
Description copied from interface:AmazonApiGatewayCreates a new Stage resource that references a pre-existing Deployment for the API.
- Specified by:
createStagein interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to create a Stage resource.- Returns:
- Result of the CreateStage operation returned by the service.
-
deleteApiKey
public DeleteApiKeyResult deleteApiKey(DeleteApiKeyRequest request)
Description copied from interface:AmazonApiGatewayDeletes the ApiKey resource.
- Specified by:
deleteApiKeyin interfaceAmazonApiGateway- Parameters:
request- A request to delete the ApiKey resource.- Returns:
- Result of the DeleteApiKey operation returned by the service.
-
deleteAuthorizer
public DeleteAuthorizerResult deleteAuthorizer(DeleteAuthorizerRequest request)
Description copied from interface:AmazonApiGatewayDeletes an existing Authorizer resource.
- Specified by:
deleteAuthorizerin interfaceAmazonApiGateway- Parameters:
request- Request to delete an existing Authorizer resource.- Returns:
- Result of the DeleteAuthorizer operation returned by the service.
-
deleteBasePathMapping
public DeleteBasePathMappingResult deleteBasePathMapping(DeleteBasePathMappingRequest request)
Description copied from interface:AmazonApiGatewayDeletes the BasePathMapping resource.
- Specified by:
deleteBasePathMappingin interfaceAmazonApiGateway- Parameters:
request- A request to delete the BasePathMapping resource.- Returns:
- Result of the DeleteBasePathMapping operation returned by the service.
-
deleteClientCertificate
public DeleteClientCertificateResult deleteClientCertificate(DeleteClientCertificateRequest request)
Description copied from interface:AmazonApiGatewayDeletes the ClientCertificate resource.
- Specified by:
deleteClientCertificatein interfaceAmazonApiGateway- Parameters:
request- A request to delete the ClientCertificate resource.- Returns:
- Result of the DeleteClientCertificate operation returned by the service.
-
deleteDeployment
public DeleteDeploymentResult deleteDeployment(DeleteDeploymentRequest request)
Description copied from interface:AmazonApiGatewayDeletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
- Specified by:
deleteDeploymentin interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to delete a Deployment resource.- Returns:
- Result of the DeleteDeployment operation returned by the service.
-
deleteDomainName
public DeleteDomainNameResult deleteDomainName(DeleteDomainNameRequest request)
Description copied from interface:AmazonApiGatewayDeletes the DomainName resource.
- Specified by:
deleteDomainNamein interfaceAmazonApiGateway- Parameters:
request- A request to delete the DomainName resource.- Returns:
- Result of the DeleteDomainName operation returned by the service.
-
deleteIntegration
public DeleteIntegrationResult deleteIntegration(DeleteIntegrationRequest request)
Description copied from interface:AmazonApiGatewayRepresents a delete integration.
- Specified by:
deleteIntegrationin interfaceAmazonApiGateway- Parameters:
request- Represents a delete integration request.- Returns:
- Result of the DeleteIntegration operation returned by the service.
-
deleteIntegrationResponse
public DeleteIntegrationResponseResult deleteIntegrationResponse(DeleteIntegrationResponseRequest request)
Description copied from interface:AmazonApiGatewayRepresents a delete integration response.
- Specified by:
deleteIntegrationResponsein interfaceAmazonApiGateway- Parameters:
request- Represents a delete integration response request.- Returns:
- Result of the DeleteIntegrationResponse operation returned by the service.
-
deleteMethod
public DeleteMethodResult deleteMethod(DeleteMethodRequest request)
Description copied from interface:AmazonApiGatewayDeletes an existing Method resource.
- Specified by:
deleteMethodin interfaceAmazonApiGateway- Parameters:
request- Request to delete an existing Method resource.- Returns:
- Result of the DeleteMethod operation returned by the service.
-
deleteMethodResponse
public DeleteMethodResponseResult deleteMethodResponse(DeleteMethodResponseRequest request)
Description copied from interface:AmazonApiGatewayDeletes an existing MethodResponse resource.
- Specified by:
deleteMethodResponsein interfaceAmazonApiGateway- Parameters:
request- A request to delete an existing MethodResponse resource.- Returns:
- Result of the DeleteMethodResponse operation returned by the service.
-
deleteModel
public DeleteModelResult deleteModel(DeleteModelRequest request)
Description copied from interface:AmazonApiGatewayDeletes a model.
- Specified by:
deleteModelin interfaceAmazonApiGateway- Parameters:
request- Request to delete an existing model in an existing RestApi resource.- Returns:
- Result of the DeleteModel operation returned by the service.
-
deleteResource
public DeleteResourceResult deleteResource(DeleteResourceRequest request)
Description copied from interface:AmazonApiGatewayDeletes a Resource resource.
- Specified by:
deleteResourcein interfaceAmazonApiGateway- Parameters:
request- Request to delete a Resource.- Returns:
- Result of the DeleteResource operation returned by the service.
-
deleteRestApi
public DeleteRestApiResult deleteRestApi(DeleteRestApiRequest request)
Description copied from interface:AmazonApiGatewayDeletes the specified API.
- Specified by:
deleteRestApiin interfaceAmazonApiGateway- Parameters:
request- Request to delete the specified API from your collection.- Returns:
- Result of the DeleteRestApi operation returned by the service.
-
deleteStage
public DeleteStageResult deleteStage(DeleteStageRequest request)
Description copied from interface:AmazonApiGatewayDeletes a Stage resource.
- Specified by:
deleteStagein interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to delete a Stage resource.- Returns:
- Result of the DeleteStage operation returned by the service.
-
flushStageAuthorizersCache
public FlushStageAuthorizersCacheResult flushStageAuthorizersCache(FlushStageAuthorizersCacheRequest request)
Description copied from interface:AmazonApiGatewayFlushes all authorizer cache entries on a stage.
- Specified by:
flushStageAuthorizersCachein interfaceAmazonApiGateway- Parameters:
request- Request to flush authorizer cache entries on a specified stage.- Returns:
- Result of the FlushStageAuthorizersCache operation returned by the service.
-
flushStageCache
public FlushStageCacheResult flushStageCache(FlushStageCacheRequest request)
Description copied from interface:AmazonApiGatewayFlushes a stage's cache.
- Specified by:
flushStageCachein interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to flush a stage's cache.- Returns:
- Result of the FlushStageCache operation returned by the service.
-
generateClientCertificate
public GenerateClientCertificateResult generateClientCertificate(GenerateClientCertificateRequest request)
Description copied from interface:AmazonApiGatewayGenerates a ClientCertificate resource.
- Specified by:
generateClientCertificatein interfaceAmazonApiGateway- Parameters:
request- A request to generate a ClientCertificate resource.- Returns:
- Result of the GenerateClientCertificate operation returned by the service.
-
getAccount
public GetAccountResult getAccount(GetAccountRequest request)
Description copied from interface:AmazonApiGatewayGets information about the current Account resource.
- Specified by:
getAccountin interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to get information about the current Account resource.- Returns:
- Result of the GetAccount operation returned by the service.
-
getApiKey
public GetApiKeyResult getApiKey(GetApiKeyRequest request)
Description copied from interface:AmazonApiGatewayGets information about the current ApiKey resource.
- Specified by:
getApiKeyin interfaceAmazonApiGateway- Parameters:
request- A request to get information about the current ApiKey resource.- Returns:
- Result of the GetApiKey operation returned by the service.
-
getApiKeys
public GetApiKeysResult getApiKeys(GetApiKeysRequest request)
Description copied from interface:AmazonApiGatewayGets information about the current ApiKeys resource.
- Specified by:
getApiKeysin interfaceAmazonApiGateway- Parameters:
request- A request to get information about the current ApiKeys resource.- Returns:
- Result of the GetApiKeys operation returned by the service.
-
getAuthorizer
public GetAuthorizerResult getAuthorizer(GetAuthorizerRequest request)
Description copied from interface:AmazonApiGatewayDescribe an existing Authorizer resource.
- Specified by:
getAuthorizerin interfaceAmazonApiGateway- Parameters:
request- Request to describe an existing Authorizer resource.- Returns:
- Result of the GetAuthorizer operation returned by the service.
-
getAuthorizers
public GetAuthorizersResult getAuthorizers(GetAuthorizersRequest request)
Description copied from interface:AmazonApiGatewayDescribe an existing Authorizers resource.
- Specified by:
getAuthorizersin interfaceAmazonApiGateway- Parameters:
request- Request to describe an existing Authorizers resource.- Returns:
- Result of the GetAuthorizers operation returned by the service.
-
getBasePathMapping
public GetBasePathMappingResult getBasePathMapping(GetBasePathMappingRequest request)
Description copied from interface:AmazonApiGatewayDescribe a BasePathMapping resource.
- Specified by:
getBasePathMappingin interfaceAmazonApiGateway- Parameters:
request- Request to describe a BasePathMapping resource.- Returns:
- Result of the GetBasePathMapping operation returned by the service.
-
getBasePathMappings
public GetBasePathMappingsResult getBasePathMappings(GetBasePathMappingsRequest request)
Description copied from interface:AmazonApiGatewayRepresents a collection of BasePathMapping resources.
- Specified by:
getBasePathMappingsin interfaceAmazonApiGateway- Parameters:
request- A request to get information about a collection of BasePathMapping resources.- Returns:
- Result of the GetBasePathMappings operation returned by the service.
-
getClientCertificate
public GetClientCertificateResult getClientCertificate(GetClientCertificateRequest request)
Description copied from interface:AmazonApiGatewayGets information about the current ClientCertificate resource.
- Specified by:
getClientCertificatein interfaceAmazonApiGateway- Parameters:
request- A request to get information about the current ClientCertificate resource.- Returns:
- Result of the GetClientCertificate operation returned by the service.
-
getClientCertificates
public GetClientCertificatesResult getClientCertificates(GetClientCertificatesRequest request)
Description copied from interface:AmazonApiGatewayGets a collection of ClientCertificate resources.
- Specified by:
getClientCertificatesin interfaceAmazonApiGateway- Parameters:
request- A request to get information about a collection of ClientCertificate resources.- Returns:
- Result of the GetClientCertificates operation returned by the service.
-
getDeployment
public GetDeploymentResult getDeployment(GetDeploymentRequest request)
Description copied from interface:AmazonApiGatewayGets information about a Deployment resource.
- Specified by:
getDeploymentin interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to get information about a Deployment resource.- Returns:
- Result of the GetDeployment operation returned by the service.
-
getDeployments
public GetDeploymentsResult getDeployments(GetDeploymentsRequest request)
Description copied from interface:AmazonApiGatewayGets information about a Deployments collection.
- Specified by:
getDeploymentsin interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to get information about a Deployments collection.- Returns:
- Result of the GetDeployments operation returned by the service.
-
getDomainName
public GetDomainNameResult getDomainName(GetDomainNameRequest request)
Description copied from interface:AmazonApiGatewayRepresents a domain name that is contained in a simpler, more intuitive URL that can be called.
- Specified by:
getDomainNamein interfaceAmazonApiGateway- Parameters:
request- Request to get the name of a DomainName resource.- Returns:
- Result of the GetDomainName operation returned by the service.
-
getDomainNames
public GetDomainNamesResult getDomainNames(GetDomainNamesRequest request)
Description copied from interface:AmazonApiGatewayRepresents a collection of DomainName resources.
- Specified by:
getDomainNamesin interfaceAmazonApiGateway- Parameters:
request- Request to describe a collection of DomainName resources.- Returns:
- Result of the GetDomainNames operation returned by the service.
-
getExport
public GetExportResult getExport(GetExportRequest request)
Description copied from interface:AmazonApiGatewayExports a deployed version of a RestApi in a specified format.
- Specified by:
getExportin interfaceAmazonApiGateway- Parameters:
request- Request a new export of a RestApi for a particular Stage.- Returns:
- Result of the GetExport operation returned by the service.
-
getIntegration
public GetIntegrationResult getIntegration(GetIntegrationRequest request)
Description copied from interface:AmazonApiGatewayRepresents a get integration.
- Specified by:
getIntegrationin interfaceAmazonApiGateway- Parameters:
request- Represents a get integration request.- Returns:
- Result of the GetIntegration operation returned by the service.
-
getIntegrationResponse
public GetIntegrationResponseResult getIntegrationResponse(GetIntegrationResponseRequest request)
Description copied from interface:AmazonApiGatewayRepresents a get integration response.
- Specified by:
getIntegrationResponsein interfaceAmazonApiGateway- Parameters:
request- Represents a get integration response request.- Returns:
- Result of the GetIntegrationResponse operation returned by the service.
-
getMethod
public GetMethodResult getMethod(GetMethodRequest request)
Description copied from interface:AmazonApiGatewayDescribe an existing Method resource.
- Specified by:
getMethodin interfaceAmazonApiGateway- Parameters:
request- Request to describe an existing Method resource.- Returns:
- Result of the GetMethod operation returned by the service.
-
getMethodResponse
public GetMethodResponseResult getMethodResponse(GetMethodResponseRequest request)
Description copied from interface:AmazonApiGatewayDescribes a MethodResponse resource.
- Specified by:
getMethodResponsein interfaceAmazonApiGateway- Parameters:
request- Request to describe a MethodResponse resource.- Returns:
- Result of the GetMethodResponse operation returned by the service.
-
getModel
public GetModelResult getModel(GetModelRequest request)
Description copied from interface:AmazonApiGatewayDescribes an existing model defined for a RestApi resource.
- Specified by:
getModelin interfaceAmazonApiGateway- Parameters:
request- Request to list information about a model in an existing RestApi resource.- Returns:
- Result of the GetModel operation returned by the service.
-
getModelTemplate
public GetModelTemplateResult getModelTemplate(GetModelTemplateRequest request)
Description copied from interface:AmazonApiGatewayGenerates a sample mapping template that can be used to transform a payload into the structure of a model.
- Specified by:
getModelTemplatein interfaceAmazonApiGateway- Parameters:
request- Request to generate a sample mapping template used to transform the payload.- Returns:
- Result of the GetModelTemplate operation returned by the service.
-
getModels
public GetModelsResult getModels(GetModelsRequest request)
Description copied from interface:AmazonApiGateway- Specified by:
getModelsin interfaceAmazonApiGateway- Parameters:
request- Request to list existing Models defined for a RestApi resource.- Returns:
- Result of the GetModels operation returned by the service.
-
getResource
public GetResourceResult getResource(GetResourceRequest request)
Description copied from interface:AmazonApiGatewayLists information about a resource.
- Specified by:
getResourcein interfaceAmazonApiGateway- Parameters:
request- Request to list information about a resource.- Returns:
- Result of the GetResource operation returned by the service.
-
getResources
public GetResourcesResult getResources(GetResourcesRequest request)
Description copied from interface:AmazonApiGatewayLists information about a collection of Resource resources.
- Specified by:
getResourcesin interfaceAmazonApiGateway- Parameters:
request- Request to list information about a collection of resources.- Returns:
- Result of the GetResources operation returned by the service.
-
getRestApi
public GetRestApiResult getRestApi(GetRestApiRequest request)
Description copied from interface:AmazonApiGatewayLists the RestApi resource in the collection.
- Specified by:
getRestApiin interfaceAmazonApiGateway- Parameters:
request- The GET request to list an existing RestApi defined for your collection.- Returns:
- Result of the GetRestApi operation returned by the service.
-
getRestApis
public GetRestApisResult getRestApis(GetRestApisRequest request)
Description copied from interface:AmazonApiGatewayLists the RestApis resources for your collection.
- Specified by:
getRestApisin interfaceAmazonApiGateway- Parameters:
request- The GET request to list existing RestApis defined for your collection.- Returns:
- Result of the GetRestApis operation returned by the service.
-
getSdk
public GetSdkResult getSdk(GetSdkRequest request)
Description copied from interface:AmazonApiGateway- Specified by:
getSdkin interfaceAmazonApiGateway- Parameters:
request- Request a new generated client SDK for a RestApi and Stage.- Returns:
- Result of the GetSdk operation returned by the service.
-
getStage
public GetStageResult getStage(GetStageRequest request)
Description copied from interface:AmazonApiGatewayGets information about a Stage resource.
- Specified by:
getStagein interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to get information about a Stage resource.- Returns:
- Result of the GetStage operation returned by the service.
-
getStages
public GetStagesResult getStages(GetStagesRequest request)
Description copied from interface:AmazonApiGatewayGets information about one or more Stage resources.
- Specified by:
getStagesin interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to get information about one or more Stage resources.- Returns:
- Result of the GetStages operation returned by the service.
-
importRestApi
public ImportRestApiResult importRestApi(ImportRestApiRequest request)
Description copied from interface:AmazonApiGatewayA feature of the Amazon API Gateway control service for creating a new API from an external API definition file.
- Specified by:
importRestApiin interfaceAmazonApiGateway- Parameters:
request- A POST request to import an API to Amazon API Gateway using an input of an API definition file.- Returns:
- Result of the ImportRestApi operation returned by the service.
-
putIntegration
public PutIntegrationResult putIntegration(PutIntegrationRequest request)
Description copied from interface:AmazonApiGatewayRepresents a put integration.
- Specified by:
putIntegrationin interfaceAmazonApiGateway- Parameters:
request- Represents a put integration request.- Returns:
- Result of the PutIntegration operation returned by the service.
-
putIntegrationResponse
public PutIntegrationResponseResult putIntegrationResponse(PutIntegrationResponseRequest request)
Description copied from interface:AmazonApiGatewayRepresents a put integration.
- Specified by:
putIntegrationResponsein interfaceAmazonApiGateway- Parameters:
request- Represents a put integration response request.- Returns:
- Result of the PutIntegrationResponse operation returned by the service.
-
putMethod
public PutMethodResult putMethod(PutMethodRequest request)
Description copied from interface:AmazonApiGatewayAdd a method to an existing Resource resource.
- Specified by:
putMethodin interfaceAmazonApiGateway- Parameters:
request- Request to add a method to an existing Resource resource.- Returns:
- Result of the PutMethod operation returned by the service.
-
putMethodResponse
public PutMethodResponseResult putMethodResponse(PutMethodResponseRequest request)
Description copied from interface:AmazonApiGatewayAdds a MethodResponse to an existing Method resource.
- Specified by:
putMethodResponsein interfaceAmazonApiGateway- Parameters:
request- Request to add a MethodResponse to an existing Method resource.- Returns:
- Result of the PutMethodResponse operation returned by the service.
-
putRestApi
public PutRestApiResult putRestApi(PutRestApiRequest request)
Description copied from interface:AmazonApiGatewayA 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.
- Specified by:
putRestApiin interfaceAmazonApiGateway- Parameters:
request- A PUT request to update an existing API, with external API definitions specified as the request body.- Returns:
- Result of the PutRestApi operation returned by the service.
-
testInvokeAuthorizer
public TestInvokeAuthorizerResult testInvokeAuthorizer(TestInvokeAuthorizerRequest request)
Description copied from interface:AmazonApiGatewaySimulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.
- Specified by:
testInvokeAuthorizerin interfaceAmazonApiGateway- Parameters:
request- Make a request to simulate the execution of an Authorizer.- Returns:
- Result of the TestInvokeAuthorizer operation returned by the service.
-
testInvokeMethod
public TestInvokeMethodResult testInvokeMethod(TestInvokeMethodRequest request)
Description copied from interface:AmazonApiGatewaySimulate the execution of a Method in your RestApi with headers, parameters, and an incoming request body.
- Specified by:
testInvokeMethodin interfaceAmazonApiGateway- Parameters:
request- Make a request to simulate the execution of a Method.- Returns:
- Result of the TestInvokeMethod operation returned by the service.
-
updateAccount
public UpdateAccountResult updateAccount(UpdateAccountRequest request)
Description copied from interface:AmazonApiGatewayChanges information about the current Account resource.
- Specified by:
updateAccountin interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to change information about the current Account resource.- Returns:
- Result of the UpdateAccount operation returned by the service.
-
updateApiKey
public UpdateApiKeyResult updateApiKey(UpdateApiKeyRequest request)
Description copied from interface:AmazonApiGatewayChanges information about an ApiKey resource.
- Specified by:
updateApiKeyin interfaceAmazonApiGateway- Parameters:
request- A request to change information about an ApiKey resource.- Returns:
- Result of the UpdateApiKey operation returned by the service.
-
updateAuthorizer
public UpdateAuthorizerResult updateAuthorizer(UpdateAuthorizerRequest request)
Description copied from interface:AmazonApiGatewayUpdates an existing Authorizer resource.
- Specified by:
updateAuthorizerin interfaceAmazonApiGateway- Parameters:
request- Request to update an existing Authorizer resource.- Returns:
- Result of the UpdateAuthorizer operation returned by the service.
-
updateBasePathMapping
public UpdateBasePathMappingResult updateBasePathMapping(UpdateBasePathMappingRequest request)
Description copied from interface:AmazonApiGatewayChanges information about the BasePathMapping resource.
- Specified by:
updateBasePathMappingin interfaceAmazonApiGateway- Parameters:
request- A request to change information about the BasePathMapping resource.- Returns:
- Result of the UpdateBasePathMapping operation returned by the service.
-
updateClientCertificate
public UpdateClientCertificateResult updateClientCertificate(UpdateClientCertificateRequest request)
Description copied from interface:AmazonApiGatewayChanges information about an ClientCertificate resource.
- Specified by:
updateClientCertificatein interfaceAmazonApiGateway- Parameters:
request- A request to change information about an ClientCertificate resource.- Returns:
- Result of the UpdateClientCertificate operation returned by the service.
-
updateDeployment
public UpdateDeploymentResult updateDeployment(UpdateDeploymentRequest request)
Description copied from interface:AmazonApiGatewayChanges information about a Deployment resource.
- Specified by:
updateDeploymentin interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to change information about a Deployment resource.- Returns:
- Result of the UpdateDeployment operation returned by the service.
-
updateDomainName
public UpdateDomainNameResult updateDomainName(UpdateDomainNameRequest request)
Description copied from interface:AmazonApiGatewayChanges information about the DomainName resource.
- Specified by:
updateDomainNamein interfaceAmazonApiGateway- Parameters:
request- A request to change information about the DomainName resource.- Returns:
- Result of the UpdateDomainName operation returned by the service.
-
updateIntegration
public UpdateIntegrationResult updateIntegration(UpdateIntegrationRequest request)
Description copied from interface:AmazonApiGatewayRepresents an update integration.
- Specified by:
updateIntegrationin interfaceAmazonApiGateway- Parameters:
request- Represents an update integration request.- Returns:
- Result of the UpdateIntegration operation returned by the service.
-
updateIntegrationResponse
public UpdateIntegrationResponseResult updateIntegrationResponse(UpdateIntegrationResponseRequest request)
Description copied from interface:AmazonApiGatewayRepresents an update integration response.
- Specified by:
updateIntegrationResponsein interfaceAmazonApiGateway- Parameters:
request- Represents an update integration response request.- Returns:
- Result of the UpdateIntegrationResponse operation returned by the service.
-
updateMethod
public UpdateMethodResult updateMethod(UpdateMethodRequest request)
Description copied from interface:AmazonApiGatewayUpdates an existing Method resource.
- Specified by:
updateMethodin interfaceAmazonApiGateway- Parameters:
request- Request to update an existing Method resource.- Returns:
- Result of the UpdateMethod operation returned by the service.
-
updateMethodResponse
public UpdateMethodResponseResult updateMethodResponse(UpdateMethodResponseRequest request)
Description copied from interface:AmazonApiGatewayUpdates an existing MethodResponse resource.
- Specified by:
updateMethodResponsein interfaceAmazonApiGateway- Parameters:
request- A request to update an existing MethodResponse resource.- Returns:
- Result of the UpdateMethodResponse operation returned by the service.
-
updateModel
public UpdateModelResult updateModel(UpdateModelRequest request)
Description copied from interface:AmazonApiGatewayChanges information about a model.
- Specified by:
updateModelin interfaceAmazonApiGateway- Parameters:
request- Request to update an existing model in an existing RestApi resource.- Returns:
- Result of the UpdateModel operation returned by the service.
-
updateResource
public UpdateResourceResult updateResource(UpdateResourceRequest request)
Description copied from interface:AmazonApiGatewayChanges information about a Resource resource.
- Specified by:
updateResourcein interfaceAmazonApiGateway- Parameters:
request- Request to change information about a Resource resource.- Returns:
- Result of the UpdateResource operation returned by the service.
-
updateRestApi
public UpdateRestApiResult updateRestApi(UpdateRestApiRequest request)
Description copied from interface:AmazonApiGatewayChanges information about the specified API.
- Specified by:
updateRestApiin interfaceAmazonApiGateway- Parameters:
request- Request to update an existing RestApi resource in your collection.- Returns:
- Result of the UpdateRestApi operation returned by the service.
-
updateStage
public UpdateStageResult updateStage(UpdateStageRequest request)
Description copied from interface:AmazonApiGatewayChanges information about a Stage resource.
- Specified by:
updateStagein interfaceAmazonApiGateway- Parameters:
request- Requests Amazon API Gateway to change information about a Stage resource.- Returns:
- Result of the UpdateStage operation returned by the service.
-
shutdown
public void shutdown()
Description copied from interface:AmazonApiGatewayShuts down this client object, releasing any resources that might be held open. This is an optional method, and callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client has been shutdown, it should not be used to make any more requests.- Specified by:
shutdownin interfaceAmazonApiGateway
-
getCachedResponseMetadata
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Description copied from interface:AmazonApiGatewayReturns additional metadata for a previously executed successful request, typically used for debugging issues where a service isn't acting as expected. This data isn't considered part of the result data returned by an operation, so it's available through this separate, diagnostic interface.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 a request.
- Specified by:
getCachedResponseMetadatain interfaceAmazonApiGateway- Parameters:
request- The originally executed request.- Returns:
- The response metadata for the specified request, or null if none is available.
-
-