ApiGatewayClient

Amazon API Gateway

Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.

Properties

Link copied to clipboard
abstract override val config: ApiGatewayClient.Config

ApiGatewayClient's configuration

Functions

Link copied to clipboard
abstract suspend fun createApiKey(input: CreateApiKeyRequest = CreateApiKeyRequest { }): CreateApiKeyResponse

Create an ApiKey resource.

Link copied to clipboard

Adds a new Authorizer resource to an existing RestApi resource.

Link copied to clipboard

Creates a new BasePathMapping resource.

Link copied to clipboard

Creates a Deployment resource, which makes a specified RestApi callable over the internet.

Link copied to clipboard

Creates a documentation part.

Link copied to clipboard

Creates a documentation version

Link copied to clipboard

Creates a new domain name.

Link copied to clipboard

Creates a domain name access association resource between an access association source and a private custom domain name.

Link copied to clipboard
abstract suspend fun createModel(input: CreateModelRequest): CreateModelResponse

Adds a new Model resource to an existing RestApi resource.

Link copied to clipboard

Creates a RequestValidator of a given RestApi.

Link copied to clipboard

Creates a Resource resource.

Link copied to clipboard

Creates a new RestApi resource.

Link copied to clipboard
abstract suspend fun createStage(input: CreateStageRequest): CreateStageResponse

Creates a new Stage resource that references a pre-existing Deployment for the API.

Link copied to clipboard

Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload.

Link copied to clipboard

Creates a usage plan key for adding an existing API key to a usage plan.

Link copied to clipboard

Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.

Link copied to clipboard

Deletes the ApiKey resource.

Link copied to clipboard

Deletes an existing Authorizer resource.

Link copied to clipboard

Deletes the BasePathMapping resource.

Link copied to clipboard

Deletes the ClientCertificate resource.

Link copied to clipboard

Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.

Link copied to clipboard

Deletes a documentation part

Link copied to clipboard

Deletes a documentation version.

Link copied to clipboard

Deletes the DomainName resource.

Link copied to clipboard

Deletes the DomainNameAccessAssociation resource.

Link copied to clipboard

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

Link copied to clipboard

Represents a delete integration.

Link copied to clipboard

Represents a delete integration response.

Link copied to clipboard

Deletes an existing Method resource.

Link copied to clipboard

Deletes an existing MethodResponse resource.

Link copied to clipboard
abstract suspend fun deleteModel(input: DeleteModelRequest): DeleteModelResponse

Deletes a model.

Link copied to clipboard

Deletes a RequestValidator of a given RestApi.

Link copied to clipboard

Deletes a Resource resource.

Link copied to clipboard

Deletes the specified API.

Link copied to clipboard
abstract suspend fun deleteStage(input: DeleteStageRequest): DeleteStageResponse

Deletes a Stage resource.

Link copied to clipboard

Deletes a usage plan of a given plan Id.

Link copied to clipboard

Deletes a usage plan key and remove the underlying API key from the associated usage plan.

Link copied to clipboard

Deletes an existing VpcLink of a specified identifier.

Link copied to clipboard

Flushes all authorizer cache entries on a stage.

Link copied to clipboard

Flushes a stage's cache.

Link copied to clipboard
abstract suspend fun generateClientCertificate(input: GenerateClientCertificateRequest = GenerateClientCertificateRequest { }): GenerateClientCertificateResponse

Generates a ClientCertificate resource.

Link copied to clipboard
abstract suspend fun getAccount(input: GetAccountRequest = GetAccountRequest { }): GetAccountResponse

Gets information about the current Account resource.

Link copied to clipboard
abstract suspend fun getApiKey(input: GetApiKeyRequest): GetApiKeyResponse

Gets information about the current ApiKey resource.

Link copied to clipboard
abstract suspend fun getApiKeys(input: GetApiKeysRequest = GetApiKeysRequest { }): GetApiKeysResponse

Gets information about the current ApiKeys resource.

Link copied to clipboard

Describe an existing Authorizer resource.

Link copied to clipboard

Describe an existing Authorizers resource.

Link copied to clipboard

Describe a BasePathMapping resource.

Link copied to clipboard

Represents a collection of BasePathMapping resources.

Link copied to clipboard

Gets information about the current ClientCertificate resource.

Link copied to clipboard
abstract suspend fun getClientCertificates(input: GetClientCertificatesRequest = GetClientCertificatesRequest { }): GetClientCertificatesResponse

Gets a collection of ClientCertificate resources.

