@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
@@ -0,0 +1,37 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsGuruClient";
4
+ import { ListAnomalousLogGroupsRequest, ListAnomalousLogGroupsResponse } from "../models/models_0";
5
+ export interface ListAnomalousLogGroupsCommandInput extends ListAnomalousLogGroupsRequest {
6
+ }
7
+ export interface ListAnomalousLogGroupsCommandOutput extends ListAnomalousLogGroupsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>
11
+ * Returns the list of log groups that contain log anomalies.
12
+ * </p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { DevOpsGuruClient, ListAnomalousLogGroupsCommand } from "@aws-sdk/client-devops-guru"; // ES Modules import
17
+ * // const { DevOpsGuruClient, ListAnomalousLogGroupsCommand } = require("@aws-sdk/client-devops-guru"); // CommonJS import
18
+ * const client = new DevOpsGuruClient(config);
19
+ * const command = new ListAnomalousLogGroupsCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link ListAnomalousLogGroupsCommandInput} for command's `input` shape.
24
+ * @see {@link ListAnomalousLogGroupsCommandOutput} for command's `response` shape.
25
+ * @see {@link DevOpsGuruClientResolvedConfig | config} for DevOpsGuruClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class ListAnomalousLogGroupsCommand extends $Command<ListAnomalousLogGroupsCommandInput, ListAnomalousLogGroupsCommandOutput, DevOpsGuruClientResolvedConfig> {
29
+ readonly input: ListAnomalousLogGroupsCommandInput;
30
+ constructor(input: ListAnomalousLogGroupsCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAnomalousLogGroupsCommandInput, ListAnomalousLogGroupsCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsGuruClient";
4
+ import { ListMonitoredResourcesRequest, ListMonitoredResourcesResponse } from "../models/models_0";
5
+ export interface ListMonitoredResourcesCommandInput extends ListMonitoredResourcesRequest {
6
+ }
7
+ export interface ListMonitoredResourcesCommandOutput extends ListMonitoredResourcesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>
11
+ * Returns the list of all log groups that are being monitored and tagged by DevOps Guru.
12
+ * </p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { DevOpsGuruClient, ListMonitoredResourcesCommand } from "@aws-sdk/client-devops-guru"; // ES Modules import
17
+ * // const { DevOpsGuruClient, ListMonitoredResourcesCommand } = require("@aws-sdk/client-devops-guru"); // CommonJS import
18
+ * const client = new DevOpsGuruClient(config);
19
+ * const command = new ListMonitoredResourcesCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link ListMonitoredResourcesCommandInput} for command's `input` shape.
24
+ * @see {@link ListMonitoredResourcesCommandOutput} for command's `response` shape.
25
+ * @see {@link DevOpsGuruClientResolvedConfig | config} for DevOpsGuruClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class ListMonitoredResourcesCommand extends $Command<ListMonitoredResourcesCommandInput, ListMonitoredResourcesCommandOutput, DevOpsGuruClientResolvedConfig> {
29
+ readonly input: ListMonitoredResourcesCommandInput;
30
+ constructor(input: ListMonitoredResourcesCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListMonitoredResourcesCommandInput, ListMonitoredResourcesCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -14,8 +14,10 @@ export * from "./DescribeServiceIntegrationCommand";
14
14
  export * from "./GetCostEstimationCommand";
15
15
  export * from "./GetResourceCollectionCommand";
16
16
  export * from "./ListAnomaliesForInsightCommand";
17
+ export * from "./ListAnomalousLogGroupsCommand";
17
18
  export * from "./ListEventsCommand";
18
19
  export * from "./ListInsightsCommand";
20
+ export * from "./ListMonitoredResourcesCommand";
19
21
  export * from "./ListNotificationChannelsCommand";
20
22
  export * from "./ListOrganizationInsightsCommand";
21
23
  export * from "./ListRecommendationsCommand";
@@ -303,6 +303,133 @@ export declare namespace AmazonCodeGuruProfilerIntegration {
303
303
  */
304
304
  const filterSensitiveLog: (obj: AmazonCodeGuruProfilerIntegration) => any;
305
305
  }
306
+ export declare enum LogAnomalyType {
307
+ BLOCK_FORMAT = "BLOCK_FORMAT",
308
+ FORMAT = "FORMAT",
309
+ HTTP_CODE = "HTTP_CODE",
310
+ KEYWORD = "KEYWORD",
311
+ KEYWORD_TOKEN = "KEYWORD_TOKEN",
312
+ NEW_FIELD_NAME = "NEW_FIELD_NAME",
313
+ NUMERICAL_NAN = "NUMERICAL_NAN",
314
+ NUMERICAL_POINT = "NUMERICAL_POINT"
315
+ }
316
+ /**
317
+ * <p>
318
+ * Information about an anomalous log event found within a log group.
319
+ * </p>
320
+ */
321
+ export interface LogAnomalyClass {
322
+ /**
323
+ * <p>
324
+ * The name of the Amazon CloudWatch log stream that the anomalous log event belongs to. A log stream is a sequence of log events that share the same source.
325
+ * </p>
326
+ */
327
+ LogStreamName?: string;
328
+ /**
329
+ * <p>
330
+ * The type of log anomaly that has been detected.
331
+ * </p>
332
+ */
333
+ LogAnomalyType?: LogAnomalyType | string;
334
+ /**
335
+ * <p>
336
+ * The token where the anomaly was detected. This may refer to an exception or another location, or it may be blank for log anomalies such as format anomalies.
337
+ * </p>
338
+ */
339
+ LogAnomalyToken?: string;
340
+ /**
341
+ * <p>
342
+ * The ID of the log event.
343
+ * </p>
344
+ */
345
+ LogEventId?: string;
346
+ /**
347
+ * <p>
348
+ * The explanation for why the log event is considered an anomaly.
349
+ * </p>
350
+ */
351
+ Explanation?: string;
352
+ /**
353
+ * <p>
354
+ * The number of log lines where this anomalous log event occurs.
355
+ * </p>
356
+ */
357
+ NumberOfLogLinesOccurrences?: number;
358
+ /**
359
+ * <p>
360
+ * The time of the first occurrence of the anomalous log event.
361
+ * </p>
362
+ */
363
+ LogEventTimestamp?: Date;
364
+ }
365
+ export declare namespace LogAnomalyClass {
366
+ /**
367
+ * @internal
368
+ */
369
+ const filterSensitiveLog: (obj: LogAnomalyClass) => any;
370
+ }
371
+ /**
372
+ * <p>
373
+ * A cluster of similar anomalous log events found within a log group.
374
+ * </p>
375
+ */
376
+ export interface LogAnomalyShowcase {
377
+ /**
378
+ * <p>
379
+ * A list of anomalous log events that may be related.
380
+ * </p>
381
+ */
382
+ LogAnomalyClasses?: LogAnomalyClass[];
383
+ }
384
+ export declare namespace LogAnomalyShowcase {
385
+ /**
386
+ * @internal
387
+ */
388
+ const filterSensitiveLog: (obj: LogAnomalyShowcase) => any;
389
+ }
390
+ /**
391
+ * <p>
392
+ * An Amazon CloudWatch log group that contains log anomalies and is used to generate an insight.
393
+ * </p>
394
+ */
395
+ export interface AnomalousLogGroup {
396
+ /**
397
+ * <p>
398
+ * The name of the CloudWatch log group.
399
+ * </p>
400
+ */
401
+ LogGroupName?: string;
402
+ /**
403
+ * <p>
404
+ * The time the anomalous log events began. The impact start time indicates the time of the first log anomaly event that occurs.
405
+ * </p>
406
+ */
407
+ ImpactStartTime?: Date;
408
+ /**
409
+ * <p>
410
+ * The time the anomalous log events stopped.
411
+ * </p>
412
+ */
413
+ ImpactEndTime?: Date;
414
+ /**
415
+ * <p>
416
+ * The number of log lines that were scanned for anomalous log events.
417
+ * </p>
418
+ */
419
+ NumberOfLogLinesScanned?: number;
420
+ /**
421
+ * <p>
422
+ * The log anomalies in the log group. Each log anomaly displayed represents a cluster of similar anomalous log events.
423
+ * </p>
424
+ */
425
+ LogAnomalyShowcases?: LogAnomalyShowcase[];
426
+ }
427
+ export declare namespace AnomalousLogGroup {
428
+ /**
429
+ * @internal
430
+ */
431
+ const filterSensitiveLog: (obj: AnomalousLogGroup) => any;
432
+ }
306
433
  /**
307
434
  * <p> A time range that specifies when DevOps Guru opens and then closes an anomaly. This
308
435
  * is different from <code>AnomalyTimeRange</code>, which specifies the time range when
@@ -352,7 +479,7 @@ export declare enum AnomalySeverity {
352
479
  MEDIUM = "MEDIUM"
353
480
  }
354
481
  /**
355
- * <p> The dimension of am Amazon CloudWatch metric that is used when DevOps Guru analyzes the resources in
482
+ * <p> The dimension of an Amazon CloudWatch metric that is used when DevOps Guru analyzes the resources in
356
483
  * your account for operational problems and anomalous behavior. A dimension is a
357
484
  * name/value pair that is part of the identity of a metric. A metric can have up to 10
358
485
  * dimensions. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension">Dimensions</a> in the <i>Amazon CloudWatch User Guide</i>. </p>
@@ -2136,6 +2263,23 @@ export declare enum OptInStatus {
2136
2263
  DISABLED = "DISABLED",
2137
2264
  ENABLED = "ENABLED"
2138
2265
  }
2266
+ /**
2267
+ * <p>
2268
+ * Information about the integration of DevOps Guru with CloudWatch log groups for log anomaly detection.
2269
+ * </p>
2270
+ */
2271
+ export interface LogsAnomalyDetectionIntegration {
2272
+ /**
2273
+ * <p>Specifies if DevOps Guru is configured to perform log anomaly detection on CloudWatch log groups.</p>
2274
+ */
2275
+ OptInStatus?: OptInStatus | string;
2276
+ }
2277
+ export declare namespace LogsAnomalyDetectionIntegration {
2278
+ /**
2279
+ * @internal
2280
+ */
2281
+ const filterSensitiveLog: (obj: LogsAnomalyDetectionIntegration) => any;
2282
+ }
2139
2283
  /**
2140
2284
  * <p> Information about whether DevOps Guru is configured to create an OpsItem in Amazon Web Services Systems Manager
2141
2285
  * OpsCenter for each created insight. </p>
@@ -2163,6 +2307,12 @@ export interface ServiceIntegrationConfig {
2163
2307
  * OpsCenter for each created insight. </p>
2164
2308
  */
2165
2309
  OpsCenter?: OpsCenterIntegration;
2310
+ /**
2311
+ * <p>
2312
+ * Information about whether DevOps Guru is configured to perform log anomaly detection on Amazon CloudWatch log groups.
2313
+ * </p>
2314
+ */
2315
+ LogsAnomalyDetection?: LogsAnomalyDetectionIntegration;
2166
2316
  }
2167
2317
  export declare namespace ServiceIntegrationConfig {
2168
2318
  /**
@@ -2818,6 +2968,55 @@ export declare namespace ListAnomaliesForInsightResponse {
2818
2968
  */
2819
2969
  const filterSensitiveLog: (obj: ListAnomaliesForInsightResponse) => any;
2820
2970
  }
2971
+ export interface ListAnomalousLogGroupsRequest {
2972
+ /**
2973
+ * <p>
2974
+ * The ID of the insight containing the log groups.
2975
+ * </p>
2976
+ */
2977
+ InsightId: string | undefined;
2978
+ /**
2979
+ * <p>The maximum number of results to return with a single call.
2980
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
2981
+ */
2982
+ MaxResults?: number;
2983
+ /**
2984
+ * <p>The pagination token to use to retrieve
2985
+ * the next page of results for this operation. If this value is null, it retrieves the first page.</p>
2986
+ */
2987
+ NextToken?: string;
2988
+ }
2989
+ export declare namespace ListAnomalousLogGroupsRequest {
2990
+ /**
2991
+ * @internal
2992
+ */
2993
+ const filterSensitiveLog: (obj: ListAnomalousLogGroupsRequest) => any;
2994
+ }
2995
+ export interface ListAnomalousLogGroupsResponse {
2996
+ /**
2997
+ * <p>
2998
+ * The ID of the insight containing the log groups.
2999
+ * </p>
3000
+ */
3001
+ InsightId: string | undefined;
3002
+ /**
3003
+ * <p>
3004
+ * The list of Amazon CloudWatch log groups that are related to an insight.
3005
+ * </p>
3006
+ */
3007
+ AnomalousLogGroups: AnomalousLogGroup[] | undefined;
3008
+ /**
3009
+ * <p>The pagination token to use to retrieve
3010
+ * the next page of results for this operation. If there are no more pages, this value is null.</p>
3011
+ */
3012
+ NextToken?: string;
3013
+ }
3014
+ export declare namespace ListAnomalousLogGroupsResponse {
3015
+ /**
3016
+ * @internal
3017
+ */
3018
+ const filterSensitiveLog: (obj: ListAnomalousLogGroupsResponse) => any;
3019
+ }
2821
3020
  export declare enum EventDataSource {
2822
3021
  AWS_CLOUD_TRAIL = "AWS_CLOUD_TRAIL",
2823
3022
  AWS_CODE_DEPLOY = "AWS_CODE_DEPLOY"
@@ -3288,6 +3487,112 @@ export declare namespace ListInsightsResponse {
3288
3487
  */
3289
3488
  const filterSensitiveLog: (obj: ListInsightsResponse) => any;
3290
3489
  }
3490
+ export declare enum ResourcePermission {
3491
+ FULL_PERMISSION = "FULL_PERMISSION",
3492
+ MISSING_PERMISSION = "MISSING_PERMISSION"
3493
+ }
3494
+ export declare enum ResourceTypeFilter {
3495
+ LOG_GROUPS = "LOG_GROUPS"
3496
+ }
3497
+ /**
3498
+ * <p>
3499
+ * Filters to determine which monitored resources you want to retrieve. You can filter by resource type or resource permission status.
3500
+ * </p>
3501
+ */
3502
+ export interface ListMonitoredResourcesFilters {
3503
+ /**
3504
+ * <p>
3505
+ * The permission status of a resource.
3506
+ * </p>
3507
+ */
3508
+ ResourcePermission: ResourcePermission | string | undefined;
3509
+ /**
3510
+ * <p>
3511
+ * The type of resource that you wish to retrieve, such as log groups.
3512
+ * </p>
3513
+ */
3514
+ ResourceTypeFilters: (ResourceTypeFilter | string)[] | undefined;
3515
+ }
3516
+ export declare namespace ListMonitoredResourcesFilters {
3517
+ /**
3518
+ * @internal
3519
+ */
3520
+ const filterSensitiveLog: (obj: ListMonitoredResourcesFilters) => any;
3521
+ }
3522
+ export interface ListMonitoredResourcesRequest {
3523
+ /**
3524
+ * <p>
3525
+ * Filters to determine which monitored resources you want to retrieve. You can filter by resource type or resource permission status.
3526
+ * </p>
3527
+ */
3528
+ Filters: ListMonitoredResourcesFilters | undefined;
3529
+ /**
3530
+ * <p>The maximum number of results to return with a single call.
3531
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
3532
+ */
3533
+ MaxResults?: number;
3534
+ /**
3535
+ * <p>The pagination token to use to retrieve
3536
+ * the next page of results for this operation. If this value is null, it retrieves the first page.</p>
3537
+ */
3538
+ NextToken?: string;
3539
+ }
3540
+ export declare namespace ListMonitoredResourcesRequest {
3541
+ /**
3542
+ * @internal
3543
+ */
3544
+ const filterSensitiveLog: (obj: ListMonitoredResourcesRequest) => any;
3545
+ }
3546
+ /**
3547
+ * <p>
3548
+ * Information about the resource that is being monitored, including the name of the resource, the type of resource, and whether or not permission is given to DevOps Guru to access that resource.
3549
+ * </p>
3550
+ */
3551
+ export interface MonitoredResourceIdentifier {
3552
+ /**
3553
+ * <p>
3554
+ * The name of the resource being monitored.
3555
+ * </p>
3556
+ */
3557
+ MonitoredResourceName?: string;
3558
+ /**
3559
+ * <p>
3560
+ * The type of resource being monitored.
3561
+ * </p>
3562
+ */
3563
+ Type?: string;
3564
+ /**
3565
+ * <p>
3566
+ * The permission status of a resource.
3567
+ * </p>
3568
+ */
3569
+ ResourcePermission?: ResourcePermission | string;
3570
+ }
3571
+ export declare namespace MonitoredResourceIdentifier {
3572
+ /**
3573
+ * @internal
3574
+ */
3575
+ const filterSensitiveLog: (obj: MonitoredResourceIdentifier) => any;
3576
+ }
3577
+ export interface ListMonitoredResourcesResponse {
3578
+ /**
3579
+ * <p>
3580
+ * Information about the resource that is being monitored, including the name of the resource, the type of resource, and whether or not permission is given to DevOps Guru to access that resource.
3581
+ * </p>
3582
+ */
3583
+ MonitoredResourceIdentifiers: MonitoredResourceIdentifier[] | undefined;
3584
+ /**
3585
+ * <p>The pagination token to use to retrieve
3586
+ * the next page of results for this operation. If there are no more pages, this value is null.</p>
3587
+ */
3588
+ NextToken?: string;
3589
+ }
3590
+ export declare namespace ListMonitoredResourcesResponse {
3591
+ /**
3592
+ * @internal
3593
+ */
3594
+ const filterSensitiveLog: (obj: ListMonitoredResourcesResponse) => any;
3595
+ }
3291
3596
  export interface ListNotificationChannelsRequest {
3292
3597
  /**
3293
3598
  * <p>The pagination token to use to retrieve
@@ -4140,9 +4445,26 @@ export declare namespace UpdateResourceCollectionResponse {
4140
4445
  */
4141
4446
  const filterSensitiveLog: (obj: UpdateResourceCollectionResponse) => any;
4142
4447
  }
4448
+ /**
4449
+ * <p>
4450
+ * Information about the integration of DevOps Guru with CloudWatch log groups for log anomaly detection. You can use this to update the configuration.
4451
+ * </p>
4452
+ */
4453
+ export interface LogsAnomalyDetectionIntegrationConfig {
4454
+ /**
4455
+ * <p>Specifies if DevOps Guru is configured to perform log anomaly detection on CloudWatch log groups.</p>
4456
+ */
4457
+ OptInStatus?: OptInStatus | string;
4458
+ }
4459
+ export declare namespace LogsAnomalyDetectionIntegrationConfig {
4460
+ /**
4461
+ * @internal
4462
+ */
4463
+ const filterSensitiveLog: (obj: LogsAnomalyDetectionIntegrationConfig) => any;
4464
+ }
4143
4465
  /**
4144
4466
  * <p> Information about whether DevOps Guru is configured to create an OpsItem in Amazon Web Services Systems Manager
4145
- * OpsCenter for each created insight. </p>
4467
+ * OpsCenter for each created insight. You can use this to update the configuration.</p>
4146
4468
  */
4147
4469
  export interface OpsCenterIntegrationConfig {
4148
4470
  /**
@@ -4164,9 +4486,15 @@ export declare namespace OpsCenterIntegrationConfig {
4164
4486
  export interface UpdateServiceIntegrationConfig {
4165
4487
  /**
4166
4488
  * <p> Information about whether DevOps Guru is configured to create an OpsItem in Amazon Web Services Systems Manager
4167
- * OpsCenter for each created insight. </p>
4489
+ * OpsCenter for each created insight. You can use this to update the configuration.</p>
4168
4490
  */
4169
4491
  OpsCenter?: OpsCenterIntegrationConfig;
4492
+ /**
4493
+ * <p>
4494
+ * Information about whether DevOps Guru is configured to perform log anomaly detection on Amazon CloudWatch log groups.
4495
+ * </p>
4496
+ */
4497
+ LogsAnomalyDetection?: LogsAnomalyDetectionIntegrationConfig;
4170
4498
  }
4171
4499
  export declare namespace UpdateServiceIntegrationConfig {
4172
4500
  /**
@@ -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>;
@@ -15,8 +15,10 @@ import { DescribeServiceIntegrationCommandInput, DescribeServiceIntegrationComma
15
15
  import { GetCostEstimationCommandInput, GetCostEstimationCommandOutput } from "./commands/GetCostEstimationCommand";
16
16
  import { GetResourceCollectionCommandInput, GetResourceCollectionCommandOutput } from "./commands/GetResourceCollectionCommand";
17
17
  import { ListAnomaliesForInsightCommandInput, ListAnomaliesForInsightCommandOutput } from "./commands/ListAnomaliesForInsightCommand";
18
+ import { ListAnomalousLogGroupsCommandInput, ListAnomalousLogGroupsCommandOutput } from "./commands/ListAnomalousLogGroupsCommand";
18
19
  import { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
19
20
  import { ListInsightsCommandInput, ListInsightsCommandOutput } from "./commands/ListInsightsCommand";
21
+ import { ListMonitoredResourcesCommandInput, ListMonitoredResourcesCommandOutput } from "./commands/ListMonitoredResourcesCommand";
20
22
  import { ListNotificationChannelsCommandInput, ListNotificationChannelsCommandOutput } from "./commands/ListNotificationChannelsCommand";
21
23
  import { ListOrganizationInsightsCommandInput, ListOrganizationInsightsCommandOutput } from "./commands/ListOrganizationInsightsCommand";
22
24
  import { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
@@ -96,6 +98,10 @@ export declare class DevOpsGuru extends DevOpsGuruClient {
96
98
  listAnomaliesForInsight(args: ListAnomaliesForInsightCommandInput, cb: (err: any, data?: ListAnomaliesForInsightCommandOutput) => void): void;
97
99
  listAnomaliesForInsight(args: ListAnomaliesForInsightCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnomaliesForInsightCommandOutput) => void): void;
98
100
 
101
+ listAnomalousLogGroups(args: ListAnomalousLogGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListAnomalousLogGroupsCommandOutput>;
102
+ listAnomalousLogGroups(args: ListAnomalousLogGroupsCommandInput, cb: (err: any, data?: ListAnomalousLogGroupsCommandOutput) => void): void;
103
+ listAnomalousLogGroups(args: ListAnomalousLogGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnomalousLogGroupsCommandOutput) => void): void;
104
+
99
105
  listEvents(args: ListEventsCommandInput, options?: __HttpHandlerOptions): Promise<ListEventsCommandOutput>;
100
106
  listEvents(args: ListEventsCommandInput, cb: (err: any, data?: ListEventsCommandOutput) => void): void;
101
107
  listEvents(args: ListEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventsCommandOutput) => void): void;
@@ -104,6 +110,10 @@ export declare class DevOpsGuru extends DevOpsGuruClient {
104
110
  listInsights(args: ListInsightsCommandInput, cb: (err: any, data?: ListInsightsCommandOutput) => void): void;
105
111
  listInsights(args: ListInsightsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInsightsCommandOutput) => void): void;
106
112
 
113
+ listMonitoredResources(args: ListMonitoredResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListMonitoredResourcesCommandOutput>;
114
+ listMonitoredResources(args: ListMonitoredResourcesCommandInput, cb: (err: any, data?: ListMonitoredResourcesCommandOutput) => void): void;
115
+ listMonitoredResources(args: ListMonitoredResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMonitoredResourcesCommandOutput) => void): void;
116
+
107
117
  listNotificationChannels(args: ListNotificationChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListNotificationChannelsCommandOutput>;
108
118
  listNotificationChannels(args: ListNotificationChannelsCommandInput, cb: (err: any, data?: ListNotificationChannelsCommandOutput) => void): void;
109
119
  listNotificationChannels(args: ListNotificationChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNotificationChannelsCommandOutput) => void): void;
@@ -22,8 +22,10 @@ import { DescribeServiceIntegrationCommandInput, DescribeServiceIntegrationComma
22
22
  import { GetCostEstimationCommandInput, GetCostEstimationCommandOutput } from "./commands/GetCostEstimationCommand";
23
23
  import { GetResourceCollectionCommandInput, GetResourceCollectionCommandOutput } from "./commands/GetResourceCollectionCommand";
24
24
  import { ListAnomaliesForInsightCommandInput, ListAnomaliesForInsightCommandOutput } from "./commands/ListAnomaliesForInsightCommand";
25
+ import { ListAnomalousLogGroupsCommandInput, ListAnomalousLogGroupsCommandOutput } from "./commands/ListAnomalousLogGroupsCommand";
25
26
  import { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
26
27
  import { ListInsightsCommandInput, ListInsightsCommandOutput } from "./commands/ListInsightsCommand";
28
+ import { ListMonitoredResourcesCommandInput, ListMonitoredResourcesCommandOutput } from "./commands/ListMonitoredResourcesCommand";
27
29
  import { ListNotificationChannelsCommandInput, ListNotificationChannelsCommandOutput } from "./commands/ListNotificationChannelsCommand";
28
30
  import { ListOrganizationInsightsCommandInput, ListOrganizationInsightsCommandOutput } from "./commands/ListOrganizationInsightsCommand";
29
31
  import { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
@@ -35,8 +37,8 @@ import { StartCostEstimationCommandInput, StartCostEstimationCommandOutput } fro
35
37
  import { UpdateEventSourcesConfigCommandInput, UpdateEventSourcesConfigCommandOutput } from "./commands/UpdateEventSourcesConfigCommand";
36
38
  import { UpdateResourceCollectionCommandInput, UpdateResourceCollectionCommandOutput } from "./commands/UpdateResourceCollectionCommand";
37
39
  import { UpdateServiceIntegrationCommandInput, UpdateServiceIntegrationCommandOutput } from "./commands/UpdateServiceIntegrationCommand";
38
- export declare type ServiceInputTypes = AddNotificationChannelCommandInput | DeleteInsightCommandInput | DescribeAccountHealthCommandInput | DescribeAccountOverviewCommandInput | DescribeAnomalyCommandInput | DescribeEventSourcesConfigCommandInput | DescribeFeedbackCommandInput | DescribeInsightCommandInput | DescribeOrganizationHealthCommandInput | DescribeOrganizationOverviewCommandInput | DescribeOrganizationResourceCollectionHealthCommandInput | DescribeResourceCollectionHealthCommandInput | DescribeServiceIntegrationCommandInput | GetCostEstimationCommandInput | GetResourceCollectionCommandInput | ListAnomaliesForInsightCommandInput | ListEventsCommandInput | ListInsightsCommandInput | ListNotificationChannelsCommandInput | ListOrganizationInsightsCommandInput | ListRecommendationsCommandInput | PutFeedbackCommandInput | RemoveNotificationChannelCommandInput | SearchInsightsCommandInput | SearchOrganizationInsightsCommandInput | StartCostEstimationCommandInput | UpdateEventSourcesConfigCommandInput | UpdateResourceCollectionCommandInput | UpdateServiceIntegrationCommandInput;
39
- export declare type ServiceOutputTypes = AddNotificationChannelCommandOutput | DeleteInsightCommandOutput | DescribeAccountHealthCommandOutput | DescribeAccountOverviewCommandOutput | DescribeAnomalyCommandOutput | DescribeEventSourcesConfigCommandOutput | DescribeFeedbackCommandOutput | DescribeInsightCommandOutput | DescribeOrganizationHealthCommandOutput | DescribeOrganizationOverviewCommandOutput | DescribeOrganizationResourceCollectionHealthCommandOutput | DescribeResourceCollectionHealthCommandOutput | DescribeServiceIntegrationCommandOutput | GetCostEstimationCommandOutput | GetResourceCollectionCommandOutput | ListAnomaliesForInsightCommandOutput | ListEventsCommandOutput | ListInsightsCommandOutput | ListNotificationChannelsCommandOutput | ListOrganizationInsightsCommandOutput | ListRecommendationsCommandOutput | PutFeedbackCommandOutput | RemoveNotificationChannelCommandOutput | SearchInsightsCommandOutput | SearchOrganizationInsightsCommandOutput | StartCostEstimationCommandOutput | UpdateEventSourcesConfigCommandOutput | UpdateResourceCollectionCommandOutput | UpdateServiceIntegrationCommandOutput;
40
+ export declare type ServiceInputTypes = AddNotificationChannelCommandInput | DeleteInsightCommandInput | DescribeAccountHealthCommandInput | DescribeAccountOverviewCommandInput | DescribeAnomalyCommandInput | DescribeEventSourcesConfigCommandInput | DescribeFeedbackCommandInput | DescribeInsightCommandInput | DescribeOrganizationHealthCommandInput | DescribeOrganizationOverviewCommandInput | DescribeOrganizationResourceCollectionHealthCommandInput | DescribeResourceCollectionHealthCommandInput | DescribeServiceIntegrationCommandInput | GetCostEstimationCommandInput | GetResourceCollectionCommandInput | ListAnomaliesForInsightCommandInput | ListAnomalousLogGroupsCommandInput | ListEventsCommandInput | ListInsightsCommandInput | ListMonitoredResourcesCommandInput | ListNotificationChannelsCommandInput | ListOrganizationInsightsCommandInput | ListRecommendationsCommandInput | PutFeedbackCommandInput | RemoveNotificationChannelCommandInput | SearchInsightsCommandInput | SearchOrganizationInsightsCommandInput | StartCostEstimationCommandInput | UpdateEventSourcesConfigCommandInput | UpdateResourceCollectionCommandInput | UpdateServiceIntegrationCommandInput;
41
+ export declare type ServiceOutputTypes = AddNotificationChannelCommandOutput | DeleteInsightCommandOutput | DescribeAccountHealthCommandOutput | DescribeAccountOverviewCommandOutput | DescribeAnomalyCommandOutput | DescribeEventSourcesConfigCommandOutput | DescribeFeedbackCommandOutput | DescribeInsightCommandOutput | DescribeOrganizationHealthCommandOutput | DescribeOrganizationOverviewCommandOutput | DescribeOrganizationResourceCollectionHealthCommandOutput | DescribeResourceCollectionHealthCommandOutput | DescribeServiceIntegrationCommandOutput | GetCostEstimationCommandOutput | GetResourceCollectionCommandOutput | ListAnomaliesForInsightCommandOutput | ListAnomalousLogGroupsCommandOutput | ListEventsCommandOutput | ListInsightsCommandOutput | ListMonitoredResourcesCommandOutput | ListNotificationChannelsCommandOutput | ListOrganizationInsightsCommandOutput | ListRecommendationsCommandOutput | PutFeedbackCommandOutput | RemoveNotificationChannelCommandOutput | SearchInsightsCommandOutput | SearchOrganizationInsightsCommandOutput | StartCostEstimationCommandOutput | UpdateEventSourcesConfigCommandOutput | UpdateResourceCollectionCommandOutput | UpdateServiceIntegrationCommandOutput;
40
42
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
41
43
 
42
44
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsGuruClient";
4
+ import { ListAnomalousLogGroupsRequest, ListAnomalousLogGroupsResponse } from "../models/models_0";
5
+ export interface ListAnomalousLogGroupsCommandInput extends ListAnomalousLogGroupsRequest {
6
+ }
7
+ export interface ListAnomalousLogGroupsCommandOutput extends ListAnomalousLogGroupsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListAnomalousLogGroupsCommand extends $Command<ListAnomalousLogGroupsCommandInput, ListAnomalousLogGroupsCommandOutput, DevOpsGuruClientResolvedConfig> {
11
+ readonly input: ListAnomalousLogGroupsCommandInput;
12
+ constructor(input: ListAnomalousLogGroupsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAnomalousLogGroupsCommandInput, ListAnomalousLogGroupsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsGuruClient";
4
+ import { ListMonitoredResourcesRequest, ListMonitoredResourcesResponse } from "../models/models_0";
5
+ export interface ListMonitoredResourcesCommandInput extends ListMonitoredResourcesRequest {
6
+ }
7
+ export interface ListMonitoredResourcesCommandOutput extends ListMonitoredResourcesResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListMonitoredResourcesCommand extends $Command<ListMonitoredResourcesCommandInput, ListMonitoredResourcesCommandOutput, DevOpsGuruClientResolvedConfig> {
11
+ readonly input: ListMonitoredResourcesCommandInput;
12
+ constructor(input: ListMonitoredResourcesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListMonitoredResourcesCommandInput, ListMonitoredResourcesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -14,8 +14,10 @@ export * from "./DescribeServiceIntegrationCommand";
14
14
  export * from "./GetCostEstimationCommand";
15
15
  export * from "./GetResourceCollectionCommand";
16
16
  export * from "./ListAnomaliesForInsightCommand";
17
+ export * from "./ListAnomalousLogGroupsCommand";
17
18
  export * from "./ListEventsCommand";
18
19
  export * from "./ListInsightsCommand";
20
+ export * from "./ListMonitoredResourcesCommand";
19
21
  export * from "./ListNotificationChannelsCommand";
20
22
  export * from "./ListOrganizationInsightsCommand";
21
23
  export * from "./ListRecommendationsCommand";