@aws-sdk/client-devops-guru 3.181.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 +11 -0
- package/dist-cjs/models/models_0.js +22 -10
- package/dist-cjs/protocols/Aws_restJson1.js +47 -0
- package/dist-es/models/models_0.js +15 -6
- package/dist-es/protocols/Aws_restJson1.js +44 -1
- 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 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.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
|
+
|
|
6
17
|
# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -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
|
});
|
|
@@ -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),
|
|
@@ -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)); };
|
|
@@ -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),
|
|
@@ -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",
|