Link copied to clipboard

Gets information about a Deployment resource.

Link copied to clipboard

Gets information about a Deployments collection.

Link copied to clipboard

Gets a documentation part.

Link copied to clipboard

Gets documentation parts.

Link copied to clipboard

Gets a documentation version.

Link copied to clipboard

Gets documentation versions.

Link copied to clipboard

Represents a domain name that is contained in a simpler, more intuitive URL that can be called.

Link copied to clipboard
abstract suspend fun getDomainNameAccessAssociations(input: GetDomainNameAccessAssociationsRequest = GetDomainNameAccessAssociationsRequest { }): GetDomainNameAccessAssociationsResponse

Represents a collection on DomainNameAccessAssociations resources.

Link copied to clipboard
abstract suspend fun getDomainNames(input: GetDomainNamesRequest = GetDomainNamesRequest { }): GetDomainNamesResponse

Represents a collection of DomainName resources.

Link copied to clipboard
abstract suspend fun getExport(input: GetExportRequest): GetExportResponse

Exports a deployed version of a RestApi in a specified format.

Link copied to clipboard

Gets a GatewayResponse of a specified response type on the given RestApi.

Link copied to clipboard

Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.

Link copied to clipboard

Get the integration settings.

Link copied to clipboard

Represents a get integration response.

Link copied to clipboard
abstract suspend fun getMethod(input: GetMethodRequest): GetMethodResponse

Describe an existing Method resource.

Link copied to clipboard

Describes a MethodResponse resource.

Link copied to clipboard
abstract suspend fun getModel(input: GetModelRequest): GetModelResponse

Describes an existing model defined for a RestApi resource.

Link copied to clipboard
abstract suspend fun getModels(input: GetModelsRequest): GetModelsResponse

Describes existing Models defined for a RestApi resource.

Link copied to clipboard

Generates a sample mapping template that can be used to transform a payload into the structure of a model.

Link copied to clipboard

Gets a RequestValidator of a given RestApi.

Link copied to clipboard

Gets the RequestValidators collection of a given RestApi.

Link copied to clipboard
abstract suspend fun getResource(input: GetResourceRequest): GetResourceResponse

Lists information about a resource.

Link copied to clipboard

Lists information about a collection of Resource resources.

Link copied to clipboard
abstract suspend fun getRestApi(input: GetRestApiRequest): GetRestApiResponse

Lists the RestApi resource in the collection.

Link copied to clipboard
abstract suspend fun getRestApis(input: GetRestApisRequest = GetRestApisRequest { }): GetRestApisResponse

Lists the RestApis resources for your collection.

Link copied to clipboard
abstract suspend fun getSdk(input: GetSdkRequest): GetSdkResponse

Generates a client SDK for a RestApi and Stage.

Link copied to clipboard
abstract suspend fun getSdkType(input: GetSdkTypeRequest): GetSdkTypeResponse

Gets an SDK type.

Link copied to clipboard
abstract suspend fun getSdkTypes(input: GetSdkTypesRequest = GetSdkTypesRequest { }): GetSdkTypesResponse

Gets SDK types

Link copied to clipboard
abstract suspend fun getStage(input: GetStageRequest): GetStageResponse

Gets information about a Stage resource.

Link copied to clipboard
abstract suspend fun getStages(input: GetStagesRequest): GetStagesResponse

Gets information about one or more Stage resources.

Link copied to clipboard
abstract suspend fun getTags(input: GetTagsRequest): GetTagsResponse

Gets the Tags collection for a given resource.

Link copied to clipboard
abstract suspend fun getUsage(input: GetUsageRequest): GetUsageResponse

Gets the usage data of a usage plan in a specified time interval.

Link copied to clipboard

Gets a usage plan of a given plan identifier.

Link copied to clipboard

Gets a usage plan key of a given key identifier.

Link copied to clipboard

Gets all the usage plan keys representing the API keys added to a specified usage plan.

Link copied to clipboard
abstract suspend fun getUsagePlans(input: GetUsagePlansRequest = GetUsagePlansRequest { }): GetUsagePlansResponse

Gets all the usage plans of the caller's account.

Link copied to clipboard
abstract suspend fun getVpcLink(input: GetVpcLinkRequest): GetVpcLinkResponse

Gets a specified VPC link under the caller's account in a region.

Link copied to clipboard
abstract suspend fun getVpcLinks(input: GetVpcLinksRequest = GetVpcLinksRequest { }): GetVpcLinksResponse

