@aws-lite/apigatewayv2-types 0.0.6 → 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.
Files changed (2) hide show
  1. package/index.d.ts +32 -0
  2. 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}
@@ -49,6 +77,10 @@ export type {
49
77
  /* ! Do not remove EXPORT_START / EXPORT_END ! */
50
78
  // $EXPORT_START
51
79
  CreateDeploymentResponse,
80
+ CreateDomainNameResponse,
81
+ DeleteApiMappingResponse,
82
+ DeleteDomainNameResponse,
83
+ GetApiMappingsResponse,
52
84
  GetDeploymentResponse,
53
85
  GetDeploymentsResponse,
54
86
  UpdateStageResponse,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-lite/apigatewayv2-types",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Type definitions for the `@aws-lite/apigatewayv2` plugin",
5
5
  "homepage": "https://aws-lite.org/services/apigatewayv2",
6
6
  "repository": {