@aws-lite/apigatewayv2-types 0.0.6 → 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.
Files changed (2) hide show
  1. package/index.d.ts +40 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,7 +1,12 @@
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,
6
+ CreateDomainNameCommandOutput as CreateDomainNameResponse,
7
+ DeleteApiMappingCommandOutput as DeleteApiMappingResponse,
8
+ DeleteDomainNameCommandOutput as DeleteDomainNameResponse,
9
+ GetApiMappingsCommandOutput as GetApiMappingsResponse,
5
10
  GetDeploymentCommandOutput as GetDeploymentResponse,
6
11
  GetDeploymentsCommandOutput as GetDeploymentsResponse,
7
12
  UpdateStageCommandOutput as UpdateStageResponse,
@@ -11,12 +16,42 @@ import {
11
16
  declare interface AwsLiteAPIGatewayV2 {
12
17
  /* ! Do not remove METHODS_START / METHODS_END ! */
13
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>
14
25
  /**
15
26
  * @description
16
27
  * - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/apis-apiid-deployments.html#CreateDeployment API Gateway V2: CreateDeployment}
17
28
  * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/apigatewayv2/readme.md#CreateDeployment API Gateway V2: CreateDeployment}
18
29
  */
19
30
  CreateDeployment: (input: { ApiId: string, Description?: string, StageName?: string }) => Promise<CreateDeploymentResponse>
31
+ /**
32
+ * @description
33
+ * - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames.html#CreateDomainName API Gateway V2: CreateDomainName}
34
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/apigatewayv2/readme.md#CreateDomainName API Gateway V2: CreateDomainName}
35
+ */
36
+ CreateDomainName: (input: { DomainName: string, DomainNameConfigurations?: any[], MutualTlsAuthentication?: Record<string, any>, Tags?: Record<string, any> }) => Promise<CreateDomainNameResponse>
37
+ /**
38
+ * @description
39
+ * - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings-apimappingid.html#DeleteApiMapping API Gateway V2: DeleteApiMapping}
40
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/apigatewayv2/readme.md#DeleteApiMapping API Gateway V2: DeleteApiMapping}
41
+ */
42
+ DeleteApiMapping: (input: { ApiMappingId: string, DomainName: string }) => Promise<DeleteApiMappingResponse>
43
+ /**
44
+ * @description
45
+ * - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname.html#DeleteDomainName API Gateway V2: DeleteDomainName}
46
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/apigatewayv2/readme.md#DeleteDomainName API Gateway V2: DeleteDomainName}
47
+ */
48
+ DeleteDomainName: (input: { DomainName: string }) => Promise<DeleteDomainNameResponse>
49
+ /**
50
+ * @description
51
+ * - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#GetApiMappings API Gateway V2: GetApiMappings}
52
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/apigatewayv2/readme.md#GetApiMappings API Gateway V2: GetApiMappings}
53
+ */
54
+ GetApiMappings: (input: { DomainName: string, MaxResults?: number, NextToken?: string, paginate?: boolean }) => Promise<GetApiMappingsResponse>
20
55
  /**
21
56
  * @description
22
57
  * - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/apis-apiid-deployments-deploymentid.html#GetDeployment API Gateway V2: GetDeployment}
@@ -48,7 +83,12 @@ export type {
48
83
  AwsLiteAPIGatewayV2,
49
84
  /* ! Do not remove EXPORT_START / EXPORT_END ! */
50
85
  // $EXPORT_START
86
+ CreateApiMappingResponse,
51
87
  CreateDeploymentResponse,
88
+ CreateDomainNameResponse,
89
+ DeleteApiMappingResponse,
90
+ DeleteDomainNameResponse,
91
+ GetApiMappingsResponse,
52
92
  GetDeploymentResponse,
53
93
  GetDeploymentsResponse,
54
94
  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.8",
4
4
  "description": "Type definitions for the `@aws-lite/apigatewayv2` plugin",
5
5
  "homepage": "https://aws-lite.org/services/apigatewayv2",
6
6
  "repository": {