Gets the VpcLinks collection under the caller's account in a selected region.

Link copied to clipboard

Import API keys from an external source, such as a CSV-formatted file.

Link copied to clipboard

Imports documentation parts

Link copied to clipboard

A feature of the API Gateway control service for creating a new API from an external API definition file.

Link copied to clipboard

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

Link copied to clipboard

Sets up a method's integration.

Link copied to clipboard

Represents a put integration.

Link copied to clipboard
abstract suspend fun putMethod(input: PutMethodRequest): PutMethodResponse

Add a method to an existing Resource resource.

Link copied to clipboard

Adds a MethodResponse to an existing Method resource.

Link copied to clipboard
abstract suspend fun putRestApi(input: PutRestApiRequest): PutRestApiResponse

A feature of the 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.

Link copied to clipboard

Rejects a domain name access association with a private custom domain name.

Link copied to clipboard
abstract suspend fun tagResource(input: TagResourceRequest): TagResourceResponse

Adds or updates a tag on a given resource.

Link copied to clipboard

Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.

Link copied to clipboard

Simulate the invocation of a Method in your RestApi with headers, parameters, and an incoming request body.

Link copied to clipboard

Removes a tag from a given resource.

Link copied to clipboard
abstract suspend fun updateAccount(input: UpdateAccountRequest = UpdateAccountRequest { }): UpdateAccountResponse

Changes information about the current Account resource.

Link copied to clipboard

Changes information about an ApiKey resource.

Link copied to clipboard

Updates an existing Authorizer resource.

Link copied to clipboard

Changes information about the BasePathMapping resource.

Link copied to clipboard

Changes information about an ClientCertificate resource.

Link copied to clipboard

Changes information about a Deployment resource.

Link copied to clipboard

Updates a documentation part.

Link copied to clipboard

Updates a documentation version.

Link copied to clipboard

Changes information about the DomainName resource.

Link copied to clipboard

Updates a GatewayResponse of a specified response type on the given RestApi.

Link copied to clipboard

Represents an update integration.

Link copied to clipboard

Represents an update integration response.

Link copied to clipboard

Updates an existing Method resource.

Link copied to clipboard

Updates an existing MethodResponse resource.

Link copied to clipboard
abstract suspend fun updateModel(input: UpdateModelRequest): UpdateModelResponse

Changes information about a model. The maximum size of the model is 400 KB.

Link copied to clipboard

Updates a RequestValidator of a given RestApi.

Link copied to clipboard

Changes information about a Resource resource.

Link copied to clipboard

Changes information about the specified API.

Link copied to clipboard
abstract suspend fun updateStage(input: UpdateStageRequest): UpdateStageResponse

Changes information about a Stage resource.

Link copied to clipboard
abstract suspend fun updateUsage(input: UpdateUsageRequest): UpdateUsageResponse

Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.

Link copied to clipboard

Updates a usage plan of a given plan Id.

Link copied to clipboard

Updates an existing VpcLink of a specified identifier.

Inherited functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

Create an ApiKey resource.

Link copied to clipboard

Adds a new Authorizer resource to an existing RestApi resource.

Link copied to clipboard

Creates a new BasePathMapping resource.

Link copied to clipboard

Creates a Deployment resource, which makes a specified RestApi callable over the internet.

Link copied to clipboard

Creates a documentation part.

Link copied to clipboard

Creates a documentation version

Link copied to clipboard

Creates a new domain name.

Link copied to clipboard

Creates a domain name access association resource between an access association source and a private custom domain name.

Link copied to clipboard

Adds a new Model resource to an existing RestApi resource.

Link copied to clipboard

Creates a RequestValidator of a given RestApi.

Link copied to clipboard

Creates a Resource resource.

Link copied to clipboard

Creates a new RestApi resource.

Link copied to clipboard

Creates a new Stage resource that references a pre-existing Deployment for the API.

Link copied to clipboard

Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload.

Link copied to clipboard

Creates a usage plan key for adding an existing API key to a usage plan.

Link copied to clipboard

Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.

Link copied to clipboard

Deletes the ApiKey resource.

Link copied to clipboard

Deletes an existing Authorizer resource.

Link copied to clipboard

Deletes the BasePathMapping resource.

Link copied to clipboard

Deletes the ClientCertificate resource.

Link copied to clipboard

Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.

Link copied to clipboard

Deletes a documentation part

Link copied to clipboard

Deletes a documentation version.

Link copied to clipboard

Deletes the DomainName resource.

Link copied to clipboard

