@aws-lite/apigatewayv2
v0.0.9
Published
Official `aws-lite` plugin for API Gateway V2
Downloads
6,462
Readme
@aws-lite/apigatewayv2
Official
aws-lite
plugin for API Gateway V2
Maintained by: @architect
Install
npm i @aws-lite/apigatewayv2
Optionally install types:
npm i -D @aws-lite/apigatewayv2-types
Reference
Reference documentation with examples at aws-lite.org
Reference
Reference documentation with examples at aws-lite.org
Methods
CreateApiMapping
Properties:
DomainName
(string) [required]- The domain name
ApiId
(string) [required]- API ID
ApiMappingKey
(string)- The API mapping key
Stage
(string) [required]- The API stage
CreateDeployment
Properties:
ApiId
(string) [required]- API ID
Description
(string)- Deployment description
StageName
(string)- Stage name
CreateDomainName
Properties:
DomainName
(string) [required]- The domain name
DomainNameConfigurations
(array)- Array of
DomainNameConfiguration
objects - More details (AWS)
- Array of
MutualTlsAuthentication
(object)MutualTlsAuthenticationInput
object- More details (AWS)
Tags
(object)- Record containing tags associated with the domain name
DeleteApiMapping
Properties:
ApiMappingId
(string) [required]- ID of the API mapping
DomainName
(string) [required]- The domain name
DeleteDomainName
Properties:
DomainName
(string) [required]- The domain name
GetApiMappings
Properties:
DomainName
(string) [required]- The domain name
MaxResults
(number)- Maximum number of items to evaluate and return
NextToken
(string)- Pagination cursor token to be used if
NextToken
was returned in a previous response
- Pagination cursor token to be used if
paginate
(boolean, string)- Enable automatic result pagination; use this instead of making your own individual pagination requests
GetDeployment
Properties:
ApiId
(string) [required]- API ID
NextToken
(string)- Pagination cursor token to be used if
NextToken
was returned in a previous response
- Pagination cursor token to be used if
MaxResults
(number)- Maximum number of items to evaluate and return
GetDeployments
Properties:
ApiId
(string) [required]- API ID
NextToken
(string)- Pagination cursor token to be used if
NextToken
was returned in a previous response
- Pagination cursor token to be used if
MaxResults
(number)- Maximum number of items to evaluate and return
paginate
(boolean, string)- Enable automatic result pagination; use this instead of making your own individual pagination requests
UpdateStage
Properties:
ApiId
(string) [required]- API ID
StageName
(string) [required]- Stage name
AccessLogSettings
(object)- Access log settings for the stage
- More details (AWS)
AutoDeploy
(boolean)- Enable automatic deployments upon API updates:
true
orfalse
(default)
- Enable automatic deployments upon API updates:
ClientCertificateId
(string)- Client certificate ID for the stage
DefaultRouteSettings
(object)- Default route settings for the stage
- More details (AWS)
DeploymentId
(string)- Deployment ID for the API stage; cannot be updated if
autoDeploy
is enabled
- Deployment ID for the API stage; cannot be updated if
Description
(string)- Deployment description
RouteSettings
(object)- Route settings for the stage
- More details (AWS)
StageVariables
(object)- Stage variables; names can have alphanumeric and underscore characters, values must match:
[A-Za-z0-9-._~:/?#&=,]+
. - More details (AWS)
- Stage variables; names can have alphanumeric and underscore characters, values must match:
Methods yet to be implemented
Please help out by opening a PR!
CreateApi
CreateAuthorizer
CreateIntegration
CreateIntegrationResponse
CreateModel
CreateRoute
CreateRouteResponse
CreateStage
CreateVpcLink
DeleteAccessLogSettings
DeleteApi
DeleteAuthorizer
DeleteCorsConfiguration
DeleteDeployment
DeleteIntegration
DeleteIntegrationResponse
DeleteModel
DeleteRoute
DeleteRouteRequestParameter
DeleteRouteResponse
DeleteRouteSettings
DeleteStage
DeleteVpcLink
ExportApi
GetApi
GetApiMapping
GetApis
GetAuthorizer
GetAuthorizers
GetDomainName
GetDomainNames
GetIntegration
GetIntegrationResponse
GetIntegrationResponses
GetIntegrations
GetModel
GetModels
GetModelTemplate
GetRoute
GetRouteResponse
GetRouteResponses
GetRoutes
GetStage
GetStages
GetTags
GetVpcLink
GetVpcLinks
ImportApi
ReimportApi
ResetAuthorizersCache
TagResource
UntagResource
UpdateApi
UpdateApiMapping
UpdateAuthorizer
UpdateDeployment
UpdateDomainName
UpdateIntegration
UpdateIntegrationResponse
UpdateModel
UpdateRoute
UpdateRouteResponse
UpdateVpcLink