@aws-sdk/client-devops-guru 3.51.0 → 3.54.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 (43) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/DevOpsGuru.js +30 -0
  3. package/dist-cjs/commands/DescribeEventSourcesConfigCommand.js +36 -0
  4. package/dist-cjs/commands/UpdateEventSourcesConfigCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/index.js +3 -0
  7. package/dist-cjs/models/DevOpsGuruServiceException.js +11 -0
  8. package/dist-cjs/models/models_0.js +160 -3
  9. package/dist-cjs/protocols/Aws_restJson1.js +527 -1096
  10. package/dist-es/DevOpsGuru.js +30 -0
  11. package/dist-es/commands/DescribeEventSourcesConfigCommand.js +39 -0
  12. package/dist-es/commands/UpdateEventSourcesConfigCommand.js +39 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/index.js +1 -0
  15. package/dist-es/models/DevOpsGuruServiceException.js +12 -0
  16. package/dist-es/models/models_0.js +136 -1
  17. package/dist-es/protocols/Aws_restJson1.js +891 -1208
  18. package/dist-types/DevOpsGuru.d.ts +19 -4
  19. package/dist-types/DevOpsGuruClient.d.ts +6 -4
  20. package/dist-types/commands/DescribeEventSourcesConfigCommand.d.ts +36 -0
  21. package/dist-types/commands/SearchOrganizationInsightsCommand.d.ts +4 -4
  22. package/dist-types/commands/UpdateEventSourcesConfigCommand.d.ts +35 -0
  23. package/dist-types/commands/index.d.ts +2 -0
  24. package/dist-types/index.d.ts +1 -0
  25. package/dist-types/models/DevOpsGuruServiceException.d.ts +10 -0
  26. package/dist-types/models/models_0.d.ts +394 -220
  27. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  28. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  29. package/dist-types/runtimeConfig.d.ts +1 -1
  30. package/dist-types/runtimeConfig.native.d.ts +1 -1
  31. package/dist-types/ts3.4/DevOpsGuru.d.ts +10 -0
  32. package/dist-types/ts3.4/DevOpsGuruClient.d.ts +6 -4
  33. package/dist-types/ts3.4/commands/DescribeEventSourcesConfigCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/UpdateEventSourcesConfigCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  36. package/dist-types/ts3.4/index.d.ts +1 -0
  37. package/dist-types/ts3.4/models/DevOpsGuruServiceException.d.ts +6 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +114 -22
  39. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  43. package/package.json +33 -33
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
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.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
29
+
30
+ **Note:** Version bump only for package @aws-sdk/client-devops-guru
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-devops-guru
@@ -5,6 +5,7 @@ const AddNotificationChannelCommand_1 = require("./commands/AddNotificationChann
5
5
  const DescribeAccountHealthCommand_1 = require("./commands/DescribeAccountHealthCommand");
6
6
  const DescribeAccountOverviewCommand_1 = require("./commands/DescribeAccountOverviewCommand");
7
7
  const DescribeAnomalyCommand_1 = require("./commands/DescribeAnomalyCommand");
8
+ const DescribeEventSourcesConfigCommand_1 = require("./commands/DescribeEventSourcesConfigCommand");
8
9
  const DescribeFeedbackCommand_1 = require("./commands/DescribeFeedbackCommand");
9
10
  const DescribeInsightCommand_1 = require("./commands/DescribeInsightCommand");
10
11
  const DescribeOrganizationHealthCommand_1 = require("./commands/DescribeOrganizationHealthCommand");
@@ -25,6 +26,7 @@ const RemoveNotificationChannelCommand_1 = require("./commands/RemoveNotificatio
25
26
  const SearchInsightsCommand_1 = require("./commands/SearchInsightsCommand");
26
27
  const SearchOrganizationInsightsCommand_1 = require("./commands/SearchOrganizationInsightsCommand");
27
28
  const StartCostEstimationCommand_1 = require("./commands/StartCostEstimationCommand");
29
+ const UpdateEventSourcesConfigCommand_1 = require("./commands/UpdateEventSourcesConfigCommand");
28
30
  const UpdateResourceCollectionCommand_1 = require("./commands/UpdateResourceCollectionCommand");
29
31
  const UpdateServiceIntegrationCommand_1 = require("./commands/UpdateServiceIntegrationCommand");
30
32
  const DevOpsGuruClient_1 = require("./DevOpsGuruClient");
@@ -85,6 +87,20 @@ class DevOpsGuru extends DevOpsGuruClient_1.DevOpsGuruClient {
85
87
  return this.send(command, optionsOrCb);
86
88
  }
87
89
  }
90
+ describeEventSourcesConfig(args, optionsOrCb, cb) {
91
+ const command = new DescribeEventSourcesConfigCommand_1.DescribeEventSourcesConfigCommand(args);
92
+ if (typeof optionsOrCb === "function") {
93
+ this.send(command, optionsOrCb);
94
+ }
95
+ else if (typeof cb === "function") {
96
+ if (typeof optionsOrCb !== "object")
97
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
98
+ this.send(command, optionsOrCb || {}, cb);
99
+ }
100
+ else {
101
+ return this.send(command, optionsOrCb);
102
+ }
103
+ }
88
104
  describeFeedback(args, optionsOrCb, cb) {
89
105
  const command = new DescribeFeedbackCommand_1.DescribeFeedbackCommand(args);
90
106
  if (typeof optionsOrCb === "function") {
@@ -365,6 +381,20 @@ class DevOpsGuru extends DevOpsGuruClient_1.DevOpsGuruClient {
365
381
  return this.send(command, optionsOrCb);
366
382
  }
367
383
  }
384
+ updateEventSourcesConfig(args, optionsOrCb, cb) {
385
+ const command = new UpdateEventSourcesConfigCommand_1.UpdateEventSourcesConfigCommand(args);
386
+ if (typeof optionsOrCb === "function") {
387
+ this.send(command, optionsOrCb);
388
+ }
389
+ else if (typeof cb === "function") {
390
+ if (typeof optionsOrCb !== "object")
391
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
392
+ this.send(command, optionsOrCb || {}, cb);
393
+ }
394
+ else {
395
+ return this.send(command, optionsOrCb);
396
+ }
397
+ }
368
398
  updateResourceCollection(args, optionsOrCb, cb) {
369
399
  const command = new UpdateResourceCollectionCommand_1.UpdateResourceCollectionCommand(args);
370
400
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeEventSourcesConfigCommand = 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 DescribeEventSourcesConfigCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(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 = "DescribeEventSourcesConfigCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeEventSourcesConfigRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeEventSourcesConfigResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DescribeEventSourcesConfigCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DescribeEventSourcesConfigCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeEventSourcesConfigCommand = DescribeEventSourcesConfigCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateEventSourcesConfigCommand = 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 UpdateEventSourcesConfigCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(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 = "UpdateEventSourcesConfigCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateEventSourcesConfigRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateEventSourcesConfigResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1UpdateEventSourcesConfigCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1UpdateEventSourcesConfigCommand(output, context);
34
+ }
35
+ }
36
+ exports.UpdateEventSourcesConfigCommand = UpdateEventSourcesConfigCommand;
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./AddNotificationChannelCommand"), exports);
5
5
  tslib_1.__exportStar(require("./DescribeAccountHealthCommand"), exports);
6
6
  tslib_1.__exportStar(require("./DescribeAccountOverviewCommand"), exports);
7
7
  tslib_1.__exportStar(require("./DescribeAnomalyCommand"), exports);
8
+ tslib_1.__exportStar(require("./DescribeEventSourcesConfigCommand"), exports);
8
9
  tslib_1.__exportStar(require("./DescribeFeedbackCommand"), exports);
9
10
  tslib_1.__exportStar(require("./DescribeInsightCommand"), exports);
10
11
  tslib_1.__exportStar(require("./DescribeOrganizationHealthCommand"), exports);
@@ -25,5 +26,6 @@ tslib_1.__exportStar(require("./RemoveNotificationChannelCommand"), exports);
25
26
  tslib_1.__exportStar(require("./SearchInsightsCommand"), exports);
26
27
  tslib_1.__exportStar(require("./SearchOrganizationInsightsCommand"), exports);
27
28
  tslib_1.__exportStar(require("./StartCostEstimationCommand"), exports);
29
+ tslib_1.__exportStar(require("./UpdateEventSourcesConfigCommand"), exports);
28
30
  tslib_1.__exportStar(require("./UpdateResourceCollectionCommand"), exports);
29
31
  tslib_1.__exportStar(require("./UpdateServiceIntegrationCommand"), exports);
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DevOpsGuruServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./DevOpsGuru"), exports);
5
6
  tslib_1.__exportStar(require("./DevOpsGuruClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var DevOpsGuruServiceException_1 = require("./models/DevOpsGuruServiceException");
11
+ Object.defineProperty(exports, "DevOpsGuruServiceException", { enumerable: true, get: function () { return DevOpsGuruServiceException_1.DevOpsGuruServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DevOpsGuruServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class DevOpsGuruServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, DevOpsGuruServiceException.prototype);
9
+ }
10
+ }
11
+ exports.DevOpsGuruServiceException = DevOpsGuruServiceException;
@@ -1,8 +1,24 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProactiveInsight = exports.InsightStatus = exports.InsightSeverity = exports.InsightTimeRange = exports.DescribeInsightRequest = exports.DescribeFeedbackResponse = exports.InsightFeedback = exports.InsightFeedbackOption = exports.DescribeFeedbackRequest = exports.DescribeAnomalyResponse = exports.ReactiveAnomaly = exports.ProactiveAnomaly = exports.ResourceCollection = exports.TagCollection = exports.CloudFormationCollection = exports.PredictionTimeRange = exports.DescribeAnomalyRequest = exports.DescribeAccountOverviewResponse = exports.DescribeAccountOverviewRequest = exports.DescribeAccountHealthResponse = exports.DescribeAccountHealthRequest = exports.AnomalyType = exports.AnomalyTimeRange = exports.AnomalyStatus = 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.ValidationExceptionReason = exports.ValidationExceptionField = exports.AddNotificationChannelResponse = exports.AddNotificationChannelRequest = exports.NotificationChannelConfig = exports.SnsChannelConfig = exports.AccountHealth = exports.AccountInsightHealth = void 0;
4
- 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 = 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 = void 0;
5
- exports.UpdateServiceIntegrationResponse = exports.UpdateServiceIntegrationRequest = exports.UpdateServiceIntegrationConfig = exports.OpsCenterIntegrationConfig = exports.UpdateResourceCollectionResponse = exports.UpdateResourceCollectionRequest = exports.UpdateResourceCollectionFilter = exports.UpdateTagCollectionFilter = exports.UpdateCloudFormationCollectionFilter = exports.UpdateResourceCollectionAction = 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 = 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 = void 0;
3
+ exports.ReactiveAnomaly = exports.ProactiveAnomaly = exports.ResourceCollection = exports.TagCollection = exports.CloudFormationCollection = exports.PredictionTimeRange = exports.DescribeAnomalyRequest = exports.DescribeAccountOverviewResponse = exports.DescribeAccountOverviewRequest = exports.DescribeAccountHealthResponse = exports.DescribeAccountHealthRequest = 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.GetResourceCollectionResponse = exports.ResourceCollectionFilter = 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 = void 0;
5
+ 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 = 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 = 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 = void 0;
7
+ const DevOpsGuruServiceException_1 = require("./DevOpsGuruServiceException");
8
+ class AccessDeniedException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
9
+ constructor(opts) {
10
+ super({
11
+ name: "AccessDeniedException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ this.name = "AccessDeniedException";
16
+ this.$fault = "client";
17
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
18
+ this.Message = opts.Message;
19
+ }
20
+ }
21
+ exports.AccessDeniedException = AccessDeniedException;
6
22
  var AccountInsightHealth;
7
23
  (function (AccountInsightHealth) {
8
24
  AccountInsightHealth.filterSensitiveLog = (obj) => ({
@@ -39,6 +55,84 @@ var AddNotificationChannelResponse;
39
55
  ...obj,
40
56
  });
41
57
  })(AddNotificationChannelResponse = exports.AddNotificationChannelResponse || (exports.AddNotificationChannelResponse = {}));
58
+ class ConflictException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
59
+ constructor(opts) {
60
+ super({
61
+ name: "ConflictException",
62
+ $fault: "client",
63
+ ...opts,
64
+ });
65
+ this.name = "ConflictException";
66
+ this.$fault = "client";
67
+ Object.setPrototypeOf(this, ConflictException.prototype);
68
+ this.Message = opts.Message;
69
+ this.ResourceId = opts.ResourceId;
70
+ this.ResourceType = opts.ResourceType;
71
+ }
72
+ }
73
+ exports.ConflictException = ConflictException;
74
+ class InternalServerException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
75
+ constructor(opts) {
76
+ super({
77
+ name: "InternalServerException",
78
+ $fault: "server",
79
+ ...opts,
80
+ });
81
+ this.name = "InternalServerException";
82
+ this.$fault = "server";
83
+ Object.setPrototypeOf(this, InternalServerException.prototype);
84
+ this.Message = opts.Message;
85
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
86
+ }
87
+ }
88
+ exports.InternalServerException = InternalServerException;
89
+ class ResourceNotFoundException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
90
+ constructor(opts) {
91
+ super({
92
+ name: "ResourceNotFoundException",
93
+ $fault: "client",
94
+ ...opts,
95
+ });
96
+ this.name = "ResourceNotFoundException";
97
+ this.$fault = "client";
98
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
99
+ this.Message = opts.Message;
100
+ this.ResourceId = opts.ResourceId;
101
+ this.ResourceType = opts.ResourceType;
102
+ }
103
+ }
104
+ exports.ResourceNotFoundException = ResourceNotFoundException;
105
+ class ServiceQuotaExceededException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
106
+ constructor(opts) {
107
+ super({
108
+ name: "ServiceQuotaExceededException",
109
+ $fault: "client",
110
+ ...opts,
111
+ });
112
+ this.name = "ServiceQuotaExceededException";
113
+ this.$fault = "client";
114
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
115
+ this.Message = opts.Message;
116
+ }
117
+ }
118
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
119
+ class ThrottlingException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
120
+ constructor(opts) {
121
+ super({
122
+ name: "ThrottlingException",
123
+ $fault: "client",
124
+ ...opts,
125
+ });
126
+ this.name = "ThrottlingException";
127
+ this.$fault = "client";
128
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
129
+ this.Message = opts.Message;
130
+ this.QuotaCode = opts.QuotaCode;
131
+ this.ServiceCode = opts.ServiceCode;
132
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
133
+ }
134
+ }
135
+ exports.ThrottlingException = ThrottlingException;
42
136
  var ValidationExceptionField;