Deletes the DomainNameAccessAssociation resource.

Link copied to clipboard

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

Link copied to clipboard

Represents a delete integration.

Link copied to clipboard

Represents a delete integration response.

Link copied to clipboard

Deletes an existing Method resource.

Link copied to clipboard

Deletes an existing MethodResponse resource.

Link copied to clipboard

Deletes a model.

Link copied to clipboard

Deletes a RequestValidator of a given RestApi.

Link copied to clipboard

Deletes a Resource resource.

Link copied to clipboard

Deletes the specified API.

Link copied to clipboard

Deletes a Stage resource.

Link copied to clipboard

Deletes a usage plan of a given plan Id.

Link copied to clipboard

Deletes a usage plan key and remove the underlying API key from the associated usage plan.

Link copied to clipboard

Deletes an existing VpcLink of a specified identifier.

Link copied to clipboard

Flushes all authorizer cache entries on a stage.

Link copied to clipboard

Flushes a stage's cache.

Link copied to clipboard

Generates a ClientCertificate resource.

Link copied to clipboard
inline suspend fun ApiGatewayClient.getAccount(crossinline block: GetAccountRequest.Builder.() -> Unit): GetAccountResponse

Gets information about the current Account resource.

Link copied to clipboard
inline suspend fun ApiGatewayClient.getApiKey(crossinline block: GetApiKeyRequest.Builder.() -> Unit): GetApiKeyResponse

Gets information about the current ApiKey resource.

Link copied to clipboard
inline suspend fun ApiGatewayClient.getApiKeys(crossinline block: GetApiKeysRequest.Builder.() -> Unit): GetApiKeysResponse

Gets information about the current ApiKeys resource.

Link copied to clipboard
Link copied to clipboard

Describe an existing Authorizer resource.

Link copied to clipboard

Describe an existing Authorizers resource.

Link copied to clipboard

Describe a BasePathMapping resource.

Link copied to clipboard

Represents a collection of BasePathMapping resources.

Link copied to clipboard

Gets information about the current ClientCertificate resource.

Link copied to clipboard

Gets a collection of ClientCertificate resources.

Link copied to clipboard

Gets information about a Deployment resource.

Link copied to clipboard

Gets information about a Deployments collection.

Link copied to clipboard

Gets a documentation part.

Link copied to clipboard

Gets documentation parts.

Link copied to clipboard

Gets a documentation version.

Link copied to clipboard

Gets documentation versions.

Link copied to clipboard

Represents a domain name that is contained in a simpler, more intuitive URL that can be called.

Link copied to clipboard

Represents a collection on DomainNameAccessAssociations resources.

Link copied to clipboard

Represents a collection of DomainName resources.

Link copied to clipboard
inline suspend fun ApiGatewayClient.getExport(crossinline block: GetExportRequest.Builder.() -> Unit): GetExportResponse

Exports a deployed version of a RestApi in a specified format.

Link copied to clipboard

Gets a GatewayResponse of a specified response type on the given RestApi.

Link copied to clipboard

Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.

Link copied to clipboard

Get the integration settings.

Link copied to clipboard

Represents a get integration response.

Link copied to clipboard
inline suspend fun ApiGatewayClient.getMethod(crossinline block: GetMethodRequest.Builder.() -> Unit): GetMethodResponse

Describe an existing Method resource.

Link copied to clipboard

Describes a MethodResponse resource.

Link copied to clipboard
inline suspend fun ApiGatewayClient.getModel(crossinline block: GetModelRequest.Builder.() -> Unit): GetModelResponse

Describes an existing model defined for a RestApi resource.

Link copied to clipboard
inline suspend fun ApiGatewayClient.getModels(crossinline block: GetModelsRequest.Builder.() -> Unit): GetModelsResponse

Describes existing Models defined for a RestApi resource.

Link copied to clipboard

Generates a sample mapping template that can be used to transform a payload into the structure of a model.

Link copied to clipboard

Gets a RequestValidator of a given RestApi.

Link copied to clipboard

Gets the RequestValidators collection of a given RestApi.

Link copied to clipboard

Lists information about a resource.

Link copied to clipboard

Lists information about a collection of Resource resources.

Link copied to clipboard
inline suspend fun ApiGatewayClient.getRestApi(crossinline block: GetRestApiRequest.Builder.() -> Unit): GetRestApiResponse

Lists the RestApi resource in the collection.

Link copied to clipboard

Lists the RestApis resources for your collection.

