@aws-lite/apigatewaymanagementapi-types 0.0.12 → 0.0.14

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 +5 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -7,6 +7,8 @@ import {
7
7
  // $IMPORTS_END
8
8
  } from "@aws-sdk/client-apigatewaymanagementapi";
9
9
 
10
+ import type { AwsLiteMethodOptions } from "@aws-lite/client";
11
+
10
12
  declare interface AwsLiteApiGatewayManagementApi {
11
13
  /* ! Do not remove METHODS_START / METHODS_END ! */
12
14
  // $METHODS_START
@@ -15,19 +17,19 @@ declare interface AwsLiteApiGatewayManagementApi {
15
17
  * - AWS docs: {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html API Gateway WebSocket Management API: PostToConnection}
16
18
  * - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/apigatewaymanagementapi/readme.md#PostToConnection API Gateway WebSocket Management API: PostToConnection}
17
19
  */
18
- PostToConnection: (input: { ConnectionId: string, ApiUrl?: string, ApiId?: string, Stage?: string, Data?: string | Record<string, any> }) => Promise<PostToConnectionResponse>
20
+ PostToConnection: (input: AwsLiteMethodOptions & { ConnectionId: string, ApiUrl?: string, ApiId?: string, Stage?: string, Data?: string | Record<string, any> }) => Promise<PostToConnectionResponse>
19
21
  /**
20
22
  * @description
21
23
  * - AWS docs: {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html API Gateway WebSocket Management API: DeleteConnection}
22
24
  * - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/apigatewaymanagementapi/readme.md#DeleteConnection API Gateway WebSocket Management API: DeleteConnection}
23
25
  */
24
- DeleteConnection: (input: { ConnectionId: string, ApiUrl?: string, ApiId?: string, Stage?: string }) => Promise<DeleteConnectionResponse>
26
+ DeleteConnection: (input: AwsLiteMethodOptions & { ConnectionId: string, ApiUrl?: string, ApiId?: string, Stage?: string }) => Promise<DeleteConnectionResponse>
25
27
  /**
26
28
  * @description
27
29
  * - AWS docs: {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html API Gateway WebSocket Management API: GetConnection}
28
30
  * - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/apigatewaymanagementapi/readme.md#GetConnection API Gateway WebSocket Management API: GetConnection}
29
31
  */
30
- GetConnection: (input: { ConnectionId: string, ApiUrl?: string, ApiId?: string, Stage?: string }) => Promise<GetConnectionResponse>
32
+ GetConnection: (input: AwsLiteMethodOptions & { ConnectionId: string, ApiUrl?: string, ApiId?: string, Stage?: string }) => Promise<GetConnectionResponse>
31
33
  // $METHODS_END
32
34
  }
33
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-lite/apigatewaymanagementapi-types",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "description": "Type definitions for the `@aws-lite/apigatewaymanagementapi` plugin",
5
5
  "homepage": "https://aws-lite.org/services/apigatewaymanagementapi",
6
6
  "repository": {