@aws-sdk/client-devops-guru 3.131.0 → 3.133.0

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 (40) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/DevOpsGuru.js +30 -0
  3. package/dist-cjs/commands/ListAnomalousLogGroupsCommand.js +36 -0
  4. package/dist-cjs/commands/ListMonitoredResourcesCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +90 -4
  7. package/dist-cjs/pagination/ListAnomalousLogGroupsPaginator.js +36 -0
  8. package/dist-cjs/pagination/ListMonitoredResourcesPaginator.js +36 -0
  9. package/dist-cjs/pagination/index.js +2 -0
  10. package/dist-cjs/protocols/Aws_restJson1.js +282 -2
  11. package/dist-es/DevOpsGuru.js +30 -0
  12. package/dist-es/commands/ListAnomalousLogGroupsCommand.js +39 -0
  13. package/dist-es/commands/ListMonitoredResourcesCommand.js +39 -0
  14. package/dist-es/commands/index.js +2 -0
  15. package/dist-es/models/models_0.js +64 -0
  16. package/dist-es/pagination/ListAnomalousLogGroupsPaginator.js +75 -0
  17. package/dist-es/pagination/ListMonitoredResourcesPaginator.js +75 -0
  18. package/dist-es/pagination/index.js +2 -0
  19. package/dist-es/protocols/Aws_restJson1.js +331 -9
  20. package/dist-types/DevOpsGuru.d.ts +18 -0
  21. package/dist-types/DevOpsGuruClient.d.ts +4 -2
  22. package/dist-types/commands/ListAnomalousLogGroupsCommand.d.ts +37 -0
  23. package/dist-types/commands/ListMonitoredResourcesCommand.d.ts +37 -0
  24. package/dist-types/commands/index.d.ts +2 -0
  25. package/dist-types/models/models_0.d.ts +331 -3
  26. package/dist-types/pagination/ListAnomalousLogGroupsPaginator.d.ts +4 -0
  27. package/dist-types/pagination/ListMonitoredResourcesPaginator.d.ts +4 -0
  28. package/dist-types/pagination/index.d.ts +2 -0
  29. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  30. package/dist-types/ts3.4/DevOpsGuru.d.ts +10 -0
  31. package/dist-types/ts3.4/DevOpsGuruClient.d.ts +4 -2
  32. package/dist-types/ts3.4/commands/ListAnomalousLogGroupsCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/ListMonitoredResourcesCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  35. package/dist-types/ts3.4/models/models_0.d.ts +156 -0
  36. package/dist-types/ts3.4/pagination/ListAnomalousLogGroupsPaginator.d.ts +4 -0
  37. package/dist-types/ts3.4/pagination/ListMonitoredResourcesPaginator.d.ts +4 -0
  38. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  39. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  40. package/package.json +1 -1
@@ -165,6 +165,63 @@ export declare namespace AmazonCodeGuruProfilerIntegration {
165
165
 
166
166
  const filterSensitiveLog: (obj: AmazonCodeGuruProfilerIntegration) => any;
167
167
  }
168
+ export declare enum LogAnomalyType {
169
+ BLOCK_FORMAT = "BLOCK_FORMAT",
170
+ FORMAT = "FORMAT",
171
+ HTTP_CODE = "HTTP_CODE",
172
+ KEYWORD = "KEYWORD",
173
+ KEYWORD_TOKEN = "KEYWORD_TOKEN",
174
+ NEW_FIELD_NAME = "NEW_FIELD_NAME",
175
+ NUMERICAL_NAN = "NUMERICAL_NAN",
176
+ NUMERICAL_POINT = "NUMERICAL_POINT"
177
+ }
178
+
179
+ export interface LogAnomalyClass {
180
+
181
+ LogStreamName?: string;
182
+
183
+ LogAnomalyType?: LogAnomalyType | string;
184
+
185
+ LogAnomalyToken?: string;
186
+
187
+ LogEventId?: string;
188
+
189
+ Explanation?: string;
190
+
191
+ NumberOfLogLinesOccurrences?: number;
192
+
193
+ LogEventTimestamp?: Date;
194
+ }
195
+ export declare namespace LogAnomalyClass {
196
+
197
+ const filterSensitiveLog: (obj: LogAnomalyClass) => any;
198
+ }
199
+
200
+ export interface LogAnomalyShowcase {
201
+
202
+ LogAnomalyClasses?: LogAnomalyClass[];
203
+ }
204
+ export declare namespace LogAnomalyShowcase {
205
+
206
+ const filterSensitiveLog: (obj: LogAnomalyShowcase) => any;
207
+ }
208
+
209
+ export interface AnomalousLogGroup {
210
+
211
+ LogGroupName?: string;
212
+
213
+ ImpactStartTime?: Date;
214
+
215
+ ImpactEndTime?: Date;
216
+
217
+ NumberOfLogLinesScanned?: number;
218
+
219
+ LogAnomalyShowcases?: LogAnomalyShowcase[];
220
+ }
221
+ export declare namespace AnomalousLogGroup {
222
+
223
+ const filterSensitiveLog: (obj: AnomalousLogGroup) => any;
224
+ }
168
225
 
