@aws-lite/cloudwatch-logs-types 0.0.5 → 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.
- package/index.d.ts +17 -0
- 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
|
|
|
@@ -45,11 +59,14 @@ declare module "@aws-lite/client" {
|
|
|
45
59
|
}
|
|
46
60
|
|
|
47
61
|
export type {
|
|
62
|
+
AwsLiteCloudWatchLogs,
|
|
48
63
|
/* ! Do not remove EXPORT_START / EXPORT_END ! */
|
|
49
64
|
// $EXPORT_START
|
|
50
65
|
DeleteLogGroupResponse,
|
|
51
66
|
DescribeLogGroupsResponse,
|
|
52
67
|
DescribeLogStreamsResponse,
|
|
53
68
|
GetLogEventsResponse,
|
|
69
|
+
GetQueryResultsResponse,
|
|
70
|
+
StartQueryResponse,
|
|
54
71
|
// $EXPORT_END
|
|
55
72
|
}
|
package/package.json
CHANGED