@aws-lite/cloudwatch-logs-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 +16 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -5,6 +5,8 @@ import {
5
5
  DescribeLogGroupsCommandOutput as DescribeLogGroupsResponse,
6
6
  DescribeLogStreamsCommandOutput as DescribeLogStreamsResponse,
7
7
  GetLogEventsCommandOutput as GetLogEventsResponse,
8
+ GetQueryResultsCommandOutput as GetQueryResultsResponse,
9
+ StartQueryCommandOutput as StartQueryResponse,
8
10
  // $IMPORTS_END
9
11
  } from "@aws-sdk/client-cloudwatch-logs";
10
12
 
@@ -35,6 +37,18 @@ declare interface AwsLiteCloudWatchLogs {
35
37
  * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/cloudwatch-logs/readme.md#GetLogEvents CloudWatch Logs: GetLogEvents}
36
38
  */
37
39
  GetLogEvents: (input: { endTime?: number, limit?: number, logGroupIdentifier?: string, logGroupName?: string, logStreamName: string, nextToken?: string, startFromHead?: boolean, startTime?: number, unmask?: boolean, paginate?: boolean }) => Promise<GetLogEventsResponse>
40
+ /**
41
+ * @description
42
+ * - AWS docs: {@link https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetQueryResults.html CloudWatch Logs: GetQueryResults}
43
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/cloudwatch-logs/readme.md#GetQueryResults CloudWatch Logs: GetQueryResults}
44
+ */
45
+ GetQueryResults: (input: { queryId?: string }) => Promise<GetQueryResultsResponse>
46
+ /**
47
+ * @description
48
+ * - AWS docs: {@link https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html CloudWatch Logs: StartQuery}
49
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/cloudwatch-logs/readme.md#StartQuery CloudWatch Logs: StartQuery}
50
+ */
51
+ StartQuery: (input: { endTime?: number, limit?: number, logGroupIdentifiers?: any[], logGroupName?: string, logGroupNames?: any[], query?: string, startTime?: number }) => Promise<StartQueryResponse>
38
52
  // $METHODS_END
39
53
  }
40
54
 
@@ -52,5 +66,7 @@ export type {
52
66
  DescribeLogGroupsResponse,
53
67
  DescribeLogStreamsResponse,
54
68
  GetLogEventsResponse,
69
+ GetQueryResultsResponse,
70
+ StartQueryResponse,
55
71
  // $EXPORT_END
56
72
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-lite/cloudwatch-logs-types",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Type definitions for the `@aws-lite/cloudwatch-logs` plugin",
5
5
  "homepage": "https://aws-lite.org/services/cloudwatch-logs",
6
6
  "repository": {