@aws-lite/cloudwatch-logs-types 0.0.10 → 0.1.1
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 +16 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
/* ! Do not remove IMPORTS_START / IMPORTS_END ! */
|
|
3
3
|
// $IMPORTS_START
|
|
4
4
|
DeleteLogGroupCommandOutput as DeleteLogGroupResponse,
|
|
5
|
+
DeleteLogStreamCommandOutput as DeleteLogStreamResponse,
|
|
5
6
|
DescribeLogGroupsCommandOutput as DescribeLogGroupsResponse,
|
|
6
7
|
DescribeLogStreamsCommandOutput as DescribeLogStreamsResponse,
|
|
7
8
|
GetLogEventsCommandOutput as GetLogEventsResponse,
|
|
@@ -10,6 +11,8 @@ import {
|
|
|
10
11
|
// $IMPORTS_END
|
|
11
12
|
} from "@aws-sdk/client-cloudwatch-logs";
|
|
12
13
|
|
|
14
|
+
import type { AwsLiteMethodOptions } from "@aws-lite/client";
|
|
15
|
+
|
|
13
16
|
declare interface AwsLiteCloudWatchLogs {
|
|
14
17
|
/* ! Do not remove METHODS_START / METHODS_END ! */
|
|
15
18
|
// $METHODS_START
|
|
@@ -18,37 +21,43 @@ declare interface AwsLiteCloudWatchLogs {
|
|
|
18
21
|
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteLogGroup.html CloudWatch Logs: DeleteLogGroup}
|
|
19
22
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/cloudwatch-logs/readme.md#DeleteLogGroup CloudWatch Logs: DeleteLogGroup}
|
|
20
23
|
*/
|
|
21
|
-
DeleteLogGroup: (input: { logGroupName: string }) => Promise<DeleteLogGroupResponse>
|
|
24
|
+
DeleteLogGroup: (input: AwsLiteMethodOptions & { logGroupName: string }) => Promise<DeleteLogGroupResponse>
|
|
25
|
+
/**
|
|
26
|
+
* @description
|
|
27
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteLogStream.html CloudWatch Logs: DeleteLogStream}
|
|
28
|
+
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/cloudwatch-logs/readme.md#DeleteLogStream CloudWatch Logs: DeleteLogStream}
|
|
29
|
+
*/
|
|
30
|
+
DeleteLogStream: (input: AwsLiteMethodOptions & { logGroupName: string, logStreamName: string }) => Promise<DeleteLogStreamResponse>
|
|
22
31
|
/**
|
|
23
32
|
* @description
|
|
24
33
|
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html CloudWatch Logs: DescribeLogGroups}
|
|
25
34
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/cloudwatch-logs/readme.md#DescribeLogGroups CloudWatch Logs: DescribeLogGroups}
|
|
26
35
|
*/
|
|
27
|
-
DescribeLogGroups: (input: { accountIdentifiers?: any[], logGroupNamePrefix?: string, logGroupNamePattern?: string, nextToken?: string, limit?: number, includeLinkedAccounts?: boolean, logGroupClass?: string, paginate?: boolean | string }) => Promise<DescribeLogGroupsResponse>
|
|
36
|
+
DescribeLogGroups: (input: AwsLiteMethodOptions & { accountIdentifiers?: any[], logGroupNamePrefix?: string, logGroupNamePattern?: string, nextToken?: string, limit?: number, includeLinkedAccounts?: boolean, logGroupClass?: string, paginate?: boolean | string }) => Promise<DescribeLogGroupsResponse>
|
|
28
37
|
/**
|
|
29
38
|
* @description
|
|
30
39
|
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogStreams.html CloudWatch Logs: DescribeLogStreams}
|
|
31
40
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/cloudwatch-logs/readme.md#DescribeLogStreams CloudWatch Logs: DescribeLogStreams}
|
|
32
41
|
*/
|
|
33
|
-
DescribeLogStreams: (input: { descending?: boolean, limit?: number, logGroupIdentifier?: string, logGroupName?: string, logStreamNamePrefix?: string, nextToken?: string, orderBy?: string, paginate?: boolean | string }) => Promise<DescribeLogStreamsResponse>
|
|
42
|
+
DescribeLogStreams: (input: AwsLiteMethodOptions & { descending?: boolean, limit?: number, logGroupIdentifier?: string, logGroupName?: string, logStreamNamePrefix?: string, nextToken?: string, orderBy?: string, paginate?: boolean | string }) => Promise<DescribeLogStreamsResponse>
|
|
34
43
|
/**
|
|
35
44
|
* @description
|
|
36
45
|
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetLogEvents.html CloudWatch Logs: GetLogEvents}
|
|
37
46
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/cloudwatch-logs/readme.md#GetLogEvents CloudWatch Logs: GetLogEvents}
|
|
38
47
|
*/
|
|
39
|
-
GetLogEvents: (input: { endTime?: number, limit?: number, logGroupIdentifier?: string, logGroupName?: string, logStreamName: string, nextToken?: string, startFromHead?: boolean, startTime?: number, unmask?: boolean, paginate?: boolean | string }) => Promise<GetLogEventsResponse>
|
|
48
|
+
GetLogEvents: (input: AwsLiteMethodOptions & { endTime?: number, limit?: number, logGroupIdentifier?: string, logGroupName?: string, logStreamName: string, nextToken?: string, startFromHead?: boolean, startTime?: number, unmask?: boolean, paginate?: boolean | string }) => Promise<GetLogEventsResponse>
|
|
40
49
|
/**
|
|
41
50
|
* @description
|
|
42
51
|
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetQueryResults.html CloudWatch Logs: GetQueryResults}
|
|
43
52
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/cloudwatch-logs/readme.md#GetQueryResults CloudWatch Logs: GetQueryResults}
|
|
44
53
|
*/
|
|
45
|
-
GetQueryResults: (input: { queryId?: string }) => Promise<GetQueryResultsResponse>
|
|
54
|
+
GetQueryResults: (input: AwsLiteMethodOptions & { queryId?: string }) => Promise<GetQueryResultsResponse>
|
|
46
55
|
/**
|
|
47
56
|
* @description
|
|
48
57
|
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html CloudWatch Logs: StartQuery}
|
|
49
58
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/cloudwatch-logs/readme.md#StartQuery CloudWatch Logs: StartQuery}
|
|
50
59
|
*/
|
|
51
|
-
StartQuery: (input: { endTime?: number, limit?: number, logGroupIdentifiers?: any[], logGroupName?: string, logGroupNames?: any[], query?: string, startTime?: number }) => Promise<StartQueryResponse>
|
|
60
|
+
StartQuery: (input: AwsLiteMethodOptions & { endTime?: number, limit?: number, logGroupIdentifiers?: any[], logGroupName?: string, logGroupNames?: any[], query?: string, startTime?: number }) => Promise<StartQueryResponse>
|
|
52
61
|
// $METHODS_END
|
|
53
62
|
}
|
|
54
63
|
|
|
@@ -63,6 +72,7 @@ export type {
|
|
|
63
72
|
/* ! Do not remove EXPORT_START / EXPORT_END ! */
|
|
64
73
|
// $EXPORT_START
|
|
65
74
|
DeleteLogGroupResponse,
|
|
75
|
+
DeleteLogStreamResponse,
|
|
66
76
|
DescribeLogGroupsResponse,
|
|
67
77
|
DescribeLogStreamsResponse,
|
|
68
78
|
GetLogEventsResponse,
|
package/package.json
CHANGED