43
137
  (function (ValidationExceptionField) {
44
138
  ValidationExceptionField.filterSensitiveLog = (obj) => ({
@@ -54,6 +148,33 @@ var ValidationExceptionReason;
54
148
  ValidationExceptionReason["PARAMETER_INCONSISTENT_WITH_SERVICE_STATE"] = "PARAMETER_INCONSISTENT_WITH_SERVICE_STATE";
55
149
  ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
56
150
  })(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
151
+ class ValidationException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
152
+ constructor(opts) {
153
+ super({
154
+ name: "ValidationException",
155
+ $fault: "client",
156
+ ...opts,
157
+ });
158
+ this.name = "ValidationException";
159
+ this.$fault = "client";
160
+ Object.setPrototypeOf(this, ValidationException.prototype);
161
+ this.Message = opts.Message;
162
+ this.Reason = opts.Reason;
163
+ this.Fields = opts.Fields;
164
+ }
165
+ }
166
+ exports.ValidationException = ValidationException;
167
+ var EventSourceOptInStatus;
168
+ (function (EventSourceOptInStatus) {
169
+ EventSourceOptInStatus["DISABLED"] = "DISABLED";
170
+ EventSourceOptInStatus["ENABLED"] = "ENABLED";
171
+ })(EventSourceOptInStatus = exports.EventSourceOptInStatus || (exports.EventSourceOptInStatus = {}));
172
+ var AmazonCodeGuruProfilerIntegration;
173
+ (function (AmazonCodeGuruProfilerIntegration) {
174
+ AmazonCodeGuruProfilerIntegration.filterSensitiveLog = (obj) => ({
175
+ ...obj,
176
+ });
177
+ })(AmazonCodeGuruProfilerIntegration = exports.AmazonCodeGuruProfilerIntegration || (exports.AmazonCodeGuruProfilerIntegration = {}));
57
178
  var AnomalyReportedTimeRange;
58
179
  (function (AnomalyReportedTimeRange) {
59
180
  AnomalyReportedTimeRange.filterSensitiveLog = (obj) => ({
@@ -167,6 +288,12 @@ var AnomalySourceDetails;
167
288
  ...obj,
168
289
  });
169
290
  })(AnomalySourceDetails = exports.AnomalySourceDetails || (exports.AnomalySourceDetails = {}));
291
+ var AnomalySourceMetadata;
292
+ (function (AnomalySourceMetadata) {
293
+ AnomalySourceMetadata.filterSensitiveLog = (obj) => ({
294
+ ...obj,
295
+ });
296
+ })(AnomalySourceMetadata = exports.AnomalySourceMetadata || (exports.AnomalySourceMetadata = {}));
170
297
  var AnomalyStatus;
171
298
  (function (AnomalyStatus) {
172
299
  AnomalyStatus["CLOSED"] = "CLOSED";
@@ -255,6 +382,24 @@ var DescribeAnomalyResponse;
255
382
  ...obj,
256
383
  });
257
384
  })(DescribeAnomalyResponse = exports.DescribeAnomalyResponse || (exports.DescribeAnomalyResponse = {}));
