@infrascan/aws-cloudwatch-logs-scanner 0.4.1 → 0.4.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.
- package/dist/graph.d.mts +11 -9
- package/dist/graph.d.ts +11 -9
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/graph.d.mts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { DescribeLogGroupsCommandInput, DescribeLogGroupsCommandOutput, LogGroup } from '@aws-sdk/client-cloudwatch-logs';
|
|
2
|
-
import {
|
|
2
|
+
import { QualifiedMeasure, TimeUnit, SizeUnit, BaseState, TranslatedEntity, State, WithCallContext } from '@infrascan/shared-types';
|
|
3
3
|
|
|
4
|
+
interface LogGroupState {
|
|
5
|
+
dataProtectionStatus?: string;
|
|
6
|
+
accessClass?: string;
|
|
7
|
+
metricFilterCount?: number;
|
|
8
|
+
retentionPeriod?: QualifiedMeasure<TimeUnit>;
|
|
9
|
+
size?: QualifiedMeasure<SizeUnit>;
|
|
10
|
+
}
|
|
4
11
|
type CloudwatchLogGroup = BaseState<DescribeLogGroupsCommandInput> & {
|
|
5
|
-
logGroup:
|
|
6
|
-
dataProtectionStatus?: string;
|
|
7
|
-
accessClass?: string;
|
|
8
|
-
metricFilterCount?: number;
|
|
9
|
-
retentionPeriod?: QualifiedMeasure<TimeUnit>;
|
|
10
|
-
size?: QualifiedMeasure<SizeUnit>;
|
|
11
|
-
};
|
|
12
|
+
logGroup: LogGroupState;
|
|
12
13
|
};
|
|
14
|
+
type GraphState = CloudwatchLogGroup;
|
|
13
15
|
declare const CloudwatchLogGroupEntity: TranslatedEntity<CloudwatchLogGroup, State<DescribeLogGroupsCommandOutput, DescribeLogGroupsCommandInput>, WithCallContext<LogGroup, DescribeLogGroupsCommandInput>>;
|
|
14
16
|
|
|
15
|
-
export { type CloudwatchLogGroup, CloudwatchLogGroupEntity };
|
|
17
|
+
export { type CloudwatchLogGroup, CloudwatchLogGroupEntity, type GraphState, type LogGroupState };
|
package/dist/graph.d.ts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { DescribeLogGroupsCommandInput, DescribeLogGroupsCommandOutput, LogGroup } from '@aws-sdk/client-cloudwatch-logs';
|
|
2
|
-
import {
|
|
2
|
+
import { QualifiedMeasure, TimeUnit, SizeUnit, BaseState, TranslatedEntity, State, WithCallContext } from '@infrascan/shared-types';
|
|
3
3
|
|
|
4
|
+
interface LogGroupState {
|
|
5
|
+
dataProtectionStatus?: string;
|
|
6
|
+
accessClass?: string;
|
|
7
|
+
metricFilterCount?: number;
|
|
8
|
+
retentionPeriod?: QualifiedMeasure<TimeUnit>;
|
|
9
|
+
size?: QualifiedMeasure<SizeUnit>;
|
|
10
|
+
}
|
|
4
11
|
type CloudwatchLogGroup = BaseState<DescribeLogGroupsCommandInput> & {
|
|
5
|
-
logGroup:
|
|
6
|
-
dataProtectionStatus?: string;
|
|
7
|
-
accessClass?: string;
|
|
8
|
-
metricFilterCount?: number;
|
|
9
|
-
retentionPeriod?: QualifiedMeasure<TimeUnit>;
|
|
10
|
-
size?: QualifiedMeasure<SizeUnit>;
|
|
11
|
-
};
|
|
12
|
+
logGroup: LogGroupState;
|
|
12
13
|
};
|
|
14
|
+
type GraphState = CloudwatchLogGroup;
|
|
13
15
|
declare const CloudwatchLogGroupEntity: TranslatedEntity<CloudwatchLogGroup, State<DescribeLogGroupsCommandOutput, DescribeLogGroupsCommandInput>, WithCallContext<LogGroup, DescribeLogGroupsCommandInput>>;
|
|
14
16
|
|
|
15
|
-
export { type CloudwatchLogGroup, CloudwatchLogGroupEntity };
|
|
17
|
+
export { type CloudwatchLogGroup, CloudwatchLogGroupEntity, type GraphState, type LogGroupState };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CloudWatchLogsClient } from '@aws-sdk/client-cloudwatch-logs';
|
|
2
2
|
import { ServiceModule } from '@infrascan/shared-types';
|
|
3
|
+
export { GraphState, LogGroupState } from './graph.mjs';
|
|
3
4
|
|
|
4
5
|
declare const CloudWatchLogsScanner: ServiceModule<CloudWatchLogsClient, "aws">;
|
|
5
6
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CloudWatchLogsClient } from '@aws-sdk/client-cloudwatch-logs';
|
|
2
2
|
import { ServiceModule } from '@infrascan/shared-types';
|
|
3
|
+
export { GraphState, LogGroupState } from './graph.js';
|
|
3
4
|
|
|
4
5
|
declare const CloudWatchLogsScanner: ServiceModule<CloudWatchLogsClient, "aws">;
|
|
5
6
|
|
|
6
|
-
export
|
|
7
|
+
export { CloudWatchLogsScanner as default };
|