169
226
  export interface AnomalyReportedTimeRange {
170
227
 
@@ -941,6 +998,15 @@ export declare enum OptInStatus {
941
998
  ENABLED = "ENABLED"
942
999
  }
943
1000
 
1001
+ export interface LogsAnomalyDetectionIntegration {
1002
+
1003
+ OptInStatus?: OptInStatus | string;
1004
+ }
1005
+ export declare namespace LogsAnomalyDetectionIntegration {
1006
+
1007
+ const filterSensitiveLog: (obj: LogsAnomalyDetectionIntegration) => any;
1008
+ }
1009
+
944
1010
  export interface OpsCenterIntegration {
945
1011
 
946
1012
  OptInStatus?: OptInStatus | string;
@@ -953,6 +1019,8 @@ export declare namespace OpsCenterIntegration {
953
1019
  export interface ServiceIntegrationConfig {
954
1020
 
955
1021
  OpsCenter?: OpsCenterIntegration;
1022
+
1023
+ LogsAnomalyDetection?: LogsAnomalyDetectionIntegration;
956
1024
  }
957
1025
  export declare namespace ServiceIntegrationConfig {
958
1026
 
@@ -1215,6 +1283,30 @@ export declare namespace ListAnomaliesForInsightResponse {
1215
1283
 
1216
1284
  const filterSensitiveLog: (obj: ListAnomaliesForInsightResponse) => any;
1217
1285
  }
1286
+ export interface ListAnomalousLogGroupsRequest {
1287
+
1288
+ InsightId: string | undefined;
1289
+
1290
+ MaxResults?: number;
1291
+
1292
+ NextToken?: string;
1293
+ }
1294
+ export declare namespace ListAnomalousLogGroupsRequest {
1295
+
1296
+ const filterSensitiveLog: (obj: ListAnomalousLogGroupsRequest) => any;
1297
+ }
1298
+ export interface ListAnomalousLogGroupsResponse {
1299
+
1300
+ InsightId: string | undefined;
1301
+
1302
+ AnomalousLogGroups: AnomalousLogGroup[] | undefined;
1303
+
1304
+ NextToken?: string;
1305
+ }
1306
+ export declare namespace ListAnomalousLogGroupsResponse {
1307
+
1308
+ const filterSensitiveLog: (obj: ListAnomalousLogGroupsResponse) => any;
1309
+ }
1218
1310
  export declare enum EventDataSource {
1219
1311
  AWS_CLOUD_TRAIL = "AWS_CLOUD_TRAIL",
1220
1312
  AWS_CODE_DEPLOY = "AWS_CODE_DEPLOY"
@@ -1456,6 +1548,59 @@ export declare namespace ListInsightsResponse {
1456
1548
 
1457
1549
  const filterSensitiveLog: (obj: ListInsightsResponse) => any;
1458
1550
  }
1551
+ export declare enum ResourcePermission {
1552
+ FULL_PERMISSION = "FULL_PERMISSION",
1553
+ MISSING_PERMISSION = "MISSING_PERMISSION"
1554
+ }
1555
+ export declare enum ResourceTypeFilter {
1556
+ LOG_GROUPS = "LOG_GROUPS"
1557
+ }
1558
+
1559
+ export interface ListMonitoredResourcesFilters {
1560
+
1561
+ ResourcePermission: ResourcePermission | string | undefined;
1562
+
1563
+ ResourceTypeFilters: (ResourceTypeFilter | string)[] | undefined;
1564
+ }
1565
+ export declare namespace ListMonitoredResourcesFilters {
1566
+
1567
+ const filterSensitiveLog: (obj: ListMonitoredResourcesFilters) => any;
1568
+ }
1569
+ export interface ListMonitoredResourcesRequest {
1570
+
1571
+ Filters: ListMonitoredResourcesFilters | undefined;
1572
+
1573
+ MaxResults?: number;
1574
+
1575
+ NextToken?: string;
1576
+ }
1577
+ export declare namespace ListMonitoredResourcesRequest {
1578
+
1579
+ const filterSensitiveLog: (obj: ListMonitoredResourcesRequest) => any;
1580
+ }
1581
+
1582
+ export interface MonitoredResourceIdentifier {
1583
+
1584
+ MonitoredResourceName?: string;
1585
+
1586
+ Type?: string;
1587
+
1588
+ ResourcePermission?: ResourcePermission | string;
1589
+ }
1590
+ export declare namespace MonitoredResourceIdentifier {
1591
+
1592
+ const filterSensitiveLog: (obj: MonitoredResourceIdentifier) => any;
1593
+ }
1594
+ export interface ListMonitoredResourcesResponse {
1595
+
1596
+ MonitoredResourceIdentifiers: MonitoredResourceIdentifier[] | undefined;
1597
+
1598
+ NextToken?: string;
1599
+ }
1600
+ export declare namespace ListMonitoredResourcesResponse {
1601
+
1602
+ const filterSensitiveLog: (obj: ListMonitoredResourcesResponse) => any;
1603
+ }
1459
1604
  export interface ListNotificationChannelsRequest {
1460
1605
 
1461
1606
  NextToken?: string;
@@ -1887,6 +2032,15 @@ export declare namespace UpdateResourceCollectionResponse {
1887
2032
  const filterSensitiveLog: (obj: UpdateResourceCollectionResponse) => any;
1888
2033
  }
1889
2034
 
2035
+ export interface LogsAnomalyDetectionIntegrationConfig {
2036
+
2037
+ OptInStatus?: OptInStatus | string;
2038
+ }
2039
+ export declare namespace LogsAnomalyDetectionIntegrationConfig {
2040
+
2041
+ const filterSensitiveLog: (obj: LogsAnomalyDetectionIntegrationConfig) => any;
2042
+ }
2043
+
1890
2044
  export interface OpsCenterIntegrationConfig {
1891
2045
 
1892
2046
  OptInStatus?: OptInStatus | string;
@@ -1899,6 +2053,8 @@ export declare namespace OpsCenterIntegrationConfig {
1899
2053
  export interface UpdateServiceIntegrationConfig {
1900
2054
 
1901
2055
  OpsCenter?: OpsCenterIntegrationConfig;
2056
+
2057
+ LogsAnomalyDetection?: LogsAnomalyDetectionIntegrationConfig;
1902
2058
  }
1903
2059
  export declare namespace UpdateServiceIntegrationConfig {
1904
2060
 
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListAnomalousLogGroupsCommandInput, ListAnomalousLogGroupsCommandOutput } from "../commands/ListAnomalousLogGroupsCommand";
3
+ import { DevOpsGuruPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListAnomalousLogGroups(config: DevOpsGuruPaginationConfiguration, input: ListAnomalousLogGroupsCommandInput, ...additionalArguments: any): Paginator<ListAnomalousLogGroupsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListMonitoredResourcesCommandInput, ListMonitoredResourcesCommandOutput } from "../commands/ListMonitoredResourcesCommand";
3
+ import { DevOpsGuruPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListMonitoredResources(config: DevOpsGuruPaginationConfiguration, input: ListMonitoredResourcesCommandInput, ...additionalArguments: any): Paginator<ListMonitoredResourcesCommandOutput>;
@@ -4,8 +4,10 @@ export * from "./GetCostEstimationPaginator";
4
4
  export * from "./GetResourceCollectionPaginator";
5
5
  export * from "./Interfaces";
6
6
  export * from "./ListAnomaliesForInsightPaginator";
7
+ export * from "./ListAnomalousLogGroupsPaginator";
7
8
  export * from "./ListEventsPaginator";
8
9
  export * from "./ListInsightsPaginator";
10
+ export * from "./ListMonitoredResourcesPaginator";
9
11
  export * from "./ListNotificationChannelsPaginator";
10
12
  export * from "./ListOrganizationInsightsPaginator";
11
13
  export * from "./ListRecommendationsPaginator";
@@ -16,8 +16,10 @@ import { DescribeServiceIntegrationCommandInput, DescribeServiceIntegrationComma
16
16
  import { GetCostEstimationCommandInput, GetCostEstimationCommandOutput } from "../commands/GetCostEstimationCommand";
17
17
  import { GetResourceCollectionCommandInput, GetResourceCollectionCommandOutput } from "../commands/GetResourceCollectionCommand";
18
18
  import { ListAnomaliesForInsightCommandInput, ListAnomaliesForInsightCommandOutput } from "../commands/ListAnomaliesForInsightCommand";
19
+ import { ListAnomalousLogGroupsCommandInput, ListAnomalousLogGroupsCommandOutput } from "../commands/ListAnomalousLogGroupsCommand";
19
20
  import { ListEventsCommandInput, ListEventsCommandOutput } from "../commands/ListEventsCommand";
20
21
  import { ListInsightsCommandInput, ListInsightsCommandOutput } from "../commands/ListInsightsCommand";
22
+ import { ListMonitoredResourcesCommandInput, ListMonitoredResourcesCommandOutput } from "../commands/ListMonitoredResourcesCommand";
21
23
  import { ListNotificationChannelsCommandInput, ListNotificationChannelsCommandOutput } from "../commands/ListNotificationChannelsCommand";
22
24
  import { ListOrganizationInsightsCommandInput, ListOrganizationInsightsCommandOutput } from "../commands/ListOrganizationInsightsCommand";
23
25
  import { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "../commands/ListRecommendationsCommand";
@@ -45,8 +47,10 @@ export declare const serializeAws_restJson1DescribeServiceIntegrationCommand: (i
45
47
  export declare const serializeAws_restJson1GetCostEstimationCommand: (input: GetCostEstimationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
48
  export declare const serializeAws_restJson1GetResourceCollectionCommand: (input: GetResourceCollectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
49
  export declare const serializeAws_restJson1ListAnomaliesForInsightCommand: (input: ListAnomaliesForInsightCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
+ export declare const serializeAws_restJson1ListAnomalousLogGroupsCommand: (input: ListAnomalousLogGroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
51
  export declare const serializeAws_restJson1ListEventsCommand: (input: ListEventsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
52
  export declare const serializeAws_restJson1ListInsightsCommand: (input: ListInsightsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
+ export declare const serializeAws_restJson1ListMonitoredResourcesCommand: (input: ListMonitoredResourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
54
  export declare const serializeAws_restJson1ListNotificationChannelsCommand: (input: ListNotificationChannelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
55
  export declare const serializeAws_restJson1ListOrganizationInsightsCommand: (input: ListOrganizationInsightsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
56
  export declare const serializeAws_restJson1ListRecommendationsCommand: (input: ListRecommendationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -74,8 +78,10 @@ export declare const deserializeAws_restJson1DescribeServiceIntegrationCommand:
74
78
  export declare const deserializeAws_restJson1GetCostEstimationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCostEstimationCommandOutput>;
75
79
  export declare const deserializeAws_restJson1GetResourceCollectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourceCollectionCommandOutput>;
76
80
  export declare const deserializeAws_restJson1ListAnomaliesForInsightCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAnomaliesForInsightCommandOutput>;
81
+ export declare const deserializeAws_restJson1ListAnomalousLogGroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAnomalousLogGroupsCommandOutput>;
77
82
  export declare const deserializeAws_restJson1ListEventsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEventsCommandOutput>;
78
83
  export declare const deserializeAws_restJson1ListInsightsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListInsightsCommandOutput>;
84
+ export declare const deserializeAws_restJson1ListMonitoredResourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMonitoredResourcesCommandOutput>;
79
85
  export declare const deserializeAws_restJson1ListNotificationChannelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListNotificationChannelsCommandOutput>;
80
86
  export declare const deserializeAws_restJson1ListOrganizationInsightsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOrganizationInsightsCommandOutput>;
81
87
  export declare const deserializeAws_restJson1ListRecommendationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRecommendationsCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-devops-guru",
3
3
  "description": "AWS SDK for JavaScript Devops Guru Client for Node.js, Browser and React Native",
4
- "version": "3.131.0",
4
+ "version": "3.133.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",