385
+ var DescribeEventSourcesConfigRequest;
386
+ (function (DescribeEventSourcesConfigRequest) {
387
+ DescribeEventSourcesConfigRequest.filterSensitiveLog = (obj) => ({
388
+ ...obj,
389
+ });
390
+ })(DescribeEventSourcesConfigRequest = exports.DescribeEventSourcesConfigRequest || (exports.DescribeEventSourcesConfigRequest = {}));
391
+ var EventSourcesConfig;
392
+ (function (EventSourcesConfig) {
393
+ EventSourcesConfig.filterSensitiveLog = (obj) => ({
394
+ ...obj,
395
+ });
396
+ })(EventSourcesConfig = exports.EventSourcesConfig || (exports.EventSourcesConfig = {}));
397
+ var DescribeEventSourcesConfigResponse;
398
+ (function (DescribeEventSourcesConfigResponse) {
399
+ DescribeEventSourcesConfigResponse.filterSensitiveLog = (obj) => ({
400
+ ...obj,
401
+ });
402
+ })(DescribeEventSourcesConfigResponse = exports.DescribeEventSourcesConfigResponse || (exports.DescribeEventSourcesConfigResponse = {}));
258
403
  var DescribeFeedbackRequest;
259
404
  (function (DescribeFeedbackRequest) {
260
405
  DescribeFeedbackRequest.filterSensitiveLog = (obj) => ({
@@ -878,6 +1023,18 @@ var StartCostEstimationResponse;
878
1023
  ...obj,
879
1024
  });
880
1025
  })(StartCostEstimationResponse = exports.StartCostEstimationResponse || (exports.StartCostEstimationResponse = {}));
1026
+ var UpdateEventSourcesConfigRequest;
1027
+ (function (UpdateEventSourcesConfigRequest) {
1028
+ UpdateEventSourcesConfigRequest.filterSensitiveLog = (obj) => ({
1029
+ ...obj,
1030
+ });
1031
+ })(UpdateEventSourcesConfigRequest = exports.UpdateEventSourcesConfigRequest || (exports.UpdateEventSourcesConfigRequest = {}));
1032
+ var UpdateEventSourcesConfigResponse;
1033
+ (function (UpdateEventSourcesConfigResponse) {
1034
+ UpdateEventSourcesConfigResponse.filterSensitiveLog = (obj) => ({
1035
+ ...obj,
1036
+ });
1037
+ })(UpdateEventSourcesConfigResponse = exports.UpdateEventSourcesConfigResponse || (exports.UpdateEventSourcesConfigResponse = {}));
881
1038
  var UpdateResourceCollectionAction;
882
1039
  (function (UpdateResourceCollectionAction) {
883
1040
  UpdateResourceCollectionAction["ADD"] = "ADD";