@aws-lite/apigatewayv2-types 0.0.5 → 0.0.7
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 +33 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ import {
|
|
|
2
2
|
/* ! Do not remove IMPORTS_START / IMPORTS_END ! */
|
|
3
3
|
// $IMPORTS_START
|
|
4
4
|
CreateDeploymentCommandOutput as CreateDeploymentResponse,
|
|
5
|
+
CreateDomainNameCommandOutput as CreateDomainNameResponse,
|
|
6
|
+
DeleteApiMappingCommandOutput as DeleteApiMappingResponse,
|
|
7
|
+
DeleteDomainNameCommandOutput as DeleteDomainNameResponse,
|
|
8
|
+
GetApiMappingsCommandOutput as GetApiMappingsResponse,
|
|
5
9
|
GetDeploymentCommandOutput as GetDeploymentResponse,
|
|
6
10
|
GetDeploymentsCommandOutput as GetDeploymentsResponse,
|
|
7
11
|
UpdateStageCommandOutput as UpdateStageResponse,
|
|
@@ -17,6 +21,30 @@ declare interface AwsLiteAPIGatewayV2 {
|
|
|
17
21
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/apigatewayv2/readme.md#CreateDeployment API Gateway V2: CreateDeployment}
|
|
18
22
|
*/
|
|
19
23
|
CreateDeployment: (input: { ApiId: string, Description?: string, StageName?: string }) => Promise<CreateDeploymentResponse>
|
|
24
|
+
/**
|
|
25
|
+
* @description
|
|
26
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames.html#CreateDomainName API Gateway V2: CreateDomainName}
|
|
27
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/apigatewayv2/readme.md#CreateDomainName API Gateway V2: CreateDomainName}
|
|
28
|
+
*/
|
|
29
|
+
CreateDomainName: (input: { DomainName: string, DomainNameConfigurations?: any[], MutualTlsAuthentication?: Record<string, any>, Tags?: Record<string, any> }) => Promise<CreateDomainNameResponse>
|
|
30
|
+
/**
|
|
31
|
+
* @description
|
|
32
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings-apimappingid.html#DeleteApiMapping API Gateway V2: DeleteApiMapping}
|
|
33
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/apigatewayv2/readme.md#DeleteApiMapping API Gateway V2: DeleteApiMapping}
|
|
34
|
+
*/
|
|
35
|
+
DeleteApiMapping: (input: { ApiMappingId: string, DomainName: string }) => Promise<DeleteApiMappingResponse>
|
|
36
|
+
/**
|
|
37
|
+
* @description
|
|
38
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname.html#DeleteDomainName API Gateway V2: DeleteDomainName}
|
|
39
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/apigatewayv2/readme.md#DeleteDomainName API Gateway V2: DeleteDomainName}
|
|
40
|
+
*/
|
|
41
|
+
DeleteDomainName: (input: { DomainName: string }) => Promise<DeleteDomainNameResponse>
|
|
42
|
+
/**
|
|
43
|
+
* @description
|
|
44
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#GetApiMappings API Gateway V2: GetApiMappings}
|
|
45
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/apigatewayv2/readme.md#GetApiMappings API Gateway V2: GetApiMappings}
|
|
46
|
+
*/
|
|
47
|
+
GetApiMappings: (input: { DomainName: string, MaxResults?: number, NextToken?: string, paginate?: boolean }) => Promise<GetApiMappingsResponse>
|
|
20
48
|
/**
|
|
21
49
|
* @description
|
|
22
50
|
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/apis-apiid-deployments-deploymentid.html#GetDeployment API Gateway V2: GetDeployment}
|
|
@@ -45,9 +73,14 @@ declare module "@aws-lite/client" {
|
|
|
45
73
|
}
|
|
46
74
|
|
|
47
75
|
export type {
|
|
76
|
+
AwsLiteAPIGatewayV2,
|
|
48
77
|
/* ! Do not remove EXPORT_START / EXPORT_END ! */
|
|
49
78
|
// $EXPORT_START
|
|
50
79
|
CreateDeploymentResponse,
|
|
80
|
+
CreateDomainNameResponse,
|
|
81
|
+
DeleteApiMappingResponse,
|
|
82
|
+
DeleteDomainNameResponse,
|
|
83
|
+
GetApiMappingsResponse,
|
|
51
84
|
GetDeploymentResponse,
|
|
52
85
|
GetDeploymentsResponse,
|
|
53
86
|
UpdateStageResponse,
|
package/package.json
CHANGED