@aws-sdk/client-devops-guru 3.180.0 → 3.182.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.
- package/CHANGELOG.md +23 -0
- package/dist-cjs/models/models_0.js +22 -10
- package/dist-cjs/protocols/Aws_restJson1.js +84 -31
- package/dist-es/models/models_0.js +15 -6
- package/dist-es/protocols/Aws_restJson1.js +88 -32
- package/dist-types/models/models_0.d.ts +93 -54
- package/dist-types/ts3.4/models/models_0.d.ts +20 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@
|
|
|
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.182.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.181.0...v3.182.0) (2022-09-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-devops-guru:** This release adds filter feature on AddNotificationChannel API, enable customer to configure the SNS notification messages by Severity or MessageTypes ([84ff65b](https://github.com/aws/aws-sdk-js-v3/commit/84ff65b728362d72cabddf01bd41acb92743b502))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **clients:** make parseErrorBody async ([#3999](https://github.com/aws/aws-sdk-js-v3/issues/3999)) ([2558c93](https://github.com/aws/aws-sdk-js-v3/commit/2558c93c050357ac6dc47aa0452b15b12ebfd676))
|
|
23
|
+
* **clients:** populate message field when parsing errors ([#3995](https://github.com/aws/aws-sdk-js-v3/issues/3995)) ([02e47f1](https://github.com/aws/aws-sdk-js-v3/commit/02e47f14397ae0a5d2e2883350d038b307fdcdb4))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
6
29
|
# [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27)
|
|
7
30
|
|
|
8
31
|
**Note:** Version bump only for package @aws-sdk/client-devops-guru
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateServiceIntegrationResponseFilterSensitiveLog = exports.UpdateServiceIntegrationRequestFilterSensitiveLog = exports.UpdateServiceIntegrationConfigFilterSensitiveLog = exports.OpsCenterIntegrationConfigFilterSensitiveLog = exports.LogsAnomalyDetectionIntegrationConfigFilterSensitiveLog = exports.UpdateResourceCollectionResponseFilterSensitiveLog = exports.UpdateResourceCollectionRequestFilterSensitiveLog = exports.UpdateResourceCollectionFilterFilterSensitiveLog = exports.UpdateTagCollectionFilterFilterSensitiveLog = exports.UpdateCloudFormationCollectionFilterFilterSensitiveLog = exports.UpdateEventSourcesConfigResponseFilterSensitiveLog = exports.UpdateEventSourcesConfigRequestFilterSensitiveLog = exports.StartCostEstimationResponseFilterSensitiveLog = exports.StartCostEstimationRequestFilterSensitiveLog = exports.SearchOrganizationInsightsResponseFilterSensitiveLog = exports.SearchOrganizationInsightsRequestFilterSensitiveLog = exports.SearchOrganizationInsightsFiltersFilterSensitiveLog = exports.SearchInsightsResponseFilterSensitiveLog = exports.SearchInsightsRequestFilterSensitiveLog = exports.SearchInsightsFiltersFilterSensitiveLog = exports.RemoveNotificationChannelResponseFilterSensitiveLog = exports.RemoveNotificationChannelRequestFilterSensitiveLog = exports.PutFeedbackResponseFilterSensitiveLog = exports.PutFeedbackRequestFilterSensitiveLog = exports.ListRecommendationsResponseFilterSensitiveLog = exports.RecommendationFilterSensitiveLog = exports.RecommendationRelatedEventFilterSensitiveLog = exports.RecommendationRelatedEventResourceFilterSensitiveLog = exports.RecommendationRelatedAnomalyFilterSensitiveLog = exports.RecommendationRelatedAnomalySourceDetailFilterSensitiveLog = exports.RecommendationRelatedCloudWatchMetricsSourceDetailFilterSensitiveLog = void 0;
|
|
3
|
+
exports.CloudWatchMetricsDetailFilterSensitiveLog = exports.CloudWatchMetricsDataSummaryFilterSensitiveLog = exports.TimestampMetricValuePairFilterSensitiveLog = exports.CloudWatchMetricsDimensionFilterSensitiveLog = exports.AnomalyResourceFilterSensitiveLog = exports.AnomalyReportedTimeRangeFilterSensitiveLog = exports.AnomalousLogGroupFilterSensitiveLog = exports.LogAnomalyShowcaseFilterSensitiveLog = exports.LogAnomalyClassFilterSensitiveLog = exports.AmazonCodeGuruProfilerIntegrationFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = exports.AddNotificationChannelResponseFilterSensitiveLog = exports.AddNotificationChannelRequestFilterSensitiveLog = exports.NotificationChannelConfigFilterSensitiveLog = exports.SnsChannelConfigFilterSensitiveLog = exports.NotificationFilterConfigFilterSensitiveLog = exports.AccountHealthFilterSensitiveLog = exports.AccountInsightHealthFilterSensitiveLog = exports.UpdateResourceCollectionAction = exports.Locale = exports.ResourceTypeFilter = exports.ResourcePermission = exports.InsightType = exports.EventClass = exports.EventDataSource = exports.CostEstimationStatus = exports.CostEstimationServiceResourceState = exports.OptInStatus = exports.ResourceCollectionType = exports.ServiceName = exports.OrganizationResourceCollectionType = exports.InsightStatus = exports.InsightFeedbackOption = exports.AnomalyType = exports.AnomalyStatus = exports.CloudWatchMetricsStat = exports.CloudWatchMetricDataStatusCode = exports.AnomalySeverity = exports.LogAnomalyType = exports.EventSourceOptInStatus = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.InsightSeverity = exports.NotificationMessageType = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.DescribeServiceIntegrationRequestFilterSensitiveLog = exports.DescribeResourceCollectionHealthResponseFilterSensitiveLog = exports.DescribeResourceCollectionHealthRequestFilterSensitiveLog = exports.DescribeOrganizationResourceCollectionHealthResponseFilterSensitiveLog = exports.TagHealthFilterSensitiveLog = exports.ServiceHealthFilterSensitiveLog = exports.ServiceInsightHealthFilterSensitiveLog = exports.CloudFormationHealthFilterSensitiveLog = exports.InsightHealthFilterSensitiveLog = exports.DescribeOrganizationResourceCollectionHealthRequestFilterSensitiveLog = exports.DescribeOrganizationOverviewResponseFilterSensitiveLog = exports.DescribeOrganizationOverviewRequestFilterSensitiveLog = exports.DescribeOrganizationHealthResponseFilterSensitiveLog = exports.DescribeOrganizationHealthRequestFilterSensitiveLog = exports.DescribeInsightResponseFilterSensitiveLog = exports.ReactiveInsightFilterSensitiveLog = exports.ProactiveInsightFilterSensitiveLog = exports.InsightTimeRangeFilterSensitiveLog = exports.DescribeInsightRequestFilterSensitiveLog = exports.DescribeFeedbackResponseFilterSensitiveLog = exports.InsightFeedbackFilterSensitiveLog = exports.DescribeFeedbackRequestFilterSensitiveLog = exports.DescribeEventSourcesConfigResponseFilterSensitiveLog = exports.EventSourcesConfigFilterSensitiveLog = exports.DescribeEventSourcesConfigRequestFilterSensitiveLog = exports.DescribeAnomalyResponseFilterSensitiveLog = exports.ReactiveAnomalyFilterSensitiveLog = exports.ProactiveAnomalyFilterSensitiveLog = exports.ResourceCollectionFilterSensitiveLog = exports.TagCollectionFilterSensitiveLog = exports.CloudFormationCollectionFilterSensitiveLog = exports.PredictionTimeRangeFilterSensitiveLog = exports.DescribeAnomalyRequestFilterSensitiveLog = exports.DescribeAccountOverviewResponseFilterSensitiveLog = exports.DescribeAccountOverviewRequestFilterSensitiveLog = exports.DescribeAccountHealthResponseFilterSensitiveLog = exports.DescribeAccountHealthRequestFilterSensitiveLog = exports.DeleteInsightResponseFilterSensitiveLog = exports.DeleteInsightRequestFilterSensitiveLog = exports.AnomalyTimeRangeFilterSensitiveLog = exports.AnomalySourceMetadataFilterSensitiveLog = exports.AnomalySourceDetailsFilterSensitiveLog = exports.PerformanceInsightsMetricsDetailFilterSensitiveLog = exports.PerformanceInsightsStatFilterSensitiveLog = exports.PerformanceInsightsReferenceDataFilterSensitiveLog = exports.PerformanceInsightsReferenceComparisonValuesFilterSensitiveLog = exports.PerformanceInsightsReferenceScalarFilterSensitiveLog = exports.PerformanceInsightsReferenceMetricFilterSensitiveLog = exports.PerformanceInsightsMetricQueryFilterSensitiveLog = exports.PerformanceInsightsMetricDimensionGroupFilterSensitiveLog = void 0;
|
|
5
|
+
exports.ListOrganizationInsightsResponseFilterSensitiveLog = exports.ReactiveOrganizationInsightSummaryFilterSensitiveLog = exports.ProactiveOrganizationInsightSummaryFilterSensitiveLog = exports.ListOrganizationInsightsRequestFilterSensitiveLog = exports.ListNotificationChannelsResponseFilterSensitiveLog = exports.NotificationChannelFilterSensitiveLog = exports.ListNotificationChannelsRequestFilterSensitiveLog = exports.ListMonitoredResourcesResponseFilterSensitiveLog = exports.MonitoredResourceIdentifierFilterSensitiveLog = exports.ListMonitoredResourcesRequestFilterSensitiveLog = exports.ListMonitoredResourcesFiltersFilterSensitiveLog = exports.ListInsightsResponseFilterSensitiveLog = exports.ReactiveInsightSummaryFilterSensitiveLog = exports.ProactiveInsightSummaryFilterSensitiveLog = exports.ServiceCollectionFilterSensitiveLog = exports.ListInsightsRequestFilterSensitiveLog = exports.ListInsightsStatusFilterFilterSensitiveLog = exports.ListInsightsOngoingStatusFilterFilterSensitiveLog = exports.ListInsightsClosedStatusFilterFilterSensitiveLog = exports.EndTimeRangeFilterSensitiveLog = exports.ListInsightsAnyStatusFilterFilterSensitiveLog = exports.ListEventsResponseFilterSensitiveLog = exports.EventFilterSensitiveLog = exports.EventResourceFilterSensitiveLog = exports.ListEventsRequestFilterSensitiveLog = exports.ListEventsFiltersFilterSensitiveLog = exports.EventTimeRangeFilterSensitiveLog = exports.ListAnomalousLogGroupsResponseFilterSensitiveLog = exports.ListAnomalousLogGroupsRequestFilterSensitiveLog = exports.ListAnomaliesForInsightResponseFilterSensitiveLog = exports.ReactiveAnomalySummaryFilterSensitiveLog = exports.ProactiveAnomalySummaryFilterSensitiveLog = exports.ListAnomaliesForInsightRequestFilterSensitiveLog = exports.StartTimeRangeFilterSensitiveLog = exports.GetResourceCollectionResponseFilterSensitiveLog = exports.ResourceCollectionFilterFilterSensitiveLog = exports.TagCollectionFilterFilterSensitiveLog = exports.CloudFormationCollectionFilterFilterSensitiveLog = exports.GetResourceCollectionRequestFilterSensitiveLog = exports.GetCostEstimationResponseFilterSensitiveLog = exports.CostEstimationTimeRangeFilterSensitiveLog = exports.CostEstimationResourceCollectionFilterFilterSensitiveLog = exports.TagCostEstimationResourceCollectionFilterFilterSensitiveLog = exports.CloudFormationCostEstimationResourceCollectionFilterFilterSensitiveLog = exports.ServiceResourceCostFilterSensitiveLog = exports.GetCostEstimationRequestFilterSensitiveLog = exports.DescribeServiceIntegrationResponseFilterSensitiveLog = exports.ServiceIntegrationConfigFilterSensitiveLog = exports.OpsCenterIntegrationFilterSensitiveLog = exports.LogsAnomalyDetectionIntegrationFilterSensitiveLog = void 0;
|
|
6
|
+
exports.UpdateServiceIntegrationResponseFilterSensitiveLog = exports.UpdateServiceIntegrationRequestFilterSensitiveLog = exports.UpdateServiceIntegrationConfigFilterSensitiveLog = exports.OpsCenterIntegrationConfigFilterSensitiveLog = exports.LogsAnomalyDetectionIntegrationConfigFilterSensitiveLog = exports.UpdateResourceCollectionResponseFilterSensitiveLog = exports.UpdateResourceCollectionRequestFilterSensitiveLog = exports.UpdateResourceCollectionFilterFilterSensitiveLog = exports.UpdateTagCollectionFilterFilterSensitiveLog = exports.UpdateCloudFormationCollectionFilterFilterSensitiveLog = exports.UpdateEventSourcesConfigResponseFilterSensitiveLog = exports.UpdateEventSourcesConfigRequestFilterSensitiveLog = exports.StartCostEstimationResponseFilterSensitiveLog = exports.StartCostEstimationRequestFilterSensitiveLog = exports.SearchOrganizationInsightsResponseFilterSensitiveLog = exports.SearchOrganizationInsightsRequestFilterSensitiveLog = exports.SearchOrganizationInsightsFiltersFilterSensitiveLog = exports.SearchInsightsResponseFilterSensitiveLog = exports.SearchInsightsRequestFilterSensitiveLog = exports.SearchInsightsFiltersFilterSensitiveLog = exports.RemoveNotificationChannelResponseFilterSensitiveLog = exports.RemoveNotificationChannelRequestFilterSensitiveLog = exports.PutFeedbackResponseFilterSensitiveLog = exports.PutFeedbackRequestFilterSensitiveLog = exports.ListRecommendationsResponseFilterSensitiveLog = exports.RecommendationFilterSensitiveLog = exports.RecommendationRelatedEventFilterSensitiveLog = exports.RecommendationRelatedEventResourceFilterSensitiveLog = exports.RecommendationRelatedAnomalyFilterSensitiveLog = exports.RecommendationRelatedAnomalySourceDetailFilterSensitiveLog = exports.RecommendationRelatedCloudWatchMetricsSourceDetailFilterSensitiveLog = exports.RecommendationRelatedAnomalyResourceFilterSensitiveLog = exports.ListRecommendationsRequestFilterSensitiveLog = void 0;
|
|
7
7
|
const DevOpsGuruServiceException_1 = require("./DevOpsGuruServiceException");
|
|
8
8
|
class AccessDeniedException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
|
|
9
9
|
constructor(opts) {
|
|
@@ -19,6 +19,20 @@ class AccessDeniedException extends DevOpsGuruServiceException_1.DevOpsGuruServi
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
exports.AccessDeniedException = AccessDeniedException;
|
|
22
|
+
var NotificationMessageType;
|
|
23
|
+
(function (NotificationMessageType) {
|
|
24
|
+
NotificationMessageType["CLOSED_INSIGHT"] = "CLOSED_INSIGHT";
|
|
25
|
+
NotificationMessageType["NEW_ASSOCIATION"] = "NEW_ASSOCIATION";
|
|
26
|
+
NotificationMessageType["NEW_INSIGHT"] = "NEW_INSIGHT";
|
|
27
|
+
NotificationMessageType["NEW_RECOMMENDATION"] = "NEW_RECOMMENDATION";
|
|
28
|
+
NotificationMessageType["SEVERITY_UPGRADED"] = "SEVERITY_UPGRADED";
|
|
29
|
+
})(NotificationMessageType = exports.NotificationMessageType || (exports.NotificationMessageType = {}));
|
|
30
|
+
var InsightSeverity;
|
|
31
|
+
(function (InsightSeverity) {
|
|
32
|
+
InsightSeverity["HIGH"] = "HIGH";
|
|
33
|
+
InsightSeverity["LOW"] = "LOW";
|
|
34
|
+
InsightSeverity["MEDIUM"] = "MEDIUM";
|
|
35
|
+
})(InsightSeverity = exports.InsightSeverity || (exports.InsightSeverity = {}));
|
|
22
36
|
class ConflictException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
|
|
23
37
|
constructor(opts) {
|
|
24
38
|
super({
|
|
@@ -179,12 +193,6 @@ var InsightFeedbackOption;
|
|
|
179
193
|
InsightFeedbackOption["RECOMMENDATION_USEFUL"] = "RECOMMENDATION_USEFUL";
|
|
180
194
|
InsightFeedbackOption["VALID_COLLECTION"] = "VALID_COLLECTION";
|
|
181
195
|
})(InsightFeedbackOption = exports.InsightFeedbackOption || (exports.InsightFeedbackOption = {}));
|
|
182
|
-
var InsightSeverity;
|
|
183
|
-
(function (InsightSeverity) {
|
|
184
|
-
InsightSeverity["HIGH"] = "HIGH";
|
|
185
|
-
InsightSeverity["LOW"] = "LOW";
|
|
186
|
-
InsightSeverity["MEDIUM"] = "MEDIUM";
|
|
187
|
-
})(InsightSeverity = exports.InsightSeverity || (exports.InsightSeverity = {}));
|
|
188
196
|
var InsightStatus;
|
|
189
197
|
(function (InsightStatus) {
|
|
190
198
|
InsightStatus["CLOSED"] = "CLOSED";
|
|
@@ -300,6 +308,10 @@ const AccountHealthFilterSensitiveLog = (obj) => ({
|
|
|
300
308
|
...obj,
|
|
301
309
|
});
|
|
302
310
|
exports.AccountHealthFilterSensitiveLog = AccountHealthFilterSensitiveLog;
|
|
311
|
+
const NotificationFilterConfigFilterSensitiveLog = (obj) => ({
|
|
312
|
+
...obj,
|
|
313
|
+
});
|
|
314
|
+
exports.NotificationFilterConfigFilterSensitiveLog = NotificationFilterConfigFilterSensitiveLog;
|
|
303
315
|
const SnsChannelConfigFilterSensitiveLog = (obj) => ({
|
|
304
316
|
...obj,
|
|
305
317
|
});
|
|
@@ -741,7 +741,7 @@ exports.deserializeAws_restJson1AddNotificationChannelCommand = deserializeAws_r
|
|
|
741
741
|
const deserializeAws_restJson1AddNotificationChannelCommandError = async (output, context) => {
|
|
742
742
|
const parsedOutput = {
|
|
743
743
|
...output,
|
|
744
|
-
body: await
|
|
744
|
+
body: await parseErrorBody(output.body, context),
|
|
745
745
|
};
|
|
746
746
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
747
747
|
switch (errorCode) {
|
|
@@ -790,7 +790,7 @@ exports.deserializeAws_restJson1DeleteInsightCommand = deserializeAws_restJson1D
|
|
|
790
790
|
const deserializeAws_restJson1DeleteInsightCommandError = async (output, context) => {
|
|
791
791
|
const parsedOutput = {
|
|
792
792
|
...output,
|
|
793
|
-
body: await
|
|
793
|
+
body: await parseErrorBody(output.body, context),
|
|
794
794
|
};
|
|
795
795
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
796
796
|
switch (errorCode) {
|
|
@@ -848,7 +848,7 @@ exports.deserializeAws_restJson1DescribeAccountHealthCommand = deserializeAws_re
|
|
|
848
848
|
const deserializeAws_restJson1DescribeAccountHealthCommandError = async (output, context) => {
|
|
849
849
|
const parsedOutput = {
|
|
850
850
|
...output,
|
|
851
|
-
body: await
|
|
851
|
+
body: await parseErrorBody(output.body, context),
|
|
852
852
|
};
|
|
853
853
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
854
854
|
switch (errorCode) {
|
|
@@ -897,7 +897,7 @@ exports.deserializeAws_restJson1DescribeAccountOverviewCommand = deserializeAws_
|
|
|
897
897
|
const deserializeAws_restJson1DescribeAccountOverviewCommandError = async (output, context) => {
|
|
898
898
|
const parsedOutput = {
|
|
899
899
|
...output,
|
|
900
|
-
body: await
|
|
900
|
+
body: await parseErrorBody(output.body, context),
|
|
901
901
|
};
|
|
902
902
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
903
903
|
switch (errorCode) {
|
|
@@ -943,7 +943,7 @@ exports.deserializeAws_restJson1DescribeAnomalyCommand = deserializeAws_restJson
|
|
|
943
943
|
const deserializeAws_restJson1DescribeAnomalyCommandError = async (output, context) => {
|
|
944
944
|
const parsedOutput = {
|
|
945
945
|
...output,
|
|
946
|
-
body: await
|
|
946
|
+
body: await parseErrorBody(output.body, context),
|
|
947
947
|
};
|
|
948
948
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
949
949
|
switch (errorCode) {
|
|
@@ -989,7 +989,7 @@ exports.deserializeAws_restJson1DescribeEventSourcesConfigCommand = deserializeA
|
|
|
989
989
|
const deserializeAws_restJson1DescribeEventSourcesConfigCommandError = async (output, context) => {
|
|
990
990
|
const parsedOutput = {
|
|
991
991
|
...output,
|
|
992
|
-
body: await
|
|
992
|
+
body: await parseErrorBody(output.body, context),
|
|
993
993
|
};
|
|
994
994
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
995
995
|
switch (errorCode) {
|
|
@@ -1032,7 +1032,7 @@ exports.deserializeAws_restJson1DescribeFeedbackCommand = deserializeAws_restJso
|
|
|
1032
1032
|
const deserializeAws_restJson1DescribeFeedbackCommandError = async (output, context) => {
|
|
1033
1033
|
const parsedOutput = {
|
|
1034
1034
|
...output,
|
|
1035
|
-
body: await
|
|
1035
|
+
body: await parseErrorBody(output.body, context),
|
|
1036
1036
|
};
|
|
1037
1037
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1038
1038
|
switch (errorCode) {
|
|
@@ -1081,7 +1081,7 @@ exports.deserializeAws_restJson1DescribeInsightCommand = deserializeAws_restJson
|
|
|
1081
1081
|
const deserializeAws_restJson1DescribeInsightCommandError = async (output, context) => {
|
|
1082
1082
|
const parsedOutput = {
|
|
1083
1083
|
...output,
|
|
1084
|
-
body: await
|
|
1084
|
+
body: await parseErrorBody(output.body, context),
|
|
1085
1085
|
};
|
|
1086
1086
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1087
1087
|
switch (errorCode) {
|
|
@@ -1136,7 +1136,7 @@ exports.deserializeAws_restJson1DescribeOrganizationHealthCommand = deserializeA
|
|
|
1136
1136
|
const deserializeAws_restJson1DescribeOrganizationHealthCommandError = async (output, context) => {
|
|
1137
1137
|
const parsedOutput = {
|
|
1138
1138
|
...output,
|
|
1139
|
-
body: await
|
|
1139
|
+
body: await parseErrorBody(output.body, context),
|
|
1140
1140
|
};
|
|
1141
1141
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1142
1142
|
switch (errorCode) {
|
|
@@ -1182,7 +1182,7 @@ exports.deserializeAws_restJson1DescribeOrganizationOverviewCommand = deserializ
|
|
|
1182
1182
|
const deserializeAws_restJson1DescribeOrganizationOverviewCommandError = async (output, context) => {
|
|
1183
1183
|
const parsedOutput = {
|
|
1184
1184
|
...output,
|
|
1185
|
-
body: await
|
|
1185
|
+
body: await parseErrorBody(output.body, context),
|
|
1186
1186
|
};
|
|
1187
1187
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1188
1188
|
switch (errorCode) {
|
|
@@ -1237,7 +1237,7 @@ exports.deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthComm
|
|
|
1237
1237
|
const deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommandError = async (output, context) => {
|
|
1238
1238
|
const parsedOutput = {
|
|
1239
1239
|
...output,
|
|
1240
|
-
body: await
|
|
1240
|
+
body: await parseErrorBody(output.body, context),
|
|
1241
1241
|
};
|
|
1242
1242
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1243
1243
|
switch (errorCode) {
|
|
@@ -1289,7 +1289,7 @@ exports.deserializeAws_restJson1DescribeResourceCollectionHealthCommand = deseri
|
|
|
1289
1289
|
const deserializeAws_restJson1DescribeResourceCollectionHealthCommandError = async (output, context) => {
|
|
1290
1290
|
const parsedOutput = {
|
|
1291
1291
|
...output,
|
|
1292
|
-
body: await
|
|
1292
|
+
body: await parseErrorBody(output.body, context),
|
|
1293
1293
|
};
|
|
1294
1294
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1295
1295
|
switch (errorCode) {
|
|
@@ -1332,7 +1332,7 @@ exports.deserializeAws_restJson1DescribeServiceIntegrationCommand = deserializeA
|
|
|
1332
1332
|
const deserializeAws_restJson1DescribeServiceIntegrationCommandError = async (output, context) => {
|
|
1333
1333
|
const parsedOutput = {
|
|
1334
1334
|
...output,
|
|
1335
|
-
body: await
|
|
1335
|
+
body: await parseErrorBody(output.body, context),
|
|
1336
1336
|
};
|
|
1337
1337
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1338
1338
|
switch (errorCode) {
|
|
@@ -1393,7 +1393,7 @@ exports.deserializeAws_restJson1GetCostEstimationCommand = deserializeAws_restJs
|
|
|
1393
1393
|
const deserializeAws_restJson1GetCostEstimationCommandError = async (output, context) => {
|
|
1394
1394
|
const parsedOutput = {
|
|
1395
1395
|
...output,
|
|
1396
|
-
body: await
|
|
1396
|
+
body: await parseErrorBody(output.body, context),
|
|
1397
1397
|
};
|
|
1398
1398
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1399
1399
|
switch (errorCode) {
|
|
@@ -1442,7 +1442,7 @@ exports.deserializeAws_restJson1GetResourceCollectionCommand = deserializeAws_re
|
|
|
1442
1442
|
const deserializeAws_restJson1GetResourceCollectionCommandError = async (output, context) => {
|
|
1443
1443
|
const parsedOutput = {
|
|
1444
1444
|
...output,
|
|
1445
|
-
body: await
|
|
1445
|
+
body: await parseErrorBody(output.body, context),
|
|
1446
1446
|
};
|
|
1447
1447
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1448
1448
|
switch (errorCode) {
|
|
@@ -1494,7 +1494,7 @@ exports.deserializeAws_restJson1ListAnomaliesForInsightCommand = deserializeAws_
|
|
|
1494
1494
|
const deserializeAws_restJson1ListAnomaliesForInsightCommandError = async (output, context) => {
|
|
1495
1495
|
const parsedOutput = {
|
|
1496
1496
|
...output,
|
|
1497
|
-
body: await
|
|
1497
|
+
body: await parseErrorBody(output.body, context),
|
|
1498
1498
|
};
|
|
1499
1499
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1500
1500
|
switch (errorCode) {
|
|
@@ -1546,7 +1546,7 @@ exports.deserializeAws_restJson1ListAnomalousLogGroupsCommand = deserializeAws_r
|
|
|
1546
1546
|
const deserializeAws_restJson1ListAnomalousLogGroupsCommandError = async (output, context) => {
|
|
1547
1547
|
const parsedOutput = {
|
|
1548
1548
|
...output,
|
|
1549
|
-
body: await
|
|
1549
|
+
body: await parseErrorBody(output.body, context),
|
|
1550
1550
|
};
|
|
1551
1551
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1552
1552
|
switch (errorCode) {
|
|
@@ -1595,7 +1595,7 @@ exports.deserializeAws_restJson1ListEventsCommand = deserializeAws_restJson1List
|
|
|
1595
1595
|
const deserializeAws_restJson1ListEventsCommandError = async (output, context) => {
|
|
1596
1596
|
const parsedOutput = {
|
|
1597
1597
|
...output,
|
|
1598
|
-
body: await
|
|
1598
|
+
body: await parseErrorBody(output.body, context),
|
|
1599
1599
|
};
|
|
1600
1600
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1601
1601
|
switch (errorCode) {
|
|
@@ -1647,7 +1647,7 @@ exports.deserializeAws_restJson1ListInsightsCommand = deserializeAws_restJson1Li
|
|
|
1647
1647
|
const deserializeAws_restJson1ListInsightsCommandError = async (output, context) => {
|
|
1648
1648
|
const parsedOutput = {
|
|
1649
1649
|
...output,
|
|
1650
|
-
body: await
|
|
1650
|
+
body: await parseErrorBody(output.body, context),
|
|
1651
1651
|
};
|
|
1652
1652
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1653
1653
|
switch (errorCode) {
|
|
@@ -1693,7 +1693,7 @@ exports.deserializeAws_restJson1ListMonitoredResourcesCommand = deserializeAws_r
|
|
|
1693
1693
|
const deserializeAws_restJson1ListMonitoredResourcesCommandError = async (output, context) => {
|
|
1694
1694
|
const parsedOutput = {
|
|
1695
1695
|
...output,
|
|
1696
|
-
body: await
|
|
1696
|
+
body: await parseErrorBody(output.body, context),
|
|
1697
1697
|
};
|
|
1698
1698
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1699
1699
|
switch (errorCode) {
|
|
@@ -1739,7 +1739,7 @@ exports.deserializeAws_restJson1ListNotificationChannelsCommand = deserializeAws
|
|
|
1739
1739
|
const deserializeAws_restJson1ListNotificationChannelsCommandError = async (output, context) => {
|
|
1740
1740
|
const parsedOutput = {
|
|
1741
1741
|
...output,
|
|
1742
|
-
body: await
|
|
1742
|
+
body: await parseErrorBody(output.body, context),
|
|
1743
1743
|
};
|
|
1744
1744
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1745
1745
|
switch (errorCode) {
|
|
@@ -1788,7 +1788,7 @@ exports.deserializeAws_restJson1ListOrganizationInsightsCommand = deserializeAws
|
|
|
1788
1788
|
const deserializeAws_restJson1ListOrganizationInsightsCommandError = async (output, context) => {
|
|
1789
1789
|
const parsedOutput = {
|
|
1790
1790
|
...output,
|
|
1791
|
-
body: await
|
|
1791
|
+
body: await parseErrorBody(output.body, context),
|
|
1792
1792
|
};
|
|
1793
1793
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1794
1794
|
switch (errorCode) {
|
|
@@ -1834,7 +1834,7 @@ exports.deserializeAws_restJson1ListRecommendationsCommand = deserializeAws_rest
|
|
|
1834
1834
|
const deserializeAws_restJson1ListRecommendationsCommandError = async (output, context) => {
|
|
1835
1835
|
const parsedOutput = {
|
|
1836
1836
|
...output,
|
|
1837
|
-
body: await
|
|
1837
|
+
body: await parseErrorBody(output.body, context),
|
|
1838
1838
|
};
|
|
1839
1839
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1840
1840
|
switch (errorCode) {
|
|
@@ -1877,7 +1877,7 @@ exports.deserializeAws_restJson1PutFeedbackCommand = deserializeAws_restJson1Put
|
|
|
1877
1877
|
const deserializeAws_restJson1PutFeedbackCommandError = async (output, context) => {
|
|
1878
1878
|
const parsedOutput = {
|
|
1879
1879
|
...output,
|
|
1880
|
-
body: await
|
|
1880
|
+
body: await parseErrorBody(output.body, context),
|
|
1881
1881
|
};
|
|
1882
1882
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1883
1883
|
switch (errorCode) {
|
|
@@ -1923,7 +1923,7 @@ exports.deserializeAws_restJson1RemoveNotificationChannelCommand = deserializeAw
|
|
|
1923
1923
|
const deserializeAws_restJson1RemoveNotificationChannelCommandError = async (output, context) => {
|
|
1924
1924
|
const parsedOutput = {
|
|
1925
1925
|
...output,
|
|
1926
|
-
body: await
|
|
1926
|
+
body: await parseErrorBody(output.body, context),
|
|
1927
1927
|
};
|
|
1928
1928
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1929
1929
|
switch (errorCode) {
|
|
@@ -1978,7 +1978,7 @@ exports.deserializeAws_restJson1SearchInsightsCommand = deserializeAws_restJson1
|
|
|
1978
1978
|
const deserializeAws_restJson1SearchInsightsCommandError = async (output, context) => {
|
|
1979
1979
|
const parsedOutput = {
|
|
1980
1980
|
...output,
|
|
1981
|
-
body: await
|
|
1981
|
+
body: await parseErrorBody(output.body, context),
|
|
1982
1982
|
};
|
|
1983
1983
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1984
1984
|
switch (errorCode) {
|
|
@@ -2027,7 +2027,7 @@ exports.deserializeAws_restJson1SearchOrganizationInsightsCommand = deserializeA
|
|
|
2027
2027
|
const deserializeAws_restJson1SearchOrganizationInsightsCommandError = async (output, context) => {
|
|
2028
2028
|
const parsedOutput = {
|
|
2029
2029
|
...output,
|
|
2030
|
-
body: await
|
|
2030
|
+
body: await parseErrorBody(output.body, context),
|
|
2031
2031
|
};
|
|
2032
2032
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2033
2033
|
switch (errorCode) {
|
|
@@ -2067,7 +2067,7 @@ exports.deserializeAws_restJson1StartCostEstimationCommand = deserializeAws_rest
|
|
|
2067
2067
|
const deserializeAws_restJson1StartCostEstimationCommandError = async (output, context) => {
|
|
2068
2068
|
const parsedOutput = {
|
|
2069
2069
|
...output,
|
|
2070
|
-
body: await
|
|
2070
|
+
body: await parseErrorBody(output.body, context),
|
|
2071
2071
|
};
|
|
2072
2072
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2073
2073
|
switch (errorCode) {
|
|
@@ -2113,7 +2113,7 @@ exports.deserializeAws_restJson1UpdateEventSourcesConfigCommand = deserializeAws
|
|
|
2113
2113
|
const deserializeAws_restJson1UpdateEventSourcesConfigCommandError = async (output, context) => {
|
|
2114
2114
|
const parsedOutput = {
|
|
2115
2115
|
...output,
|
|
2116
|
-
body: await
|
|
2116
|
+
body: await parseErrorBody(output.body, context),
|
|
2117
2117
|
};
|
|
2118
2118
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2119
2119
|
switch (errorCode) {
|
|
@@ -2153,7 +2153,7 @@ exports.deserializeAws_restJson1UpdateResourceCollectionCommand = deserializeAws
|
|
|
2153
2153
|
const deserializeAws_restJson1UpdateResourceCollectionCommandError = async (output, context) => {
|
|
2154
2154
|
const parsedOutput = {
|
|
2155
2155
|
...output,
|
|
2156
|
-
body: await
|
|
2156
|
+
body: await parseErrorBody(output.body, context),
|
|
2157
2157
|
};
|
|
2158
2158
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2159
2159
|
switch (errorCode) {
|
|
@@ -2196,7 +2196,7 @@ exports.deserializeAws_restJson1UpdateServiceIntegrationCommand = deserializeAws
|
|
|
2196
2196
|
const deserializeAws_restJson1UpdateServiceIntegrationCommandError = async (output, context) => {
|
|
2197
2197
|
const parsedOutput = {
|
|
2198
2198
|
...output,
|
|
2199
|
-
body: await
|
|
2199
|
+
body: await parseErrorBody(output.body, context),
|
|
2200
2200
|
};
|
|
2201
2201
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2202
2202
|
switch (errorCode) {
|
|
@@ -2506,9 +2506,25 @@ const serializeAws_restJson1LogsAnomalyDetectionIntegrationConfig = (input, cont
|
|
|
2506
2506
|
};
|
|
2507
2507
|
const serializeAws_restJson1NotificationChannelConfig = (input, context) => {
|
|
2508
2508
|
return {
|
|
2509
|
+
...(input.Filters != null && { Filters: serializeAws_restJson1NotificationFilterConfig(input.Filters, context) }),
|
|
2509
2510
|
...(input.Sns != null && { Sns: serializeAws_restJson1SnsChannelConfig(input.Sns, context) }),
|
|
2510
2511
|
};
|
|
2511
2512
|
};
|
|
2513
|
+
const serializeAws_restJson1NotificationFilterConfig = (input, context) => {
|
|
2514
|
+
return {
|
|
2515
|
+
...(input.MessageTypes != null && {
|
|
2516
|
+
MessageTypes: serializeAws_restJson1NotificationMessageTypes(input.MessageTypes, context),
|
|
2517
|
+
}),
|
|
2518
|
+
...(input.Severities != null && { Severities: serializeAws_restJson1InsightSeverities(input.Severities, context) }),
|
|
2519
|
+
};
|
|
2520
|
+
};
|
|
2521
|
+
const serializeAws_restJson1NotificationMessageTypes = (input, context) => {
|
|
2522
|
+
return input
|
|
2523
|
+
.filter((e) => e != null)
|
|
2524
|
+
.map((entry) => {
|
|
2525
|
+
return entry;
|
|
2526
|
+
});
|
|
2527
|
+
};
|
|
2512
2528
|
const serializeAws_restJson1OpsCenterIntegrationConfig = (input, context) => {
|
|
2513
2529
|
return {
|
|
2514
2530
|
...(input.OptInStatus != null && { OptInStatus: input.OptInStatus }),
|
|
@@ -2992,6 +3008,17 @@ const deserializeAws_restJson1InsightHealth = (output, context) => {
|
|
|
2992
3008
|
OpenReactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenReactiveInsights),
|
|
2993
3009
|
};
|
|
2994
3010
|
};
|
|
3011
|
+
const deserializeAws_restJson1InsightSeverities = (output, context) => {
|
|
3012
|
+
const retVal = (output || [])
|
|
3013
|
+
.filter((e) => e != null)
|
|
3014
|
+
.map((entry) => {
|
|
3015
|
+
if (entry === null) {
|
|
3016
|
+
return null;
|
|
3017
|
+
}
|
|
3018
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3019
|
+
});
|
|
3020
|
+
return retVal;
|
|
3021
|
+
};
|
|
2995
3022
|
const deserializeAws_restJson1InsightTimeRange = (output, context) => {
|
|
2996
3023
|
return {
|
|
2997
3024
|
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
|
|
@@ -3071,9 +3098,29 @@ const deserializeAws_restJson1NotificationChannel = (output, context) => {
|
|
|
3071
3098
|
};
|
|
3072
3099
|
const deserializeAws_restJson1NotificationChannelConfig = (output, context) => {
|
|
3073
3100
|
return {
|
|
3101
|
+
Filters: output.Filters != null ? deserializeAws_restJson1NotificationFilterConfig(output.Filters, context) : undefined,
|
|
3074
3102
|
Sns: output.Sns != null ? deserializeAws_restJson1SnsChannelConfig(output.Sns, context) : undefined,
|
|
3075
3103
|
};
|
|
3076
3104
|
};
|
|
3105
|
+
const deserializeAws_restJson1NotificationFilterConfig = (output, context) => {
|
|
3106
|
+
return {
|
|
3107
|
+
MessageTypes: output.MessageTypes != null
|
|
3108
|
+
? deserializeAws_restJson1NotificationMessageTypes(output.MessageTypes, context)
|
|
3109
|
+
: undefined,
|
|
3110
|
+
Severities: output.Severities != null ? deserializeAws_restJson1InsightSeverities(output.Severities, context) : undefined,
|
|
3111
|
+
};
|
|
3112
|
+
};
|
|
3113
|
+
const deserializeAws_restJson1NotificationMessageTypes = (output, context) => {
|
|
3114
|
+
const retVal = (output || [])
|
|
3115
|
+
.filter((e) => e != null)
|
|
3116
|
+
.map((entry) => {
|
|
3117
|
+
if (entry === null) {
|
|
3118
|
+
return null;
|
|
3119
|
+
}
|
|
3120
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3121
|
+
});
|
|
3122
|
+
return retVal;
|
|
3123
|
+
};
|
|
3077
3124
|
const deserializeAws_restJson1OpsCenterIntegration = (output, context) => {
|
|
3078
3125
|
return {
|
|
3079
3126
|
OptInStatus: (0, smithy_client_1.expectString)(output.OptInStatus),
|
|
@@ -3891,6 +3938,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
3891
3938
|
}
|
|
3892
3939
|
return {};
|
|
3893
3940
|
});
|
|
3941
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
3942
|
+
var _a;
|
|
3943
|
+
const value = await parseBody(errorBody, context);
|
|
3944
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
3945
|
+
return value;
|
|
3946
|
+
};
|
|
3894
3947
|
const loadRestJsonErrorCode = (output, data) => {
|
|
3895
3948
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
3896
3949
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -13,6 +13,20 @@ var AccessDeniedException = (function (_super) {
|
|
|
13
13
|
return AccessDeniedException;
|
|
14
14
|
}(__BaseException));
|
|
15
15
|
export { AccessDeniedException };
|
|
16
|
+
export var NotificationMessageType;
|
|
17
|
+
(function (NotificationMessageType) {
|
|
18
|
+
NotificationMessageType["CLOSED_INSIGHT"] = "CLOSED_INSIGHT";
|
|
19
|
+
NotificationMessageType["NEW_ASSOCIATION"] = "NEW_ASSOCIATION";
|
|
20
|
+
NotificationMessageType["NEW_INSIGHT"] = "NEW_INSIGHT";
|
|
21
|
+
NotificationMessageType["NEW_RECOMMENDATION"] = "NEW_RECOMMENDATION";
|
|
22
|
+
NotificationMessageType["SEVERITY_UPGRADED"] = "SEVERITY_UPGRADED";
|
|
23
|
+
})(NotificationMessageType || (NotificationMessageType = {}));
|
|
24
|
+
export var InsightSeverity;
|
|
25
|
+
(function (InsightSeverity) {
|
|
26
|
+
InsightSeverity["HIGH"] = "HIGH";
|
|
27
|
+
InsightSeverity["LOW"] = "LOW";
|
|
28
|
+
InsightSeverity["MEDIUM"] = "MEDIUM";
|
|
29
|
+
})(InsightSeverity || (InsightSeverity = {}));
|
|
16
30
|
var ConflictException = (function (_super) {
|
|
17
31
|
__extends(ConflictException, _super);
|
|
18
32
|
function ConflictException(opts) {
|
|
@@ -167,12 +181,6 @@ export var InsightFeedbackOption;
|
|
|
167
181
|
InsightFeedbackOption["RECOMMENDATION_USEFUL"] = "RECOMMENDATION_USEFUL";
|
|
168
182
|
InsightFeedbackOption["VALID_COLLECTION"] = "VALID_COLLECTION";
|
|
169
183
|
})(InsightFeedbackOption || (InsightFeedbackOption = {}));
|
|
170
|
-
export var InsightSeverity;
|
|
171
|
-
(function (InsightSeverity) {
|
|
172
|
-
InsightSeverity["HIGH"] = "HIGH";
|
|
173
|
-
InsightSeverity["LOW"] = "LOW";
|
|
174
|
-
InsightSeverity["MEDIUM"] = "MEDIUM";
|
|
175
|
-
})(InsightSeverity || (InsightSeverity = {}));
|
|
176
184
|
export var InsightStatus;
|
|
177
185
|
(function (InsightStatus) {
|
|
178
186
|
InsightStatus["CLOSED"] = "CLOSED";
|
|
@@ -282,6 +290,7 @@ export var UpdateResourceCollectionAction;
|
|
|
282
290
|
})(UpdateResourceCollectionAction || (UpdateResourceCollectionAction = {}));
|
|
283
291
|
export var AccountInsightHealthFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
284
292
|
export var AccountHealthFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
293
|
+
export var NotificationFilterConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
285
294
|
export var SnsChannelConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
286
295
|
export var NotificationChannelConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
287
296
|
export var AddNotificationChannelRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -826,7 +826,7 @@ var deserializeAws_restJson1AddNotificationChannelCommandError = function (outpu
|
|
|
826
826
|
case 0:
|
|
827
827
|
_a = [__assign({}, output)];
|
|
828
828
|
_c = {};
|
|
829
|
-
return [4,
|
|
829
|
+
return [4, parseErrorBody(output.body, context)];
|
|
830
830
|
case 1:
|
|
831
831
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
832
832
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -901,7 +901,7 @@ var deserializeAws_restJson1DeleteInsightCommandError = function (output, contex
|
|
|
901
901
|
case 0:
|
|
902
902
|
_a = [__assign({}, output)];
|
|
903
903
|
_c = {};
|
|
904
|
-
return [4,
|
|
904
|
+
return [4, parseErrorBody(output.body, context)];
|
|
905
905
|
case 1:
|
|
906
906
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
907
907
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -986,7 +986,7 @@ var deserializeAws_restJson1DescribeAccountHealthCommandError = function (output
|
|
|
986
986
|
case 0:
|
|
987
987
|
_a = [__assign({}, output)];
|
|
988
988
|
_c = {};
|
|
989
|
-
return [4,
|
|
989
|
+
return [4, parseErrorBody(output.body, context)];
|
|
990
990
|
case 1:
|
|
991
991
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
992
992
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -1060,7 +1060,7 @@ var deserializeAws_restJson1DescribeAccountOverviewCommandError = function (outp
|
|
|
1060
1060
|
case 0:
|
|
1061
1061
|
_a = [__assign({}, output)];
|
|
1062
1062
|
_c = {};
|
|
1063
|
-
return [4,
|
|
1063
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1064
1064
|
case 1:
|
|
1065
1065
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1066
1066
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -1131,7 +1131,7 @@ var deserializeAws_restJson1DescribeAnomalyCommandError = function (output, cont
|
|
|
1131
1131
|
case 0:
|
|
1132
1132
|
_a = [__assign({}, output)];
|
|
1133
1133
|
_c = {};
|
|
1134
|
-
return [4,
|
|
1134
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1135
1135
|
case 1:
|
|
1136
1136
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1137
1137
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -1203,7 +1203,7 @@ var deserializeAws_restJson1DescribeEventSourcesConfigCommandError = function (o
|
|
|
1203
1203
|
case 0:
|
|
1204
1204
|
_a = [__assign({}, output)];
|
|
1205
1205
|
_c = {};
|
|
1206
|
-
return [4,
|
|
1206
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1207
1207
|
case 1:
|
|
1208
1208
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1209
1209
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -1271,7 +1271,7 @@ var deserializeAws_restJson1DescribeFeedbackCommandError = function (output, con
|
|
|
1271
1271
|
case 0:
|
|
1272
1272
|
_a = [__assign({}, output)];
|
|
1273
1273
|
_c = {};
|
|
1274
|
-
return [4,
|
|
1274
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1275
1275
|
case 1:
|
|
1276
1276
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1277
1277
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -1346,7 +1346,7 @@ var deserializeAws_restJson1DescribeInsightCommandError = function (output, cont
|
|
|
1346
1346
|
case 0:
|
|
1347
1347
|
_a = [__assign({}, output)];
|
|
1348
1348
|
_c = {};
|
|
1349
|
-
return [4,
|
|
1349
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1350
1350
|
case 1:
|
|
1351
1351
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1352
1352
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -1427,7 +1427,7 @@ var deserializeAws_restJson1DescribeOrganizationHealthCommandError = function (o
|
|
|
1427
1427
|
case 0:
|
|
1428
1428
|
_a = [__assign({}, output)];
|
|
1429
1429
|
_c = {};
|
|
1430
|
-
return [4,
|
|
1430
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1431
1431
|
case 1:
|
|
1432
1432
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1433
1433
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -1498,7 +1498,7 @@ var deserializeAws_restJson1DescribeOrganizationOverviewCommandError = function
|
|
|
1498
1498
|
case 0:
|
|
1499
1499
|
_a = [__assign({}, output)];
|
|
1500
1500
|
_c = {};
|
|
1501
|
-
return [4,
|
|
1501
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1502
1502
|
case 1:
|
|
1503
1503
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1504
1504
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -1578,7 +1578,7 @@ var deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommandE
|
|
|
1578
1578
|
case 0:
|
|
1579
1579
|
_a = [__assign({}, output)];
|
|
1580
1580
|
_c = {};
|
|
1581
|
-
return [4,
|
|
1581
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1582
1582
|
case 1:
|
|
1583
1583
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1584
1584
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -1655,7 +1655,7 @@ var deserializeAws_restJson1DescribeResourceCollectionHealthCommandError = funct
|
|
|
1655
1655
|
case 0:
|
|
1656
1656
|
_a = [__assign({}, output)];
|
|
1657
1657
|
_c = {};
|
|
1658
|
-
return [4,
|
|
1658
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1659
1659
|
case 1:
|
|
1660
1660
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1661
1661
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -1723,7 +1723,7 @@ var deserializeAws_restJson1DescribeServiceIntegrationCommandError = function (o
|
|
|
1723
1723
|
case 0:
|
|
1724
1724
|
_a = [__assign({}, output)];
|
|
1725
1725
|
_c = {};
|
|
1726
|
-
return [4,
|
|
1726
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1727
1727
|
case 1:
|
|
1728
1728
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1729
1729
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -1810,7 +1810,7 @@ var deserializeAws_restJson1GetCostEstimationCommandError = function (output, co
|
|
|
1810
1810
|
case 0:
|
|
1811
1811
|
_a = [__assign({}, output)];
|
|
1812
1812
|
_c = {};
|
|
1813
|
-
return [4,
|
|
1813
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1814
1814
|
case 1:
|
|
1815
1815
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1816
1816
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -1885,7 +1885,7 @@ var deserializeAws_restJson1GetResourceCollectionCommandError = function (output
|
|
|
1885
1885
|
case 0:
|
|
1886
1886
|
_a = [__assign({}, output)];
|
|
1887
1887
|
_c = {};
|
|
1888
|
-
return [4,
|
|
1888
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1889
1889
|
case 1:
|
|
1890
1890
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1891
1891
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -1963,7 +1963,7 @@ var deserializeAws_restJson1ListAnomaliesForInsightCommandError = function (outp
|
|
|
1963
1963
|
case 0:
|
|
1964
1964
|
_a = [__assign({}, output)];
|
|
1965
1965
|
_c = {};
|
|
1966
|
-
return [4,
|
|
1966
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1967
1967
|
case 1:
|
|
1968
1968
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1969
1969
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2041,7 +2041,7 @@ var deserializeAws_restJson1ListAnomalousLogGroupsCommandError = function (outpu
|
|
|
2041
2041
|
case 0:
|
|
2042
2042
|
_a = [__assign({}, output)];
|
|
2043
2043
|
_c = {};
|
|
2044
|
-
return [4,
|
|
2044
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2045
2045
|
case 1:
|
|
2046
2046
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2047
2047
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2116,7 +2116,7 @@ var deserializeAws_restJson1ListEventsCommandError = function (output, context)
|
|
|
2116
2116
|
case 0:
|
|
2117
2117
|
_a = [__assign({}, output)];
|
|
2118
2118
|
_c = {};
|
|
2119
|
-
return [4,
|
|
2119
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2120
2120
|
case 1:
|
|
2121
2121
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2122
2122
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2194,7 +2194,7 @@ var deserializeAws_restJson1ListInsightsCommandError = function (output, context
|
|
|
2194
2194
|
case 0:
|
|
2195
2195
|
_a = [__assign({}, output)];
|
|
2196
2196
|
_c = {};
|
|
2197
|
-
return [4,
|
|
2197
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2198
2198
|
case 1:
|
|
2199
2199
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2200
2200
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2265,7 +2265,7 @@ var deserializeAws_restJson1ListMonitoredResourcesCommandError = function (outpu
|
|
|
2265
2265
|
case 0:
|
|
2266
2266
|
_a = [__assign({}, output)];
|
|
2267
2267
|
_c = {};
|
|
2268
|
-
return [4,
|
|
2268
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2269
2269
|
case 1:
|
|
2270
2270
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2271
2271
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2336,7 +2336,7 @@ var deserializeAws_restJson1ListNotificationChannelsCommandError = function (out
|
|
|
2336
2336
|
case 0:
|
|
2337
2337
|
_a = [__assign({}, output)];
|
|
2338
2338
|
_c = {};
|
|
2339
|
-
return [4,
|
|
2339
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2340
2340
|
case 1:
|
|
2341
2341
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2342
2342
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2410,7 +2410,7 @@ var deserializeAws_restJson1ListOrganizationInsightsCommandError = function (out
|
|
|
2410
2410
|
case 0:
|
|
2411
2411
|
_a = [__assign({}, output)];
|
|
2412
2412
|
_c = {};
|
|
2413
|
-
return [4,
|
|
2413
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2414
2414
|
case 1:
|
|
2415
2415
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2416
2416
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2481,7 +2481,7 @@ var deserializeAws_restJson1ListRecommendationsCommandError = function (output,
|
|
|
2481
2481
|
case 0:
|
|
2482
2482
|
_a = [__assign({}, output)];
|
|
2483
2483
|
_c = {};
|
|
2484
|
-
return [4,
|
|
2484
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2485
2485
|
case 1:
|
|
2486
2486
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2487
2487
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2548,7 +2548,7 @@ var deserializeAws_restJson1PutFeedbackCommandError = function (output, context)
|
|
|
2548
2548
|
case 0:
|
|
2549
2549
|
_a = [__assign({}, output)];
|
|
2550
2550
|
_c = {};
|
|
2551
|
-
return [4,
|
|
2551
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2552
2552
|
case 1:
|
|
2553
2553
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2554
2554
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2619,7 +2619,7 @@ var deserializeAws_restJson1RemoveNotificationChannelCommandError = function (ou
|
|
|
2619
2619
|
case 0:
|
|
2620
2620
|
_a = [__assign({}, output)];
|
|
2621
2621
|
_c = {};
|
|
2622
|
-
return [4,
|
|
2622
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2623
2623
|
case 1:
|
|
2624
2624
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2625
2625
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2701,7 +2701,7 @@ var deserializeAws_restJson1SearchInsightsCommandError = function (output, conte
|
|
|
2701
2701
|
case 0:
|
|
2702
2702
|
_a = [__assign({}, output)];
|
|
2703
2703
|
_c = {};
|
|
2704
|
-
return [4,
|
|
2704
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2705
2705
|
case 1:
|
|
2706
2706
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2707
2707
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2775,7 +2775,7 @@ var deserializeAws_restJson1SearchOrganizationInsightsCommandError = function (o
|
|
|
2775
2775
|
case 0:
|
|
2776
2776
|
_a = [__assign({}, output)];
|
|
2777
2777
|
_c = {};
|
|
2778
|
-
return [4,
|
|
2778
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2779
2779
|
case 1:
|
|
2780
2780
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2781
2781
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2838,7 +2838,7 @@ var deserializeAws_restJson1StartCostEstimationCommandError = function (output,
|
|
|
2838
2838
|
case 0:
|
|
2839
2839
|
_a = [__assign({}, output)];
|
|
2840
2840
|
_c = {};
|
|
2841
|
-
return [4,
|
|
2841
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2842
2842
|
case 1:
|
|
2843
2843
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2844
2844
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2909,7 +2909,7 @@ var deserializeAws_restJson1UpdateEventSourcesConfigCommandError = function (out
|
|
|
2909
2909
|
case 0:
|
|
2910
2910
|
_a = [__assign({}, output)];
|
|
2911
2911
|
_c = {};
|
|
2912
|
-
return [4,
|
|
2912
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2913
2913
|
case 1:
|
|
2914
2914
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2915
2915
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2972,7 +2972,7 @@ var deserializeAws_restJson1UpdateResourceCollectionCommandError = function (out
|
|
|
2972
2972
|
case 0:
|
|
2973
2973
|
_a = [__assign({}, output)];
|
|
2974
2974
|
_c = {};
|
|
2975
|
-
return [4,
|
|
2975
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2976
2976
|
case 1:
|
|
2977
2977
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2978
2978
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3039,7 +3039,7 @@ var deserializeAws_restJson1UpdateServiceIntegrationCommandError = function (out
|
|
|
3039
3039
|
case 0:
|
|
3040
3040
|
_a = [__assign({}, output)];
|
|
3041
3041
|
_c = {};
|
|
3042
|
-
return [4,
|
|
3042
|
+
return [4, parseErrorBody(output.body, context)];
|
|
3043
3043
|
case 1:
|
|
3044
3044
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3045
3045
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3316,7 +3316,19 @@ var serializeAws_restJson1LogsAnomalyDetectionIntegrationConfig = function (inpu
|
|
|
3316
3316
|
return __assign({}, (input.OptInStatus != null && { OptInStatus: input.OptInStatus }));
|
|
3317
3317
|
};
|
|
3318
3318
|
var serializeAws_restJson1NotificationChannelConfig = function (input, context) {
|
|
3319
|
-
return __assign({}, (input.Sns != null && { Sns: serializeAws_restJson1SnsChannelConfig(input.Sns, context) }));
|
|
3319
|
+
return __assign(__assign({}, (input.Filters != null && { Filters: serializeAws_restJson1NotificationFilterConfig(input.Filters, context) })), (input.Sns != null && { Sns: serializeAws_restJson1SnsChannelConfig(input.Sns, context) }));
|
|
3320
|
+
};
|
|
3321
|
+
var serializeAws_restJson1NotificationFilterConfig = function (input, context) {
|
|
3322
|
+
return __assign(__assign({}, (input.MessageTypes != null && {
|
|
3323
|
+
MessageTypes: serializeAws_restJson1NotificationMessageTypes(input.MessageTypes, context),
|
|
3324
|
+
})), (input.Severities != null && { Severities: serializeAws_restJson1InsightSeverities(input.Severities, context) }));
|
|
3325
|
+
};
|
|
3326
|
+
var serializeAws_restJson1NotificationMessageTypes = function (input, context) {
|
|
3327
|
+
return input
|
|
3328
|
+
.filter(function (e) { return e != null; })
|
|
3329
|
+
.map(function (entry) {
|
|
3330
|
+
return entry;
|
|
3331
|
+
});
|
|
3320
3332
|
};
|
|
3321
3333
|
var serializeAws_restJson1OpsCenterIntegrationConfig = function (input, context) {
|
|
3322
3334
|
return __assign({}, (input.OptInStatus != null && { OptInStatus: input.OptInStatus }));
|
|
@@ -3762,6 +3774,17 @@ var deserializeAws_restJson1InsightHealth = function (output, context) {
|
|
|
3762
3774
|
OpenReactiveInsights: __expectInt32(output.OpenReactiveInsights),
|
|
3763
3775
|
};
|
|
3764
3776
|
};
|
|
3777
|
+
var deserializeAws_restJson1InsightSeverities = function (output, context) {
|
|
3778
|
+
var retVal = (output || [])
|
|
3779
|
+
.filter(function (e) { return e != null; })
|
|
3780
|
+
.map(function (entry) {
|
|
3781
|
+
if (entry === null) {
|
|
3782
|
+
return null;
|
|
3783
|
+
}
|
|
3784
|
+
return __expectString(entry);
|
|
3785
|
+
});
|
|
3786
|
+
return retVal;
|
|
3787
|
+
};
|
|
3765
3788
|
var deserializeAws_restJson1InsightTimeRange = function (output, context) {
|
|
3766
3789
|
return {
|
|
3767
3790
|
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
@@ -3841,9 +3864,29 @@ var deserializeAws_restJson1NotificationChannel = function (output, context) {
|
|
|
3841
3864
|
};
|
|
3842
3865
|
var deserializeAws_restJson1NotificationChannelConfig = function (output, context) {
|
|
3843
3866
|
return {
|
|
3867
|
+
Filters: output.Filters != null ? deserializeAws_restJson1NotificationFilterConfig(output.Filters, context) : undefined,
|
|
3844
3868
|
Sns: output.Sns != null ? deserializeAws_restJson1SnsChannelConfig(output.Sns, context) : undefined,
|
|
3845
3869
|
};
|
|
3846
3870
|
};
|
|
3871
|
+
var deserializeAws_restJson1NotificationFilterConfig = function (output, context) {
|
|
3872
|
+
return {
|
|
3873
|
+
MessageTypes: output.MessageTypes != null
|
|
3874
|
+
? deserializeAws_restJson1NotificationMessageTypes(output.MessageTypes, context)
|
|
3875
|
+
: undefined,
|
|
3876
|
+
Severities: output.Severities != null ? deserializeAws_restJson1InsightSeverities(output.Severities, context) : undefined,
|
|
3877
|
+
};
|
|
3878
|
+
};
|
|
3879
|
+
var deserializeAws_restJson1NotificationMessageTypes = function (output, context) {
|
|
3880
|
+
var retVal = (output || [])
|
|
3881
|
+
.filter(function (e) { return e != null; })
|
|
3882
|
+
.map(function (entry) {
|
|
3883
|
+
if (entry === null) {
|
|
3884
|
+
return null;
|
|
3885
|
+
}
|
|
3886
|
+
return __expectString(entry);
|
|
3887
|
+
});
|
|
3888
|
+
return retVal;
|
|
3889
|
+
};
|
|
3847
3890
|
var deserializeAws_restJson1OpsCenterIntegration = function (output, context) {
|
|
3848
3891
|
return {
|
|
3849
3892
|
OptInStatus: __expectString(output.OptInStatus),
|
|
@@ -4667,6 +4710,19 @@ var parseBody = function (streamBody, context) {
|
|
|
4667
4710
|
return {};
|
|
4668
4711
|
});
|
|
4669
4712
|
};
|
|
4713
|
+
var parseErrorBody = function (errorBody, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4714
|
+
var value;
|
|
4715
|
+
var _a;
|
|
4716
|
+
return __generator(this, function (_b) {
|
|
4717
|
+
switch (_b.label) {
|
|
4718
|
+
case 0: return [4, parseBody(errorBody, context)];
|
|
4719
|
+
case 1:
|
|
4720
|
+
value = _b.sent();
|
|
4721
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
4722
|
+
return [2, value];
|
|
4723
|
+
}
|
|
4724
|
+
});
|
|
4725
|
+
}); };
|
|
4670
4726
|
var loadRestJsonErrorCode = function (output, data) {
|
|
4671
4727
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
4672
4728
|
var sanitizeErrorCode = function (rawValue) {
|
|
@@ -48,6 +48,39 @@ export interface AccountHealth {
|
|
|
48
48
|
*/
|
|
49
49
|
Insight?: AccountInsightHealth;
|
|
50
50
|
}
|
|
51
|
+
export declare enum NotificationMessageType {
|
|
52
|
+
CLOSED_INSIGHT = "CLOSED_INSIGHT",
|
|
53
|
+
NEW_ASSOCIATION = "NEW_ASSOCIATION",
|
|
54
|
+
NEW_INSIGHT = "NEW_INSIGHT",
|
|
55
|
+
NEW_RECOMMENDATION = "NEW_RECOMMENDATION",
|
|
56
|
+
SEVERITY_UPGRADED = "SEVERITY_UPGRADED"
|
|
57
|
+
}
|
|
58
|
+
export declare enum InsightSeverity {
|
|
59
|
+
HIGH = "HIGH",
|
|
60
|
+
LOW = "LOW",
|
|
61
|
+
MEDIUM = "MEDIUM"
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* <p>
|
|
65
|
+
* The filter configurations for the Amazon SNS notification topic you use with DevOps Guru. You can choose to specify which events or message types to receive notifications for.
|
|
66
|
+
* You can also choose to specify which severity levels to receive notifications for.
|
|
67
|
+
* </p>
|
|
68
|
+
*/
|
|
69
|
+
export interface NotificationFilterConfig {
|
|
70
|
+
/**
|
|
71
|
+
* <p>
|
|
72
|
+
* The severity levels that you want to receive notifications for. For example, you can choose to receive notifications only for insights with <code>HIGH</code> and <code>MEDIUM</code> severity levels.
|
|
73
|
+
* For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities">Understanding insight severities</a>.
|
|
74
|
+
* </p>
|
|
75
|
+
*/
|
|
76
|
+
Severities?: (InsightSeverity | string)[];
|
|
77
|
+
/**
|
|
78
|
+
* <p>
|
|
79
|
+
* The events that you want to receive notifications for. For example, you can choose to receive notifications only when the severity level is upgraded or a new insight is created.
|
|
80
|
+
* </p>
|
|
81
|
+
*/
|
|
82
|
+
MessageTypes?: (NotificationMessageType | string)[];
|
|
83
|
+
}
|
|
51
84
|
/**
|
|
52
85
|
* <p> Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic. </p>
|
|
53
86
|
* <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission
|
|
@@ -84,6 +117,13 @@ export interface NotificationChannelConfig {
|
|
|
84
117
|
* Amazon Web Services KMS–encrypted Amazon SNS topics</a>.</p>
|
|
85
118
|
*/
|
|
86
119
|
Sns: SnsChannelConfig | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* <p>
|
|
122
|
+
* The filter configurations for the Amazon SNS notification topic you use with DevOps Guru.
|
|
123
|
+
* If you do not provide filter configurations, the default configurations are to receive notifications for all message types of <code>High</code> or <code>Medium</code> severity.
|
|
124
|
+
* </p>
|
|
125
|
+
*/
|
|
126
|
+
Filters?: NotificationFilterConfig;
|
|
87
127
|
}
|
|
88
128
|
export interface AddNotificationChannelRequest {
|
|
89
129
|
/**
|
|
@@ -1029,7 +1069,7 @@ export interface CloudFormationCollection {
|
|
|
1029
1069
|
StackNames?: string[];
|
|
1030
1070
|
}
|
|
1031
1071
|
/**
|
|
1032
|
-
* <p>A collection of Amazon Web Services
|
|
1072
|
+
* <p>A collection of Amazon Web Services tags.</p>
|
|
1033
1073
|
* <p>Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support
|
|
1034
1074
|
* tagging, so you can assign the same tag to resources from different services to indicate
|
|
1035
1075
|
* that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB
|
|
@@ -1055,11 +1095,11 @@ export interface CloudFormationCollection {
|
|
|
1055
1095
|
* <important>
|
|
1056
1096
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
1057
1097
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
1058
|
-
* <code>
|
|
1059
|
-
* <code>
|
|
1060
|
-
*
|
|
1098
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
1099
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
1100
|
+
* For example, DevOps Guru works with a
|
|
1061
1101
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
1062
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1102
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1063
1103
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
1064
1104
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
1065
1105
|
* </important>
|
|
@@ -1072,11 +1112,11 @@ export interface TagCollection {
|
|
|
1072
1112
|
* <important>
|
|
1073
1113
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
1074
1114
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
1075
|
-
* <code>
|
|
1076
|
-
* <code>
|
|
1077
|
-
*
|
|
1115
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
1116
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
1117
|
+
* For example, DevOps Guru works with a
|
|
1078
1118
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
1079
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1119
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1080
1120
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
1081
1121
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
1082
1122
|
* </important>
|
|
@@ -1132,11 +1172,11 @@ export interface ResourceCollection {
|
|
|
1132
1172
|
* <important>
|
|
1133
1173
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
1134
1174
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
1135
|
-
* <code>
|
|
1136
|
-
* <code>
|
|
1137
|
-
*
|
|
1175
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
1176
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
1177
|
+
* For example, DevOps Guru works with a
|
|
1138
1178
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
1139
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1179
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1140
1180
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
1141
1181
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
1142
1182
|
* </important>
|
|
@@ -1381,11 +1421,6 @@ export interface InsightTimeRange {
|
|
|
1381
1421
|
*/
|
|
1382
1422
|
EndTime?: Date;
|
|
1383
1423
|
}
|
|
1384
|
-
export declare enum InsightSeverity {
|
|
1385
|
-
HIGH = "HIGH",
|
|
1386
|
-
LOW = "LOW",
|
|
1387
|
-
MEDIUM = "MEDIUM"
|
|
1388
|
-
}
|
|
1389
1424
|
export declare enum InsightStatus {
|
|
1390
1425
|
CLOSED = "CLOSED",
|
|
1391
1426
|
ONGOING = "ONGOING"
|
|
@@ -1696,11 +1731,11 @@ export interface TagHealth {
|
|
|
1696
1731
|
* <important>
|
|
1697
1732
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
1698
1733
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
1699
|
-
* <code>
|
|
1700
|
-
* <code>
|
|
1701
|
-
*
|
|
1734
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
1735
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
1736
|
+
* For example, DevOps Guru works with a
|
|
1702
1737
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
1703
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1738
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1704
1739
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
1705
1740
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
1706
1741
|
* </important>
|
|
@@ -1770,11 +1805,11 @@ export interface DescribeOrganizationResourceCollectionHealthResponse {
|
|
|
1770
1805
|
* <important>
|
|
1771
1806
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
1772
1807
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
1773
|
-
* <code>
|
|
1774
|
-
* <code>
|
|
1775
|
-
*
|
|
1808
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
1809
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
1810
|
+
* For example, DevOps Guru works with a
|
|
1776
1811
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
1777
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1812
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1778
1813
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
1779
1814
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
1780
1815
|
* </important>
|
|
@@ -1844,11 +1879,11 @@ export interface DescribeResourceCollectionHealthResponse {
|
|
|
1844
1879
|
* <important>
|
|
1845
1880
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
1846
1881
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
1847
|
-
* <code>
|
|
1848
|
-
* <code>
|
|
1849
|
-
*
|
|
1882
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
1883
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
1884
|
+
* For example, DevOps Guru works with a
|
|
1850
1885
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
1851
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1886
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1852
1887
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
1853
1888
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
1854
1889
|
* </important>
|
|
@@ -1985,11 +2020,11 @@ export interface TagCostEstimationResourceCollectionFilter {
|
|
|
1985
2020
|
* <important>
|
|
1986
2021
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
1987
2022
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
1988
|
-
* <code>
|
|
1989
|
-
* <code>
|
|
1990
|
-
*
|
|
2023
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
2024
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
2025
|
+
* For example, DevOps Guru works with a
|
|
1991
2026
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
1992
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
2027
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1993
2028
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
1994
2029
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
1995
2030
|
* </important>
|
|
@@ -2047,11 +2082,11 @@ export interface CostEstimationResourceCollectionFilter {
|
|
|
2047
2082
|
* <important>
|
|
2048
2083
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
2049
2084
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
2050
|
-
* <code>
|
|
2051
|
-
* <code>
|
|
2052
|
-
*
|
|
2085
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
2086
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
2087
|
+
* For example, DevOps Guru works with a
|
|
2053
2088
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
2054
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
2089
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
2055
2090
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
2056
2091
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
2057
2092
|
* </important>
|
|
@@ -2144,11 +2179,11 @@ export interface TagCollectionFilter {
|
|
|
2144
2179
|
* <important>
|
|
2145
2180
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
2146
2181
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
2147
|
-
* <code>
|
|
2148
|
-
* <code>
|
|
2149
|
-
*
|
|
2182
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
2183
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
2184
|
+
* For example, DevOps Guru works with a
|
|
2150
2185
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
2151
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
2186
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
2152
2187
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
2153
2188
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
2154
2189
|
* </important>
|
|
@@ -2204,11 +2239,11 @@ export interface ResourceCollectionFilter {
|
|
|
2204
2239
|
* <important>
|
|
2205
2240
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
2206
2241
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
2207
|
-
* <code>
|
|
2208
|
-
* <code>
|
|
2209
|
-
*
|
|
2242
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
2243
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
2244
|
+
* For example, DevOps Guru works with a
|
|
2210
2245
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
2211
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
2246
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
2212
2247
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
2213
2248
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
2214
2249
|
* </important>
|
|
@@ -3495,11 +3530,11 @@ export interface UpdateTagCollectionFilter {
|
|
|
3495
3530
|
* <important>
|
|
3496
3531
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
3497
3532
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
3498
|
-
* <code>
|
|
3499
|
-
* <code>
|
|
3500
|
-
*
|
|
3533
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
3534
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
3535
|
+
* For example, DevOps Guru works with a
|
|
3501
3536
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
3502
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
3537
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
3503
3538
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
3504
3539
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
3505
3540
|
* </important>
|
|
@@ -3551,11 +3586,11 @@ export interface UpdateResourceCollectionFilter {
|
|
|
3551
3586
|
* <important>
|
|
3552
3587
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
3553
3588
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
3554
|
-
* <code>
|
|
3555
|
-
* <code>
|
|
3556
|
-
*
|
|
3589
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
3590
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
3591
|
+
* For example, DevOps Guru works with a
|
|
3557
3592
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
3558
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
3593
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
3559
3594
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
3560
3595
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
3561
3596
|
* </important>
|
|
@@ -3631,6 +3666,10 @@ export declare const AccountInsightHealthFilterSensitiveLog: (obj: AccountInsigh
|
|
|
3631
3666
|
* @internal
|
|
3632
3667
|
*/
|
|
3633
3668
|
export declare const AccountHealthFilterSensitiveLog: (obj: AccountHealth) => any;
|
|
3669
|
+
/**
|
|
3670
|
+
* @internal
|
|
3671
|
+
*/
|
|
3672
|
+
export declare const NotificationFilterConfigFilterSensitiveLog: (obj: NotificationFilterConfig) => any;
|
|
3634
3673
|
/**
|
|
3635
3674
|
* @internal
|
|
3636
3675
|
*/
|
|
@@ -16,11 +16,28 @@ export interface AccountHealth {
|
|
|
16
16
|
AccountId?: string;
|
|
17
17
|
Insight?: AccountInsightHealth;
|
|
18
18
|
}
|
|
19
|
+
export declare enum NotificationMessageType {
|
|
20
|
+
CLOSED_INSIGHT = "CLOSED_INSIGHT",
|
|
21
|
+
NEW_ASSOCIATION = "NEW_ASSOCIATION",
|
|
22
|
+
NEW_INSIGHT = "NEW_INSIGHT",
|
|
23
|
+
NEW_RECOMMENDATION = "NEW_RECOMMENDATION",
|
|
24
|
+
SEVERITY_UPGRADED = "SEVERITY_UPGRADED",
|
|
25
|
+
}
|
|
26
|
+
export declare enum InsightSeverity {
|
|
27
|
+
HIGH = "HIGH",
|
|
28
|
+
LOW = "LOW",
|
|
29
|
+
MEDIUM = "MEDIUM",
|
|
30
|
+
}
|
|
31
|
+
export interface NotificationFilterConfig {
|
|
32
|
+
Severities?: (InsightSeverity | string)[];
|
|
33
|
+
MessageTypes?: (NotificationMessageType | string)[];
|
|
34
|
+
}
|
|
19
35
|
export interface SnsChannelConfig {
|
|
20
36
|
TopicArn?: string;
|
|
21
37
|
}
|
|
22
38
|
export interface NotificationChannelConfig {
|
|
23
39
|
Sns: SnsChannelConfig | undefined;
|
|
40
|
+
Filters?: NotificationFilterConfig;
|
|
24
41
|
}
|
|
25
42
|
export interface AddNotificationChannelRequest {
|
|
26
43
|
Config: NotificationChannelConfig | undefined;
|
|
@@ -343,11 +360,6 @@ export interface InsightTimeRange {
|
|
|
343
360
|
StartTime: Date | undefined;
|
|
344
361
|
EndTime?: Date;
|
|
345
362
|
}
|
|
346
|
-
export declare enum InsightSeverity {
|
|
347
|
-
HIGH = "HIGH",
|
|
348
|
-
LOW = "LOW",
|
|
349
|
-
MEDIUM = "MEDIUM",
|
|
350
|
-
}
|
|
351
363
|
export declare enum InsightStatus {
|
|
352
364
|
CLOSED = "CLOSED",
|
|
353
365
|
ONGOING = "ONGOING",
|
|
@@ -945,6 +957,9 @@ export declare const AccountInsightHealthFilterSensitiveLog: (
|
|
|
945
957
|
export declare const AccountHealthFilterSensitiveLog: (
|
|
946
958
|
obj: AccountHealth
|
|
947
959
|
) => any;
|
|
960
|
+
export declare const NotificationFilterConfigFilterSensitiveLog: (
|
|
961
|
+
obj: NotificationFilterConfig
|
|
962
|
+
) => any;
|
|
948
963
|
export declare const SnsChannelConfigFilterSensitiveLog: (
|
|
949
964
|
obj: SnsChannelConfig
|
|
950
965
|
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-devops-guru",
|
|
3
3
|
"description": "AWS SDK for JavaScript Devops Guru Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.182.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.181.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.178.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.181.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.178.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.178.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.178.0",
|