@aws-lite/apigatewayv2-types 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +8 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
/* ! Do not remove IMPORTS_START / IMPORTS_END ! */
|
|
3
3
|
// $IMPORTS_START
|
|
4
|
+
CreateApiMappingCommandOutput as CreateApiMappingResponse,
|
|
4
5
|
CreateDeploymentCommandOutput as CreateDeploymentResponse,
|
|
5
6
|
CreateDomainNameCommandOutput as CreateDomainNameResponse,
|
|
6
7
|
DeleteApiMappingCommandOutput as DeleteApiMappingResponse,
|
|
@@ -15,6 +16,12 @@ import {
|
|
|
15
16
|
declare interface AwsLiteAPIGatewayV2 {
|
|
16
17
|
/* ! Do not remove METHODS_START / METHODS_END ! */
|
|
17
18
|
// $METHODS_START
|
|
19
|
+
/**
|
|
20
|
+
* @description
|
|
21
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#CreateApiMapping API Gateway V2: CreateApiMapping}
|
|
22
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/apigatewayv2/readme.md#CreateApiMapping API Gateway V2: CreateApiMapping}
|
|
23
|
+
*/
|
|
24
|
+
CreateApiMapping: (input: { DomainName: string, ApiId: string, ApiMappingKey?: string, Stage: string }) => Promise<CreateApiMappingResponse>
|
|
18
25
|
/**
|
|
19
26
|
* @description
|
|
20
27
|
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/apis-apiid-deployments.html#CreateDeployment API Gateway V2: CreateDeployment}
|
|
@@ -76,6 +83,7 @@ export type {
|
|
|
76
83
|
AwsLiteAPIGatewayV2,
|
|
77
84
|
/* ! Do not remove EXPORT_START / EXPORT_END ! */
|
|
78
85
|
// $EXPORT_START
|
|
86
|
+
CreateApiMappingResponse,
|
|
79
87
|
CreateDeploymentResponse,
|
|
80
88
|
CreateDomainNameResponse,
|
|
81
89
|
DeleteApiMappingResponse,
|
package/package.json
CHANGED