@aws-lite/apigatewayv2-types 0.0.0 → 0.0.2

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 +7 -0
  2. package/package.json +16 -3
package/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import {
3
3
  // $IMPORTS_START
4
4
  CreateDeploymentCommandOutput as CreateDeploymentResponse,
5
5
  GetDeploymentCommandOutput as GetDeploymentResponse,
6
+ GetDeploymentsCommandOutput as GetDeploymentsResponse,
6
7
  UpdateStageCommandOutput as UpdateStageResponse,
7
8
  // $IMPORTS_END
8
9
  } from "@aws-sdk/client-apigatewayv2";
@@ -22,6 +23,12 @@ declare interface AwsLiteAPIGatewayV2 {
22
23
  * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/apigatewayv2/readme.md#GetDeployment API Gateway V2: GetDeployment}
23
24
  */
24
25
  GetDeployment: (input: { ApiId: string, NextToken?: string, MaxResults?: number }) => Promise<GetDeploymentResponse>
26
+ /**
27
+ * @description
28
+ * - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/apis-apiid-deployments.html#GetDeployments API Gateway V2: GetDeployments}
29
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/apigatewayv2/readme.md#GetDeployments API Gateway V2: GetDeployments}
30
+ */
31
+ GetDeployments: (input: { ApiId: string, NextToken?: string, MaxResults?: number, paginate?: boolean }) => Promise<GetDeploymentsResponse>
25
32
  /**
26
33
  * @description
27
34
  * - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/apis-apiid-stages-stagename.html#UpdateStage API Gateway V2: UpdateStage}
package/package.json CHANGED
@@ -1,13 +1,26 @@
1
1
  {
2
2
  "name": "@aws-lite/apigatewayv2-types",
3
- "description": "Type definitions for the @aws-lite/apigatewayv2 plugin",
4
- "version": "0.0.0",
3
+ "version": "0.0.2",
4
+ "description": "Type definitions for the `@aws-lite/apigatewayv2` plugin",
5
+ "homepage": "https://aws-lite.org/services/apigatewayv2",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/architect/aws-lite.git",
9
+ "directory": "plugins/apigatewayv2/types"
10
+ },
11
+ "bugs": "https://github.com/architect/aws-lite/issues",
5
12
  "main": "",
13
+ "engines": {
14
+ "node": ">=16"
15
+ },
16
+ "author": "@architect",
17
+ "license": "Apache-2.0",
6
18
  "types": "index.d.ts",
7
19
  "files": [
8
20
  "index.d.ts"
9
21
  ],
10
22
  "dependencies": {
11
23
  "@aws-sdk/client-apigatewayv2": "3"
12
- }
24
+ },
25
+ "scripts": {}
13
26
  }