@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.133.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.132.0...v3.133.0) (2022-07-19)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-devops-guru:** Added new APIs for log anomaly detection feature. ([90ed85b](https://github.com/aws/aws-sdk-js-v3/commit/90ed85b6817d3f035124d62818670b3b4807c492))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
7
18
 
8
19
 
@@ -17,8 +17,10 @@ const DescribeServiceIntegrationCommand_1 = require("./commands/DescribeServiceI
17
17
  const GetCostEstimationCommand_1 = require("./commands/GetCostEstimationCommand");
18
18
  const GetResourceCollectionCommand_1 = require("./commands/GetResourceCollectionCommand");
19
19
  const ListAnomaliesForInsightCommand_1 = require("./commands/ListAnomaliesForInsightCommand");
20
+ const ListAnomalousLogGroupsCommand_1 = require("./commands/ListAnomalousLogGroupsCommand");
20
21
  const ListEventsCommand_1 = require("./commands/ListEventsCommand");
21
22
  const ListInsightsCommand_1 = require("./commands/ListInsightsCommand");
23
+ const ListMonitoredResourcesCommand_1 = require("./commands/ListMonitoredResourcesCommand");
22
24
  const ListNotificationChannelsCommand_1 = require("./commands/ListNotificationChannelsCommand");
23
25
  const ListOrganizationInsightsCommand_1 = require("./commands/ListOrganizationInsightsCommand");
24
26
  const ListRecommendationsCommand_1 = require("./commands/ListRecommendationsCommand");
@@ -256,6 +258,20 @@ class DevOpsGuru extends DevOpsGuruClient_1.DevOpsGuruClient {
256
258
  return this.send(command, optionsOrCb);
257
259
  }
258
260
  }
261
+ listAnomalousLogGroups(args, optionsOrCb, cb) {
262
+ const command = new ListAnomalousLogGroupsCommand_1.ListAnomalousLogGroupsCommand(args);
263
+ if (typeof optionsOrCb === "function") {
264
+ this.send(command, optionsOrCb);
265
+ }
266
+ else if (typeof cb === "function") {
267
+ if (typeof optionsOrCb !== "object")
268
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
269
+ this.send(command, optionsOrCb || {}, cb);
270
+ }
271
+ else {
272
+ return this.send(command, optionsOrCb);
273
+ }
274
+ }
259
275
  listEvents(args, optionsOrCb, cb) {
260
276
  const command = new ListEventsCommand_1.ListEventsCommand(args);
261
277
  if (typeof optionsOrCb === "function") {
@@ -284,6 +300,20 @@ class DevOpsGuru extends DevOpsGuruClient_1.DevOpsGuruClient {
284
300
  return this.send(command, optionsOrCb);
285
301
  }
286
302
  }
303
+ listMonitoredResources(args, optionsOrCb, cb) {
304
+ const command = new ListMonitoredResourcesCommand_1.ListMonitoredResourcesCommand(args);
305
+ if (typeof optionsOrCb === "function") {
306
+ this.send(command, optionsOrCb);
307
+ }
308
+ else if (typeof cb === "function") {
309
+ if (typeof optionsOrCb !== "object")
310
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
311
+ this.send(command, optionsOrCb || {}, cb);
312
+ }
313
+ else {
314
+ return this.send(command, optionsOrCb);
315
+ }
316
+ }
287
317
  listNotificationChannels(args, optionsOrCb, cb) {
288
318
  const command = new ListNotificationChannelsCommand_1.ListNotificationChannelsCommand(args);
289
319
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAnomalousLogGroupsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListAnomalousLogGroupsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "DevOpsGuruClient";
18
+ const commandName = "ListAnomalousLogGroupsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListAnomalousLogGroupsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListAnomalousLogGroupsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListAnomalousLogGroupsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListAnomalousLogGroupsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListAnomalousLogGroupsCommand = ListAnomalousLogGroupsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListMonitoredResourcesCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListMonitoredResourcesCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "DevOpsGuruClient";
18
+ const commandName = "ListMonitoredResourcesCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListMonitoredResourcesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListMonitoredResourcesResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListMonitoredResourcesCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListMonitoredResourcesCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListMonitoredResourcesCommand = ListMonitoredResourcesCommand;
@@ -17,8 +17,10 @@ tslib_1.__exportStar(require("./DescribeServiceIntegrationCommand"), exports);
17
17
  tslib_1.__exportStar(require("./GetCostEstimationCommand"), exports);
18
18
  tslib_1.__exportStar(require("./GetResourceCollectionCommand"), exports);
19
19
  tslib_1.__exportStar(require("./ListAnomaliesForInsightCommand"), exports);
20
+ tslib_1.__exportStar(require("./ListAnomalousLogGroupsCommand"), exports);
20
21
  tslib_1.__exportStar(require("./ListEventsCommand"), exports);
21
22
  tslib_1.__exportStar(require("./ListInsightsCommand"), exports);
23
+ tslib_1.__exportStar(require("./ListMonitoredResourcesCommand"), exports);
22
24
  tslib_1.__exportStar(require("./ListNotificationChannelsCommand"), exports);
23
25
  tslib_1.__exportStar(require("./ListOrganizationInsightsCommand"), exports);
24
26
  tslib_1.__exportStar(require("./ListRecommendationsCommand"), exports);
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourceCollection = exports.TagCollection = exports.CloudFormationCollection = exports.PredictionTimeRange = exports.DescribeAnomalyRequest = exports.DescribeAccountOverviewResponse = exports.DescribeAccountOverviewRequest = exports.DescribeAccountHealthResponse = exports.DescribeAccountHealthRequest = exports.DeleteInsightResponse = exports.DeleteInsightRequest = exports.AnomalyType = exports.AnomalyTimeRange = exports.AnomalyStatus = exports.AnomalySourceMetadata = exports.AnomalySourceDetails = exports.PerformanceInsightsMetricsDetail = exports.PerformanceInsightsStat = exports.PerformanceInsightsReferenceData = exports.PerformanceInsightsReferenceComparisonValues = exports.PerformanceInsightsReferenceScalar = exports.PerformanceInsightsReferenceMetric = exports.PerformanceInsightsMetricQuery = exports.PerformanceInsightsMetricDimensionGroup = exports.CloudWatchMetricsDetail = exports.CloudWatchMetricsStat = exports.CloudWatchMetricsDataSummary = exports.TimestampMetricValuePair = exports.CloudWatchMetricDataStatusCode = exports.CloudWatchMetricsDimension = exports.AnomalySeverity = exports.AnomalyResource = exports.AnomalyReportedTimeRange = exports.AmazonCodeGuruProfilerIntegration = exports.EventSourceOptInStatus = exports.ValidationException = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AddNotificationChannelResponse = exports.AddNotificationChannelRequest = exports.NotificationChannelConfig = exports.SnsChannelConfig = exports.AccountHealth = exports.AccountInsightHealth = exports.AccessDeniedException = void 0;
4
- exports.TagCollectionFilter = exports.CloudFormationCollectionFilter = exports.GetResourceCollectionRequest = exports.GetCostEstimationResponse = exports.CostEstimationTimeRange = exports.CostEstimationStatus = exports.CostEstimationResourceCollectionFilter = exports.TagCostEstimationResourceCollectionFilter = exports.CloudFormationCostEstimationResourceCollectionFilter = exports.ServiceResourceCost = exports.CostEstimationServiceResourceState = exports.GetCostEstimationRequest = exports.DescribeServiceIntegrationResponse = exports.ServiceIntegrationConfig = exports.OpsCenterIntegration = exports.OptInStatus = exports.DescribeServiceIntegrationRequest = exports.DescribeResourceCollectionHealthResponse = exports.DescribeResourceCollectionHealthRequest = exports.ResourceCollectionType = exports.DescribeOrganizationResourceCollectionHealthResponse = exports.TagHealth = exports.ServiceHealth = exports.ServiceName = exports.ServiceInsightHealth = exports.CloudFormationHealth = exports.InsightHealth = exports.DescribeOrganizationResourceCollectionHealthRequest = exports.OrganizationResourceCollectionType = exports.DescribeOrganizationOverviewResponse = exports.DescribeOrganizationOverviewRequest = exports.DescribeOrganizationHealthResponse = exports.DescribeOrganizationHealthRequest = exports.DescribeInsightResponse = exports.ReactiveInsight = exports.ProactiveInsight = exports.InsightStatus = exports.InsightSeverity = exports.InsightTimeRange = exports.DescribeInsightRequest = exports.DescribeFeedbackResponse = exports.InsightFeedback = exports.InsightFeedbackOption = exports.DescribeFeedbackRequest = exports.DescribeEventSourcesConfigResponse = exports.EventSourcesConfig = exports.DescribeEventSourcesConfigRequest = exports.DescribeAnomalyResponse = exports.ReactiveAnomaly = exports.ProactiveAnomaly = void 0;
5
- exports.SearchInsightsResponse = exports.SearchInsightsRequest = exports.SearchInsightsFilters = exports.RemoveNotificationChannelResponse = exports.RemoveNotificationChannelRequest = exports.PutFeedbackResponse = exports.PutFeedbackRequest = exports.ListRecommendationsResponse = exports.Recommendation = exports.RecommendationRelatedEvent = exports.RecommendationRelatedEventResource = exports.RecommendationRelatedAnomaly = exports.RecommendationRelatedAnomalySourceDetail = exports.RecommendationRelatedCloudWatchMetricsSourceDetail = exports.RecommendationRelatedAnomalyResource = exports.ListRecommendationsRequest = exports.Locale = exports.ListOrganizationInsightsResponse = exports.ReactiveOrganizationInsightSummary = exports.ProactiveOrganizationInsightSummary = exports.ListOrganizationInsightsRequest = exports.ListNotificationChannelsResponse = exports.NotificationChannel = exports.ListNotificationChannelsRequest = exports.ListInsightsResponse = exports.ReactiveInsightSummary = exports.ProactiveInsightSummary = exports.ServiceCollection = exports.ListInsightsRequest = exports.ListInsightsStatusFilter = exports.ListInsightsOngoingStatusFilter = exports.ListInsightsClosedStatusFilter = exports.EndTimeRange = exports.ListInsightsAnyStatusFilter = exports.InsightType = exports.ListEventsResponse = exports.Event = exports.EventResource = exports.ListEventsRequest = exports.ListEventsFilters = exports.EventTimeRange = exports.EventClass = exports.EventDataSource = exports.ListAnomaliesForInsightResponse = exports.ReactiveAnomalySummary = exports.ProactiveAnomalySummary = exports.ListAnomaliesForInsightRequest = exports.StartTimeRange = exports.GetResourceCollectionResponse = exports.ResourceCollectionFilter = void 0;
6
- exports.UpdateServiceIntegrationResponse = exports.UpdateServiceIntegrationRequest = exports.UpdateServiceIntegrationConfig = exports.OpsCenterIntegrationConfig = exports.UpdateResourceCollectionResponse = exports.UpdateResourceCollectionRequest = exports.UpdateResourceCollectionFilter = exports.UpdateTagCollectionFilter = exports.UpdateCloudFormationCollectionFilter = exports.UpdateResourceCollectionAction = exports.UpdateEventSourcesConfigResponse = exports.UpdateEventSourcesConfigRequest = exports.StartCostEstimationResponse = exports.StartCostEstimationRequest = exports.SearchOrganizationInsightsResponse = exports.SearchOrganizationInsightsRequest = exports.SearchOrganizationInsightsFilters = void 0;
3
+ exports.DescribeAnomalyRequest = exports.DescribeAccountOverviewResponse = exports.DescribeAccountOverviewRequest = exports.DescribeAccountHealthResponse = exports.DescribeAccountHealthRequest = exports.DeleteInsightResponse = exports.DeleteInsightRequest = exports.AnomalyType = exports.AnomalyTimeRange = exports.AnomalyStatus = exports.AnomalySourceMetadata = exports.AnomalySourceDetails = exports.PerformanceInsightsMetricsDetail = exports.PerformanceInsightsStat = exports.PerformanceInsightsReferenceData = exports.PerformanceInsightsReferenceComparisonValues = exports.PerformanceInsightsReferenceScalar = exports.PerformanceInsightsReferenceMetric = exports.PerformanceInsightsMetricQuery = exports.PerformanceInsightsMetricDimensionGroup = exports.CloudWatchMetricsDetail = exports.CloudWatchMetricsStat = exports.CloudWatchMetricsDataSummary = exports.TimestampMetricValuePair = exports.CloudWatchMetricDataStatusCode = exports.CloudWatchMetricsDimension = exports.AnomalySeverity = exports.AnomalyResource = exports.AnomalyReportedTimeRange = exports.AnomalousLogGroup = exports.LogAnomalyShowcase = exports.LogAnomalyClass = exports.LogAnomalyType = exports.AmazonCodeGuruProfilerIntegration = exports.EventSourceOptInStatus = exports.ValidationException = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AddNotificationChannelResponse = exports.AddNotificationChannelRequest = exports.NotificationChannelConfig = exports.SnsChannelConfig = exports.AccountHealth = exports.AccountInsightHealth = exports.AccessDeniedException = void 0;
4
+ exports.CostEstimationStatus = exports.CostEstimationResourceCollectionFilter = exports.TagCostEstimationResourceCollectionFilter = exports.CloudFormationCostEstimationResourceCollectionFilter = exports.ServiceResourceCost = exports.CostEstimationServiceResourceState = exports.GetCostEstimationRequest = exports.DescribeServiceIntegrationResponse = exports.ServiceIntegrationConfig = exports.OpsCenterIntegration = exports.LogsAnomalyDetectionIntegration = exports.OptInStatus = exports.DescribeServiceIntegrationRequest = exports.DescribeResourceCollectionHealthResponse = exports.DescribeResourceCollectionHealthRequest = exports.ResourceCollectionType = exports.DescribeOrganizationResourceCollectionHealthResponse = exports.TagHealth = exports.ServiceHealth = exports.ServiceName = exports.ServiceInsightHealth = exports.CloudFormationHealth = exports.InsightHealth = exports.DescribeOrganizationResourceCollectionHealthRequest = exports.OrganizationResourceCollectionType = exports.DescribeOrganizationOverviewResponse = exports.DescribeOrganizationOverviewRequest = exports.DescribeOrganizationHealthResponse = exports.DescribeOrganizationHealthRequest = exports.DescribeInsightResponse = exports.ReactiveInsight = exports.ProactiveInsight = exports.InsightStatus = exports.InsightSeverity = exports.InsightTimeRange = exports.DescribeInsightRequest = exports.DescribeFeedbackResponse = exports.InsightFeedback = exports.InsightFeedbackOption = exports.DescribeFeedbackRequest = exports.DescribeEventSourcesConfigResponse = exports.EventSourcesConfig = exports.DescribeEventSourcesConfigRequest = exports.DescribeAnomalyResponse = exports.ReactiveAnomaly = exports.ProactiveAnomaly = exports.ResourceCollection = exports.TagCollection = exports.CloudFormationCollection = exports.PredictionTimeRange = void 0;
5
+ exports.RecommendationRelatedCloudWatchMetricsSourceDetail = exports.RecommendationRelatedAnomalyResource = exports.ListRecommendationsRequest = exports.Locale = exports.ListOrganizationInsightsResponse = exports.ReactiveOrganizationInsightSummary = exports.ProactiveOrganizationInsightSummary = exports.ListOrganizationInsightsRequest = exports.ListNotificationChannelsResponse = exports.NotificationChannel = exports.ListNotificationChannelsRequest = exports.ListMonitoredResourcesResponse = exports.MonitoredResourceIdentifier = exports.ListMonitoredResourcesRequest = exports.ListMonitoredResourcesFilters = exports.ResourceTypeFilter = exports.ResourcePermission = exports.ListInsightsResponse = exports.ReactiveInsightSummary = exports.ProactiveInsightSummary = exports.ServiceCollection = exports.ListInsightsRequest = exports.ListInsightsStatusFilter = exports.ListInsightsOngoingStatusFilter = exports.ListInsightsClosedStatusFilter = exports.EndTimeRange = exports.ListInsightsAnyStatusFilter = exports.InsightType = exports.ListEventsResponse = exports.Event = exports.EventResource = exports.ListEventsRequest = exports.ListEventsFilters = exports.EventTimeRange = exports.EventClass = exports.EventDataSource = exports.ListAnomalousLogGroupsResponse = exports.ListAnomalousLogGroupsRequest = exports.ListAnomaliesForInsightResponse = exports.ReactiveAnomalySummary = exports.ProactiveAnomalySummary = exports.ListAnomaliesForInsightRequest = exports.StartTimeRange = exports.GetResourceCollectionResponse = exports.ResourceCollectionFilter = exports.TagCollectionFilter = exports.CloudFormationCollectionFilter = exports.GetResourceCollectionRequest = exports.GetCostEstimationResponse = exports.CostEstimationTimeRange = void 0;
6
+ exports.UpdateServiceIntegrationResponse = exports.UpdateServiceIntegrationRequest = exports.UpdateServiceIntegrationConfig = exports.OpsCenterIntegrationConfig = exports.LogsAnomalyDetectionIntegrationConfig = exports.UpdateResourceCollectionResponse = exports.UpdateResourceCollectionRequest = exports.UpdateResourceCollectionFilter = exports.UpdateTagCollectionFilter = exports.UpdateCloudFormationCollectionFilter = exports.UpdateResourceCollectionAction = exports.UpdateEventSourcesConfigResponse = exports.UpdateEventSourcesConfigRequest = exports.StartCostEstimationResponse = exports.StartCostEstimationRequest = exports.SearchOrganizationInsightsResponse = exports.SearchOrganizationInsightsRequest = exports.SearchOrganizationInsightsFilters = exports.SearchInsightsResponse = exports.SearchInsightsRequest = exports.SearchInsightsFilters = exports.RemoveNotificationChannelResponse = exports.RemoveNotificationChannelRequest = exports.PutFeedbackResponse = exports.PutFeedbackRequest = exports.ListRecommendationsResponse = exports.Recommendation = exports.RecommendationRelatedEvent = exports.RecommendationRelatedEventResource = exports.RecommendationRelatedAnomaly = exports.RecommendationRelatedAnomalySourceDetail = void 0;
7
7
  const DevOpsGuruServiceException_1 = require("./DevOpsGuruServiceException");
8
8
  class AccessDeniedException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
9
9
  constructor(opts) {
@@ -175,6 +175,35 @@ var AmazonCodeGuruProfilerIntegration;
175
175
  ...obj,
176
176
  });
177
177
  })(AmazonCodeGuruProfilerIntegration = exports.AmazonCodeGuruProfilerIntegration || (exports.AmazonCodeGuruProfilerIntegration = {}));
178
+ var LogAnomalyType;
179
+ (function (LogAnomalyType) {
180
+ LogAnomalyType["BLOCK_FORMAT"] = "BLOCK_FORMAT";
181
+ LogAnomalyType["FORMAT"] = "FORMAT";
182
+ LogAnomalyType["HTTP_CODE"] = "HTTP_CODE";
183
+ LogAnomalyType["KEYWORD"] = "KEYWORD";
184
+ LogAnomalyType["KEYWORD_TOKEN"] = "KEYWORD_TOKEN";
185
+ LogAnomalyType["NEW_FIELD_NAME"] = "NEW_FIELD_NAME";
186
+ LogAnomalyType["NUMERICAL_NAN"] = "NUMERICAL_NAN";
187
+ LogAnomalyType["NUMERICAL_POINT"] = "NUMERICAL_POINT";
188
+ })(LogAnomalyType = exports.LogAnomalyType || (exports.LogAnomalyType = {}));
189
+ var LogAnomalyClass;
190
+ (function (LogAnomalyClass) {
191
+ LogAnomalyClass.filterSensitiveLog = (obj) => ({
192
+ ...obj,
193
+ });
194
+ })(LogAnomalyClass = exports.LogAnomalyClass || (exports.LogAnomalyClass = {}));
195
+ var LogAnomalyShowcase;
196
+ (function (LogAnomalyShowcase) {
197
+ LogAnomalyShowcase.filterSensitiveLog = (obj) => ({
198
+ ...obj,
199
+ });
200
+ })(LogAnomalyShowcase = exports.LogAnomalyShowcase || (exports.LogAnomalyShowcase = {}));
201
+ var AnomalousLogGroup;
202
+ (function (AnomalousLogGroup) {
203
+ AnomalousLogGroup.filterSensitiveLog = (obj) => ({
204
+ ...obj,
205
+ });
206
+ })(AnomalousLogGroup = exports.AnomalousLogGroup || (exports.AnomalousLogGroup = {}));
178
207
  var AnomalyReportedTimeRange;
179
208
  (function (AnomalyReportedTimeRange) {
180
209
  AnomalyReportedTimeRange.filterSensitiveLog = (obj) => ({
@@ -609,6 +638,12 @@ var OptInStatus;
609
638
  OptInStatus["DISABLED"] = "DISABLED";
610
639
  OptInStatus["ENABLED"] = "ENABLED";
611
640
  })(OptInStatus = exports.OptInStatus || (exports.OptInStatus = {}));
641
+ var LogsAnomalyDetectionIntegration;
642
+ (function (LogsAnomalyDetectionIntegration) {
643
+ LogsAnomalyDetectionIntegration.filterSensitiveLog = (obj) => ({
644
+ ...obj,
645
+ });
646
+ })(LogsAnomalyDetectionIntegration = exports.LogsAnomalyDetectionIntegration || (exports.LogsAnomalyDetectionIntegration = {}));
612
647
  var OpsCenterIntegration;
613
648
  (function (OpsCenterIntegration) {
614
649
  OpsCenterIntegration.filterSensitiveLog = (obj) => ({
@@ -739,6 +774,18 @@ var ListAnomaliesForInsightResponse;
739
774
  ...obj,
740
775
  });
741
776
  })(ListAnomaliesForInsightResponse = exports.ListAnomaliesForInsightResponse || (exports.ListAnomaliesForInsightResponse = {}));
777
+ var ListAnomalousLogGroupsRequest;
778
+ (function (ListAnomalousLogGroupsRequest) {
779
+ ListAnomalousLogGroupsRequest.filterSensitiveLog = (obj) => ({
780
+ ...obj,
781
+ });
782
+ })(ListAnomalousLogGroupsRequest = exports.ListAnomalousLogGroupsRequest || (exports.ListAnomalousLogGroupsRequest = {}));
783
+ var ListAnomalousLogGroupsResponse;
784
+ (function (ListAnomalousLogGroupsResponse) {
785
+ ListAnomalousLogGroupsResponse.filterSensitiveLog = (obj) => ({
786
+ ...obj,
787
+ });
788
+ })(ListAnomalousLogGroupsResponse = exports.ListAnomalousLogGroupsResponse || (exports.ListAnomalousLogGroupsResponse = {}));
742
789
  var EventDataSource;
743
790
  (function (EventDataSource) {
744
791
  EventDataSource["AWS_CLOUD_TRAIL"] = "AWS_CLOUD_TRAIL";
@@ -853,6 +900,39 @@ var ListInsightsResponse;
853
900
  ...obj,
854
901
  });
855
902
  })(ListInsightsResponse = exports.ListInsightsResponse || (exports.ListInsightsResponse = {}));
903
+ var ResourcePermission;
904
+ (function (ResourcePermission) {
905
+ ResourcePermission["FULL_PERMISSION"] = "FULL_PERMISSION";
906
+ ResourcePermission["MISSING_PERMISSION"] = "MISSING_PERMISSION";
907
+ })(ResourcePermission = exports.ResourcePermission || (exports.ResourcePermission = {}));
908
+ var ResourceTypeFilter;
909
+ (function (ResourceTypeFilter) {
910
+ ResourceTypeFilter["LOG_GROUPS"] = "LOG_GROUPS";
911
+ })(ResourceTypeFilter = exports.ResourceTypeFilter || (exports.ResourceTypeFilter = {}));
912
+ var ListMonitoredResourcesFilters;
913
+ (function (ListMonitoredResourcesFilters) {
914
+ ListMonitoredResourcesFilters.filterSensitiveLog = (obj) => ({
915
+ ...obj,
916
+ });
917
+ })(ListMonitoredResourcesFilters = exports.ListMonitoredResourcesFilters || (exports.ListMonitoredResourcesFilters = {}));
918
+ var ListMonitoredResourcesRequest;
919
+ (function (ListMonitoredResourcesRequest) {
920
+ ListMonitoredResourcesRequest.filterSensitiveLog = (obj) => ({
921
+ ...obj,
922
+ });
923
+ })(ListMonitoredResourcesRequest = exports.ListMonitoredResourcesRequest || (exports.ListMonitoredResourcesRequest = {}));
924
+ var MonitoredResourceIdentifier;
925
+ (function (MonitoredResourceIdentifier) {
926
+ MonitoredResourceIdentifier.filterSensitiveLog = (obj) => ({
927
+ ...obj,
928
+ });
929
+ })(MonitoredResourceIdentifier = exports.MonitoredResourceIdentifier || (exports.MonitoredResourceIdentifier = {}));
930
+ var ListMonitoredResourcesResponse;
931
+ (function (ListMonitoredResourcesResponse) {
932
+ ListMonitoredResourcesResponse.filterSensitiveLog = (obj) => ({
933
+ ...obj,
934
+ });
935
+ })(ListMonitoredResourcesResponse = exports.ListMonitoredResourcesResponse || (exports.ListMonitoredResourcesResponse = {}));
856
936
  var ListNotificationChannelsRequest;
857
937
  (function (ListNotificationChannelsRequest) {
858
938
  ListNotificationChannelsRequest.filterSensitiveLog = (obj) => ({
@@ -1082,6 +1162,12 @@ var UpdateResourceCollectionResponse;
1082
1162
  ...obj,
1083
1163
  });
1084
1164
  })(UpdateResourceCollectionResponse = exports.UpdateResourceCollectionResponse || (exports.UpdateResourceCollectionResponse = {}));
1165
+ var LogsAnomalyDetectionIntegrationConfig;
1166
+ (function (LogsAnomalyDetectionIntegrationConfig) {
1167
+ LogsAnomalyDetectionIntegrationConfig.filterSensitiveLog = (obj) => ({
1168
+ ...obj,
1169
+ });
1170
+ })(LogsAnomalyDetectionIntegrationConfig = exports.LogsAnomalyDetectionIntegrationConfig || (exports.LogsAnomalyDetectionIntegrationConfig = {}));
1085
1171
  var OpsCenterIntegrationConfig;
1086
1172
  (function (OpsCenterIntegrationConfig) {
1087
1173
  OpsCenterIntegrationConfig.filterSensitiveLog = (obj) => ({
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListAnomalousLogGroups = void 0;
4
+ const ListAnomalousLogGroupsCommand_1 = require("../commands/ListAnomalousLogGroupsCommand");
5
+ const DevOpsGuru_1 = require("../DevOpsGuru");
6
+ const DevOpsGuruClient_1 = require("../DevOpsGuruClient");
7
+ const makePagedClientRequest = async (client, input, ...args) => {
8
+ return await client.send(new ListAnomalousLogGroupsCommand_1.ListAnomalousLogGroupsCommand(input), ...args);
9
+ };
10
+ const makePagedRequest = async (client, input, ...args) => {
11
+ return await client.listAnomalousLogGroups(input, ...args);
12
+ };
13
+ async function* paginateListAnomalousLogGroups(config, input, ...additionalArguments) {
14
+ let token = config.startingToken || undefined;
15
+ let hasNext = true;
16
+ let page;
17
+ while (hasNext) {
18
+ input.NextToken = token;
19
+ input["MaxResults"] = config.pageSize;
20
+ if (config.client instanceof DevOpsGuru_1.DevOpsGuru) {
21
+ page = await makePagedRequest(config.client, input, ...additionalArguments);
22
+ }
23
+ else if (config.client instanceof DevOpsGuruClient_1.DevOpsGuruClient) {
24
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
+ }
26
+ else {
27
+ throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
28
+ }
29
+ yield page;
30
+ const prevToken = token;
31
+ token = page.NextToken;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
33
+ }
34
+ return undefined;
35
+ }
36
+ exports.paginateListAnomalousLogGroups = paginateListAnomalousLogGroups;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListMonitoredResources = void 0;
4
+ const ListMonitoredResourcesCommand_1 = require("../commands/ListMonitoredResourcesCommand");
5
+ const DevOpsGuru_1 = require("../DevOpsGuru");
6
+ const DevOpsGuruClient_1 = require("../DevOpsGuruClient");
7
+ const makePagedClientRequest = async (client, input, ...args) => {
8
+ return await client.send(new ListMonitoredResourcesCommand_1.ListMonitoredResourcesCommand(input), ...args);
9
+ };
10
+ const makePagedRequest = async (client, input, ...args) => {
11
+ return await client.listMonitoredResources(input, ...args);
12
+ };
13
+ async function* paginateListMonitoredResources(config, input, ...additionalArguments) {
14
+ let token = config.startingToken || undefined;
15
+ let hasNext = true;
16
+ let page;
17
+ while (hasNext) {
18
+ input.NextToken = token;
19
+ input["MaxResults"] = config.pageSize;
20
+ if (config.client instanceof DevOpsGuru_1.DevOpsGuru) {
21
+ page = await makePagedRequest(config.client, input, ...additionalArguments);
22
+ }
23
+ else if (config.client instanceof DevOpsGuruClient_1.DevOpsGuruClient) {
24
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
+ }
26
+ else {
27
+ throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
28
+ }
29
+ yield page;
30
+ const prevToken = token;
31
+ token = page.NextToken;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
33
+ }
34
+ return undefined;
35
+ }
36
+ exports.paginateListMonitoredResources = paginateListMonitoredResources;
@@ -7,8 +7,10 @@ tslib_1.__exportStar(require("./GetCostEstimationPaginator"), exports);
7
7
  tslib_1.__exportStar(require("./GetResourceCollectionPaginator"), exports);
8
8
  tslib_1.__exportStar(require("./Interfaces"), exports);
9
9
  tslib_1.__exportStar(require("./ListAnomaliesForInsightPaginator"), exports);
10
+ tslib_1.__exportStar(require("./ListAnomalousLogGroupsPaginator"), exports);
10
11
  tslib_1.__exportStar(require("./ListEventsPaginator"), exports);
11
12
  tslib_1.__exportStar(require("./ListInsightsPaginator"), exports);
13
+ tslib_1.__exportStar(require("./ListMonitoredResourcesPaginator"), exports);
12
14
  tslib_1.__exportStar(require("./ListNotificationChannelsPaginator"), exports);
13
15
  tslib_1.__exportStar(require("./ListOrganizationInsightsPaginator"), exports);
14
16
  tslib_1.__exportStar(require("./ListRecommendationsPaginator"), exports);