Link copied to clipboard
Link copied to clipboard
inline suspend fun ApiGatewayClient.getSdk(crossinline block: GetSdkRequest.Builder.() -> Unit): GetSdkResponse

Generates a client SDK for a RestApi and Stage.

Link copied to clipboard
inline suspend fun ApiGatewayClient.getSdkType(crossinline block: GetSdkTypeRequest.Builder.() -> Unit): GetSdkTypeResponse

Gets an SDK type.

Link copied to clipboard

Gets SDK types

Link copied to clipboard
inline suspend fun ApiGatewayClient.getStage(crossinline block: GetStageRequest.Builder.() -> Unit): GetStageResponse

Gets information about a Stage resource.

Link copied to clipboard
inline suspend fun ApiGatewayClient.getStages(crossinline block: GetStagesRequest.Builder.() -> Unit): GetStagesResponse

Gets information about one or more Stage resources.

Link copied to clipboard
inline suspend fun ApiGatewayClient.getTags(crossinline block: GetTagsRequest.Builder.() -> Unit): GetTagsResponse

Gets the Tags collection for a given resource.

Link copied to clipboard
inline suspend fun ApiGatewayClient.getUsage(crossinline block: GetUsageRequest.Builder.() -> Unit): GetUsageResponse

Gets the usage data of a usage plan in a specified time interval.

Link copied to clipboard

Gets a usage plan of a given plan identifier.

Link copied to clipboard

Gets a usage plan key of a given key identifier.

Link copied to clipboard

Gets all the usage plan keys representing the API keys added to a specified usage plan.

Link copied to clipboard

Gets all the usage plans of the caller's account.

Link copied to clipboard
inline suspend fun ApiGatewayClient.getVpcLink(crossinline block: GetVpcLinkRequest.Builder.() -> Unit): GetVpcLinkResponse

Gets a specified VPC link under the caller's account in a region.

Link copied to clipboard

Gets the VpcLinks collection under the caller's account in a selected region.

Link copied to clipboard
Link copied to clipboard

Import API keys from an external source, such as a CSV-formatted file.

Link copied to clipboard

Imports documentation parts

Link copied to clipboard

A feature of the API Gateway control service for creating a new API from an external API definition file.

Link copied to clipboard

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

Link copied to clipboard

Sets up a method's integration.

Link copied to clipboard

Represents a put integration.

Link copied to clipboard
inline suspend fun ApiGatewayClient.putMethod(crossinline block: PutMethodRequest.Builder.() -> Unit): PutMethodResponse

Add a method to an existing Resource resource.

Link copied to clipboard

Adds a MethodResponse to an existing Method resource.

Link copied to clipboard
inline suspend fun ApiGatewayClient.putRestApi(crossinline block: PutRestApiRequest.Builder.() -> Unit): PutRestApiResponse

A feature of the 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.

Link copied to clipboard

Rejects a domain name access association with a private custom domain name.

Link copied to clipboard

Adds or updates a tag on a given resource.

Link copied to clipboard

Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.

Link copied to clipboard

Simulate the invocation of a Method in your RestApi with headers, parameters, and an incoming request body.

Link copied to clipboard

Removes a tag from a given resource.

Link copied to clipboard

Changes information about the current Account resource.

Link copied to clipboard

Changes information about an ApiKey resource.

Link copied to clipboard

Updates an existing Authorizer resource.

Link copied to clipboard

Changes information about the BasePathMapping resource.

Link copied to clipboard

Changes information about an ClientCertificate resource.

Link copied to clipboard

Changes information about a Deployment resource.

Link copied to clipboard

Updates a documentation part.

Link copied to clipboard

Updates a documentation version.

Link copied to clipboard

Changes information about the DomainName resource.

Link copied to clipboard

Updates a GatewayResponse of a specified response type on the given RestApi.

Link copied to clipboard

Represents an update integration.

Link copied to clipboard

Represents an update integration response.

Link copied to clipboard

Updates an existing Method resource.

Link copied to clipboard

Updates an existing MethodResponse resource.

Link copied to clipboard

Changes information about a model. The maximum size of the model is 400 KB.

Link copied to clipboard

Updates a RequestValidator of a given RestApi.

Link copied to clipboard

Changes information about a Resource resource.

Link copied to clipboard

Changes information about the specified API.

Link copied to clipboard

Changes information about a Stage resource.

Link copied to clipboard

Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.

Link copied to clipboard

Updates a usage plan of a given plan Id.

Link copied to clipboard

Updates an existing VpcLink of a specified identifier.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.