APIGateway
import { APIGateway } from "https://aws-api.deno.dev/v0.2/services/apigateway.ts?docs=full";
§Constructors
§Methods
Adds a new "Authorizer" resource to an existing "RestApi" resource.
See also: AWS CLI
Creates a new "BasePathMapping" resource.
Creates a "Deployment" resource, which makes a specified "RestApi" callable over the internet.
Creates a new domain name.
Creates a "ReqeustValidator" of a given "RestApi".
Creates a usage plan with the throttle and quota limits, as well as the associated API stages, specified in the payload.
Creates a usage plan key for adding an existing API key to a usage plan.
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.
Deletes the "BasePathMapping" resource.
Deletes the "ClientCertificate" resource.
Deletes a "Deployment" resource. Deleting a deployment will only succeed if there are no "Stage" resources associated with it.
Clears any customization of a "GatewayResponse" of a specified response type on the given "RestApi" and resets it with the default settings.
Represents a delete integration response.
Deletes an existing "MethodResponse" resource.
Deletes a "RequestValidator" of a given "RestApi".
Flushes all authorizer cache entries on a stage.
Generates a "ClientCertificate" resource.
Gets information about the current "Account" resource.
Describe a "BasePathMapping" resource.
Represents a collection of "BasePathMapping" resources.
Gets information about the current "ClientCertificate" resource.
Gets a collection of "ClientCertificate" resources.
Represents a domain name that is contained in a simpler, more intuitive URL that can be called.
Gets a "GatewayResponse" of a specified response type on the given "RestApi".
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.
Represents a get integration response.
Describes a "MethodResponse" resource.
Generates a sample mapping template that can be used to transform a payload into the structure of a model.
Gets a "RequestValidator" of a given "RestApi".
Gets the "RequestValidators" collection of a given "RestApi".
Gets a usage plan key of a given key identifier.
Gets all the usage plan keys representing the API keys added to a specified usage plan.
A feature of the API Gateway control service for creating a new API from an external API definition file.
Creates a customization of a "GatewayResponse" of a specified response type and status code on the given "RestApi".
Represents a put integration.
Adds a "MethodResponse" to an existing "Method" resource.
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.
Simulate the execution of an "Authorizer" in your "RestApi" with headers, parameters, and an incoming request body.
See also: Use Lambda Function as Authorizer Use Cognito User Pool as Authorizer
Simulate the execution of a "Method" in your "RestApi" with headers, parameters, and an incoming request body.
Updates an existing "Authorizer" resource.
See also: AWS CLI
Changes information about the "BasePathMapping" resource.
Changes information about an "ClientCertificate" resource.
Changes information about a "Deployment" resource.
Changes information about the "DomainName" resource.
Updates a "GatewayResponse" of a specified response type on the given "RestApi".
Represents an update integration.
Represents an update integration response.
Updates an existing "MethodResponse" resource.
Updates a "RequestValidator" of a given "RestApi".
Grants a temporary extension to the remaining quota of a usage plan associated with a specified API key.