@aws-sdk/client-devops-guru 3.52.0 → 3.53.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/index.js +3 -0
- package/dist-cjs/models/DevOpsGuruServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +113 -3
- package/dist-cjs/protocols/Aws_restJson1.js +349 -1096
- package/dist-es/index.js +1 -0
- package/dist-es/models/DevOpsGuruServiceException.js +12 -0
- package/dist-es/models/models_0.js +103 -1
- package/dist-es/protocols/Aws_restJson1.js +667 -1208
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/DevOpsGuruServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -22
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/DevOpsGuruServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -22
- package/package.json +25 -25
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.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-devops-guru
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DevOpsGuruServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./DevOpsGuru"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./DevOpsGuruClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var DevOpsGuruServiceException_1 = require("./models/DevOpsGuruServiceException");
|
|
11
|
+
Object.defineProperty(exports, "DevOpsGuruServiceException", { enumerable: true, get: function () { return DevOpsGuruServiceException_1.DevOpsGuruServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DevOpsGuruServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class DevOpsGuruServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, DevOpsGuruServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.DevOpsGuruServiceException = DevOpsGuruServiceException;
|
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
3
|
+
exports.InsightFeedbackOption = exports.DescribeFeedbackRequest = exports.DescribeAnomalyResponse = exports.ReactiveAnomaly = exports.ProactiveAnomaly = exports.ResourceCollection = exports.TagCollection = exports.CloudFormationCollection = exports.PredictionTimeRange = exports.DescribeAnomalyRequest = exports.DescribeAccountOverviewResponse = exports.DescribeAccountOverviewRequest = exports.DescribeAccountHealthResponse = exports.DescribeAccountHealthRequest = exports.AnomalyType = exports.AnomalyTimeRange = exports.AnomalyStatus = exports.AnomalySourceDetails = exports.PerformanceInsightsMetricsDetail = exports.PerformanceInsightsStat = exports.PerformanceInsightsReferenceData = exports.PerformanceInsightsReferenceComparisonValues = exports.PerformanceInsightsReferenceScalar = exports.PerformanceInsightsReferenceMetric = exports.PerformanceInsightsMetricQuery = exports.PerformanceInsightsMetricDimensionGroup = exports.CloudWatchMetricsDetail = exports.CloudWatchMetricsStat = exports.CloudWatchMetricsDataSummary = exports.TimestampMetricValuePair = exports.CloudWatchMetricDataStatusCode = exports.CloudWatchMetricsDimension = exports.AnomalySeverity = exports.AnomalyResource = exports.AnomalyReportedTimeRange = exports.ValidationException = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AddNotificationChannelResponse = exports.AddNotificationChannelRequest = exports.NotificationChannelConfig = exports.SnsChannelConfig = exports.AccountHealth = exports.AccountInsightHealth = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.EventDataSource = exports.ListAnomaliesForInsightResponse = exports.ReactiveAnomalySummary = exports.ProactiveAnomalySummary = exports.ListAnomaliesForInsightRequest = exports.StartTimeRange = exports.GetResourceCollectionResponse = exports.ResourceCollectionFilter = exports.TagCollectionFilter = exports.CloudFormationCollectionFilter = exports.GetResourceCollectionRequest = exports.GetCostEstimationResponse = exports.CostEstimationTimeRange = exports.CostEstimationStatus = exports.CostEstimationResourceCollectionFilter = exports.TagCostEstimationResourceCollectionFilter = exports.CloudFormationCostEstimationResourceCollectionFilter = exports.ServiceResourceCost = exports.CostEstimationServiceResourceState = exports.GetCostEstimationRequest = exports.DescribeServiceIntegrationResponse = exports.ServiceIntegrationConfig = exports.OpsCenterIntegration = exports.OptInStatus = exports.DescribeServiceIntegrationRequest = exports.DescribeResourceCollectionHealthResponse = exports.DescribeResourceCollectionHealthRequest = exports.ResourceCollectionType = exports.DescribeOrganizationResourceCollectionHealthResponse = exports.TagHealth = exports.ServiceHealth = exports.ServiceName = exports.ServiceInsightHealth = exports.CloudFormationHealth = exports.InsightHealth = exports.DescribeOrganizationResourceCollectionHealthRequest = exports.OrganizationResourceCollectionType = exports.DescribeOrganizationOverviewResponse = exports.DescribeOrganizationOverviewRequest = exports.DescribeOrganizationHealthResponse = exports.DescribeOrganizationHealthRequest = exports.DescribeInsightResponse = exports.ReactiveInsight = exports.ProactiveInsight = exports.InsightStatus = exports.InsightSeverity = exports.InsightTimeRange = exports.DescribeInsightRequest = exports.DescribeFeedbackResponse = exports.InsightFeedback = void 0;
|
|
5
|
+
exports.UpdateTagCollectionFilter = exports.UpdateCloudFormationCollectionFilter = exports.UpdateResourceCollectionAction = exports.StartCostEstimationResponse = exports.StartCostEstimationRequest = exports.SearchOrganizationInsightsResponse = exports.SearchOrganizationInsightsRequest = exports.SearchOrganizationInsightsFilters = exports.SearchInsightsResponse = exports.SearchInsightsRequest = exports.SearchInsightsFilters = exports.RemoveNotificationChannelResponse = exports.RemoveNotificationChannelRequest = exports.PutFeedbackResponse = exports.PutFeedbackRequest = exports.ListRecommendationsResponse = exports.Recommendation = exports.RecommendationRelatedEvent = exports.RecommendationRelatedEventResource = exports.RecommendationRelatedAnomaly = exports.RecommendationRelatedAnomalySourceDetail = exports.RecommendationRelatedCloudWatchMetricsSourceDetail = exports.RecommendationRelatedAnomalyResource = exports.ListRecommendationsRequest = exports.Locale = exports.ListOrganizationInsightsResponse = exports.ReactiveOrganizationInsightSummary = exports.ProactiveOrganizationInsightSummary = exports.ListOrganizationInsightsRequest = exports.ListNotificationChannelsResponse = exports.NotificationChannel = exports.ListNotificationChannelsRequest = exports.ListInsightsResponse = exports.ReactiveInsightSummary = exports.ProactiveInsightSummary = exports.ServiceCollection = exports.ListInsightsRequest = exports.ListInsightsStatusFilter = exports.ListInsightsOngoingStatusFilter = exports.ListInsightsClosedStatusFilter = exports.EndTimeRange = exports.ListInsightsAnyStatusFilter = exports.InsightType = exports.ListEventsResponse = exports.Event = exports.EventResource = exports.ListEventsRequest = exports.ListEventsFilters = exports.EventTimeRange = exports.EventClass = void 0;
|
|
6
|
+
exports.UpdateServiceIntegrationResponse = exports.UpdateServiceIntegrationRequest = exports.UpdateServiceIntegrationConfig = exports.OpsCenterIntegrationConfig = exports.UpdateResourceCollectionResponse = exports.UpdateResourceCollectionRequest = exports.UpdateResourceCollectionFilter = void 0;
|
|
7
|
+
const DevOpsGuruServiceException_1 = require("./DevOpsGuruServiceException");
|
|
8
|
+
class AccessDeniedException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "AccessDeniedException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
this.name = "AccessDeniedException";
|
|
16
|
+
this.$fault = "client";
|
|
17
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
18
|
+
this.Message = opts.Message;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
6
22
|
var AccountInsightHealth;
|
|
7
23
|
(function (AccountInsightHealth) {
|
|
8
24
|
AccountInsightHealth.filterSensitiveLog = (obj) => ({
|
|
@@ -39,6 +55,84 @@ var AddNotificationChannelResponse;
|
|
|
39
55
|
...obj,
|
|
40
56
|
});
|
|
41
57
|
})(AddNotificationChannelResponse = exports.AddNotificationChannelResponse || (exports.AddNotificationChannelResponse = {}));
|
|
58
|
+
class ConflictException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
|
|
59
|
+
constructor(opts) {
|
|
60
|
+
super({
|
|
61
|
+
name: "ConflictException",
|
|
62
|
+
$fault: "client",
|
|
63
|
+
...opts,
|
|
64
|
+
});
|
|
65
|
+
this.name = "ConflictException";
|
|
66
|
+
this.$fault = "client";
|
|
67
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
68
|
+
this.Message = opts.Message;
|
|
69
|
+
this.ResourceId = opts.ResourceId;
|
|
70
|
+
this.ResourceType = opts.ResourceType;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.ConflictException = ConflictException;
|
|
74
|
+
class InternalServerException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "InternalServerException",
|
|
78
|
+
$fault: "server",
|
|
79
|
+
...opts,
|
|
80
|
+
});
|
|
81
|
+
this.name = "InternalServerException";
|
|
82
|
+
this.$fault = "server";
|
|
83
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
84
|
+
this.Message = opts.Message;
|
|
85
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.InternalServerException = InternalServerException;
|
|
89
|
+
class ResourceNotFoundException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "ResourceNotFoundException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
this.name = "ResourceNotFoundException";
|
|
97
|
+
this.$fault = "client";
|
|
98
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
99
|
+
this.Message = opts.Message;
|
|
100
|
+
this.ResourceId = opts.ResourceId;
|
|
101
|
+
this.ResourceType = opts.ResourceType;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
105
|
+
class ServiceQuotaExceededException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
|
|
106
|
+
constructor(opts) {
|
|
107
|
+
super({
|
|
108
|
+
name: "ServiceQuotaExceededException",
|
|
109
|
+
$fault: "client",
|
|
110
|
+
...opts,
|
|
111
|
+
});
|
|
112
|
+
this.name = "ServiceQuotaExceededException";
|
|
113
|
+
this.$fault = "client";
|
|
114
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
115
|
+
this.Message = opts.Message;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
119
|
+
class ThrottlingException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
|
|
120
|
+
constructor(opts) {
|
|
121
|
+
super({
|
|
122
|
+
name: "ThrottlingException",
|
|
123
|
+
$fault: "client",
|
|
124
|
+
...opts,
|
|
125
|
+
});
|
|
126
|
+
this.name = "ThrottlingException";
|
|
127
|
+
this.$fault = "client";
|
|
128
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
129
|
+
this.Message = opts.Message;
|
|
130
|
+
this.QuotaCode = opts.QuotaCode;
|
|
131
|
+
this.ServiceCode = opts.ServiceCode;
|
|
132
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
exports.ThrottlingException = ThrottlingException;
|
|
42
136
|
var ValidationExceptionField;
|
|
43
137
|
(function (ValidationExceptionField) {
|
|
44
138
|
ValidationExceptionField.filterSensitiveLog = (obj) => ({
|
|
@@ -54,6 +148,22 @@ var ValidationExceptionReason;
|
|
|
54
148
|
ValidationExceptionReason["PARAMETER_INCONSISTENT_WITH_SERVICE_STATE"] = "PARAMETER_INCONSISTENT_WITH_SERVICE_STATE";
|
|
55
149
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
56
150
|
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
151
|
+
class ValidationException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
|
|
152
|
+
constructor(opts) {
|
|
153
|
+
super({
|
|
154
|
+
name: "ValidationException",
|
|
155
|
+
$fault: "client",
|
|
156
|
+
...opts,
|
|
157
|
+
});
|
|
158
|
+
this.name = "ValidationException";
|
|
159
|
+
this.$fault = "client";
|
|
160
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
161
|
+
this.Message = opts.Message;
|
|
162
|
+
this.Reason = opts.Reason;
|
|
163
|
+
this.Fields = opts.Fields;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
exports.ValidationException = ValidationException;
|
|
57
167
|
var AnomalyReportedTimeRange;
|
|
58
168
|
(function (AnomalyReportedTimeRange) {
|
|
59
169
|
AnomalyReportedTimeRange.filterSensitiveLog = (obj) => ({
|