@aws-sdk/client-devops-guru 3.490.0 → 3.495.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/dist-cjs/DevOpsGuru.js +1 -73
- package/dist-cjs/DevOpsGuruClient.js +1 -43
- package/dist-cjs/commands/AddNotificationChannelCommand.js +1 -28
- package/dist-cjs/commands/DeleteInsightCommand.js +1 -28
- package/dist-cjs/commands/DescribeAccountHealthCommand.js +1 -28
- package/dist-cjs/commands/DescribeAccountOverviewCommand.js +1 -28
- package/dist-cjs/commands/DescribeAnomalyCommand.js +1 -28
- package/dist-cjs/commands/DescribeEventSourcesConfigCommand.js +1 -28
- package/dist-cjs/commands/DescribeFeedbackCommand.js +1 -28
- package/dist-cjs/commands/DescribeInsightCommand.js +1 -28
- package/dist-cjs/commands/DescribeOrganizationHealthCommand.js +1 -28
- package/dist-cjs/commands/DescribeOrganizationOverviewCommand.js +1 -28
- package/dist-cjs/commands/DescribeOrganizationResourceCollectionHealthCommand.js +1 -28
- package/dist-cjs/commands/DescribeResourceCollectionHealthCommand.js +1 -28
- package/dist-cjs/commands/DescribeServiceIntegrationCommand.js +1 -28
- package/dist-cjs/commands/GetCostEstimationCommand.js +1 -28
- package/dist-cjs/commands/GetResourceCollectionCommand.js +1 -28
- package/dist-cjs/commands/ListAnomaliesForInsightCommand.js +1 -28
- package/dist-cjs/commands/ListAnomalousLogGroupsCommand.js +1 -28
- package/dist-cjs/commands/ListEventsCommand.js +1 -28
- package/dist-cjs/commands/ListInsightsCommand.js +1 -28
- package/dist-cjs/commands/ListMonitoredResourcesCommand.js +1 -28
- package/dist-cjs/commands/ListNotificationChannelsCommand.js +1 -28
- package/dist-cjs/commands/ListOrganizationInsightsCommand.js +1 -28
- package/dist-cjs/commands/ListRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/PutFeedbackCommand.js +1 -28
- package/dist-cjs/commands/RemoveNotificationChannelCommand.js +1 -28
- package/dist-cjs/commands/SearchInsightsCommand.js +1 -28
- package/dist-cjs/commands/SearchOrganizationInsightsCommand.js +1 -28
- package/dist-cjs/commands/StartCostEstimationCommand.js +1 -28
- package/dist-cjs/commands/UpdateEventSourcesConfigCommand.js +1 -28
- package/dist-cjs/commands/UpdateResourceCollectionCommand.js +1 -28
- package/dist-cjs/commands/UpdateServiceIntegrationCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -34
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3706 -11
- package/dist-cjs/models/DevOpsGuruServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -304
- package/dist-cjs/pagination/DescribeOrganizationResourceCollectionHealthPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeResourceCollectionHealthPaginator.js +1 -7
- package/dist-cjs/pagination/GetCostEstimationPaginator.js +1 -7
- package/dist-cjs/pagination/GetResourceCollectionPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAnomaliesForInsightPaginator.js +1 -7
- package/dist-cjs/pagination/ListAnomalousLogGroupsPaginator.js +1 -7
- package/dist-cjs/pagination/ListEventsPaginator.js +1 -7
- package/dist-cjs/pagination/ListInsightsPaginator.js +1 -7
- package/dist-cjs/pagination/ListMonitoredResourcesPaginator.js +1 -7
- package/dist-cjs/pagination/ListNotificationChannelsPaginator.js +1 -7
- package/dist-cjs/pagination/ListOrganizationInsightsPaginator.js +1 -7
- package/dist-cjs/pagination/ListRecommendationsPaginator.js +1 -7
- package/dist-cjs/pagination/SearchInsightsPaginator.js +1 -7
- package/dist-cjs/pagination/SearchOrganizationInsightsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -18
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2516
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,3707 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
AddNotificationChannelCommand: () => AddNotificationChannelCommand,
|
|
26
|
+
AnomalySeverity: () => AnomalySeverity,
|
|
27
|
+
AnomalyStatus: () => AnomalyStatus,
|
|
28
|
+
AnomalyType: () => AnomalyType,
|
|
29
|
+
CloudWatchMetricDataStatusCode: () => CloudWatchMetricDataStatusCode,
|
|
30
|
+
CloudWatchMetricsStat: () => CloudWatchMetricsStat,
|
|
31
|
+
ConflictException: () => ConflictException,
|
|
32
|
+
CostEstimationServiceResourceState: () => CostEstimationServiceResourceState,
|
|
33
|
+
CostEstimationStatus: () => CostEstimationStatus,
|
|
34
|
+
DeleteInsightCommand: () => DeleteInsightCommand,
|
|
35
|
+
DescribeAccountHealthCommand: () => DescribeAccountHealthCommand,
|
|
36
|
+
DescribeAccountOverviewCommand: () => DescribeAccountOverviewCommand,
|
|
37
|
+
DescribeAnomalyCommand: () => DescribeAnomalyCommand,
|
|
38
|
+
DescribeEventSourcesConfigCommand: () => DescribeEventSourcesConfigCommand,
|
|
39
|
+
DescribeFeedbackCommand: () => DescribeFeedbackCommand,
|
|
40
|
+
DescribeInsightCommand: () => DescribeInsightCommand,
|
|
41
|
+
DescribeOrganizationHealthCommand: () => DescribeOrganizationHealthCommand,
|
|
42
|
+
DescribeOrganizationOverviewCommand: () => DescribeOrganizationOverviewCommand,
|
|
43
|
+
DescribeOrganizationResourceCollectionHealthCommand: () => DescribeOrganizationResourceCollectionHealthCommand,
|
|
44
|
+
DescribeResourceCollectionHealthCommand: () => DescribeResourceCollectionHealthCommand,
|
|
45
|
+
DescribeServiceIntegrationCommand: () => DescribeServiceIntegrationCommand,
|
|
46
|
+
DevOpsGuru: () => DevOpsGuru,
|
|
47
|
+
DevOpsGuruClient: () => DevOpsGuruClient,
|
|
48
|
+
DevOpsGuruServiceException: () => DevOpsGuruServiceException,
|
|
49
|
+
EventClass: () => EventClass,
|
|
50
|
+
EventDataSource: () => EventDataSource,
|
|
51
|
+
EventSourceOptInStatus: () => EventSourceOptInStatus,
|
|
52
|
+
GetCostEstimationCommand: () => GetCostEstimationCommand,
|
|
53
|
+
GetResourceCollectionCommand: () => GetResourceCollectionCommand,
|
|
54
|
+
InsightFeedbackOption: () => InsightFeedbackOption,
|
|
55
|
+
InsightSeverity: () => InsightSeverity,
|
|
56
|
+
InsightStatus: () => InsightStatus,
|
|
57
|
+
InsightType: () => InsightType,
|
|
58
|
+
InternalServerException: () => InternalServerException,
|
|
59
|
+
ListAnomaliesForInsightCommand: () => ListAnomaliesForInsightCommand,
|
|
60
|
+
ListAnomalousLogGroupsCommand: () => ListAnomalousLogGroupsCommand,
|
|
61
|
+
ListEventsCommand: () => ListEventsCommand,
|
|
62
|
+
ListInsightsCommand: () => ListInsightsCommand,
|
|
63
|
+
ListMonitoredResourcesCommand: () => ListMonitoredResourcesCommand,
|
|
64
|
+
ListNotificationChannelsCommand: () => ListNotificationChannelsCommand,
|
|
65
|
+
ListOrganizationInsightsCommand: () => ListOrganizationInsightsCommand,
|
|
66
|
+
ListRecommendationsCommand: () => ListRecommendationsCommand,
|
|
67
|
+
Locale: () => Locale,
|
|
68
|
+
LogAnomalyType: () => LogAnomalyType,
|
|
69
|
+
NotificationMessageType: () => NotificationMessageType,
|
|
70
|
+
OptInStatus: () => OptInStatus,
|
|
71
|
+
OrganizationResourceCollectionType: () => OrganizationResourceCollectionType,
|
|
72
|
+
PutFeedbackCommand: () => PutFeedbackCommand,
|
|
73
|
+
RemoveNotificationChannelCommand: () => RemoveNotificationChannelCommand,
|
|
74
|
+
ResourceCollectionType: () => ResourceCollectionType,
|
|
75
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
76
|
+
ResourcePermission: () => ResourcePermission,
|
|
77
|
+
ResourceTypeFilter: () => ResourceTypeFilter,
|
|
78
|
+
SearchInsightsCommand: () => SearchInsightsCommand,
|
|
79
|
+
SearchOrganizationInsightsCommand: () => SearchOrganizationInsightsCommand,
|
|
80
|
+
ServerSideEncryptionType: () => ServerSideEncryptionType,
|
|
81
|
+
ServiceName: () => ServiceName,
|
|
82
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
83
|
+
StartCostEstimationCommand: () => StartCostEstimationCommand,
|
|
84
|
+
ThrottlingException: () => ThrottlingException,
|
|
85
|
+
UpdateEventSourcesConfigCommand: () => UpdateEventSourcesConfigCommand,
|
|
86
|
+
UpdateResourceCollectionAction: () => UpdateResourceCollectionAction,
|
|
87
|
+
UpdateResourceCollectionCommand: () => UpdateResourceCollectionCommand,
|
|
88
|
+
UpdateServiceIntegrationCommand: () => UpdateServiceIntegrationCommand,
|
|
89
|
+
ValidationException: () => ValidationException,
|
|
90
|
+
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
91
|
+
__Client: () => import_smithy_client.Client,
|
|
92
|
+
paginateDescribeOrganizationResourceCollectionHealth: () => paginateDescribeOrganizationResourceCollectionHealth,
|
|
93
|
+
paginateDescribeResourceCollectionHealth: () => paginateDescribeResourceCollectionHealth,
|
|
94
|
+
paginateGetCostEstimation: () => paginateGetCostEstimation,
|
|
95
|
+
paginateGetResourceCollection: () => paginateGetResourceCollection,
|
|
96
|
+
paginateListAnomaliesForInsight: () => paginateListAnomaliesForInsight,
|
|
97
|
+
paginateListAnomalousLogGroups: () => paginateListAnomalousLogGroups,
|
|
98
|
+
paginateListEvents: () => paginateListEvents,
|
|
99
|
+
paginateListInsights: () => paginateListInsights,
|
|
100
|
+
paginateListMonitoredResources: () => paginateListMonitoredResources,
|
|
101
|
+
paginateListNotificationChannels: () => paginateListNotificationChannels,
|
|
102
|
+
paginateListOrganizationInsights: () => paginateListOrganizationInsights,
|
|
103
|
+
paginateListRecommendations: () => paginateListRecommendations,
|
|
104
|
+
paginateSearchInsights: () => paginateSearchInsights,
|
|
105
|
+
paginateSearchOrganizationInsights: () => paginateSearchOrganizationInsights
|
|
106
|
+
});
|
|
107
|
+
module.exports = __toCommonJS(src_exports);
|
|
108
|
+
|
|
109
|
+
// src/DevOpsGuruClient.ts
|
|
110
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
111
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
112
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
113
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
114
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
115
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
116
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
117
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
118
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
// src/endpoint/EndpointParameters.ts
|
|
122
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
123
|
+
return {
|
|
124
|
+
...options,
|
|
125
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
126
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
127
|
+
defaultSigningName: "devops-guru"
|
|
128
|
+
};
|
|
129
|
+
}, "resolveClientEndpointParameters");
|
|
130
|
+
var commonParams = {
|
|
131
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
132
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
133
|
+
Region: { type: "builtInParams", name: "region" },
|
|
134
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
// src/DevOpsGuruClient.ts
|
|
138
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
139
|
+
|
|
140
|
+
// src/runtimeExtensions.ts
|
|
141
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
142
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
143
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
144
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
145
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
146
|
+
const extensionConfiguration = {
|
|
147
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
148
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
149
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
150
|
+
};
|
|
151
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
152
|
+
return {
|
|
153
|
+
...runtimeConfig,
|
|
154
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
155
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
156
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
157
|
+
};
|
|
158
|
+
}, "resolveRuntimeExtensions");
|
|
159
|
+
|
|
160
|
+
// src/DevOpsGuruClient.ts
|
|
161
|
+
var _DevOpsGuruClient = class _DevOpsGuruClient extends import_smithy_client.Client {
|
|
162
|
+
constructor(...[configuration]) {
|
|
163
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
164
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
165
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
166
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
167
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
168
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
169
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
170
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
171
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
172
|
+
super(_config_8);
|
|
173
|
+
this.config = _config_8;
|
|
174
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
175
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
176
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
177
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
178
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
179
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
180
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
184
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
185
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
186
|
+
*/
|
|
187
|
+
destroy() {
|
|
188
|
+
super.destroy();
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
__name(_DevOpsGuruClient, "DevOpsGuruClient");
|
|
192
|
+
var DevOpsGuruClient = _DevOpsGuruClient;
|
|
193
|
+
|
|
194
|
+
// src/DevOpsGuru.ts
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
// src/commands/AddNotificationChannelCommand.ts
|
|
198
|
+
|
|
199
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
200
|
+
|
|
201
|
+
var import_types = require("@smithy/types");
|
|
202
|
+
|
|
203
|
+
// src/protocols/Aws_restJson1.ts
|
|
204
|
+
var import_core = require("@smithy/core");
|
|
205
|
+
|
|
206
|
+
var import_uuid = require("uuid");
|
|
207
|
+
|
|
208
|
+
// src/models/DevOpsGuruServiceException.ts
|
|
209
|
+
|
|
210
|
+
var _DevOpsGuruServiceException = class _DevOpsGuruServiceException extends import_smithy_client.ServiceException {
|
|
211
|
+
/**
|
|
212
|
+
* @internal
|
|
213
|
+
*/
|
|
214
|
+
constructor(options) {
|
|
215
|
+
super(options);
|
|
216
|
+
Object.setPrototypeOf(this, _DevOpsGuruServiceException.prototype);
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
__name(_DevOpsGuruServiceException, "DevOpsGuruServiceException");
|
|
220
|
+
var DevOpsGuruServiceException = _DevOpsGuruServiceException;
|
|
221
|
+
|
|
222
|
+
// src/models/models_0.ts
|
|
223
|
+
var _AccessDeniedException = class _AccessDeniedException extends DevOpsGuruServiceException {
|
|
224
|
+
/**
|
|
225
|
+
* @internal
|
|
226
|
+
*/
|
|
227
|
+
constructor(opts) {
|
|
228
|
+
super({
|
|
229
|
+
name: "AccessDeniedException",
|
|
230
|
+
$fault: "client",
|
|
231
|
+
...opts
|
|
232
|
+
});
|
|
233
|
+
this.name = "AccessDeniedException";
|
|
234
|
+
this.$fault = "client";
|
|
235
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
236
|
+
this.Message = opts.Message;
|
|
237
|
+
}
|
|
238
|
+
};
|
|
239
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
240
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
241
|
+
var NotificationMessageType = {
|
|
242
|
+
CLOSED_INSIGHT: "CLOSED_INSIGHT",
|
|
243
|
+
NEW_ASSOCIATION: "NEW_ASSOCIATION",
|
|
244
|
+
NEW_INSIGHT: "NEW_INSIGHT",
|
|
245
|
+
NEW_RECOMMENDATION: "NEW_RECOMMENDATION",
|
|
246
|
+
SEVERITY_UPGRADED: "SEVERITY_UPGRADED"
|
|
247
|
+
};
|
|
248
|
+
var InsightSeverity = {
|
|
249
|
+
HIGH: "HIGH",
|
|
250
|
+
LOW: "LOW",
|
|
251
|
+
MEDIUM: "MEDIUM"
|
|
252
|
+
};
|
|
253
|
+
var _ConflictException = class _ConflictException extends DevOpsGuruServiceException {
|
|
254
|
+
/**
|
|
255
|
+
* @internal
|
|
256
|
+
*/
|
|
257
|
+
constructor(opts) {
|
|
258
|
+
super({
|
|
259
|
+
name: "ConflictException",
|
|
260
|
+
$fault: "client",
|
|
261
|
+
...opts
|
|
262
|
+
});
|
|
263
|
+
this.name = "ConflictException";
|
|
264
|
+
this.$fault = "client";
|
|
265
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
266
|
+
this.Message = opts.Message;
|
|
267
|
+
this.ResourceId = opts.ResourceId;
|
|
268
|
+
this.ResourceType = opts.ResourceType;
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
__name(_ConflictException, "ConflictException");
|
|
272
|
+
var ConflictException = _ConflictException;
|
|
273
|
+
var _InternalServerException = class _InternalServerException extends DevOpsGuruServiceException {
|
|
274
|
+
/**
|
|
275
|
+
* @internal
|
|
276
|
+
*/
|
|
277
|
+
constructor(opts) {
|
|
278
|
+
super({
|
|
279
|
+
name: "InternalServerException",
|
|
280
|
+
$fault: "server",
|
|
281
|
+
...opts
|
|
282
|
+
});
|
|
283
|
+
this.name = "InternalServerException";
|
|
284
|
+
this.$fault = "server";
|
|
285
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
286
|
+
this.Message = opts.Message;
|
|
287
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
288
|
+
}
|
|
289
|
+
};
|
|
290
|
+
__name(_InternalServerException, "InternalServerException");
|
|
291
|
+
var InternalServerException = _InternalServerException;
|
|
292
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends DevOpsGuruServiceException {
|
|
293
|
+
/**
|
|
294
|
+
* @internal
|
|
295
|
+
*/
|
|
296
|
+
constructor(opts) {
|
|
297
|
+
super({
|
|
298
|
+
name: "ResourceNotFoundException",
|
|
299
|
+
$fault: "client",
|
|
300
|
+
...opts
|
|
301
|
+
});
|
|
302
|
+
this.name = "ResourceNotFoundException";
|
|
303
|
+
this.$fault = "client";
|
|
304
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
305
|
+
this.Message = opts.Message;
|
|
306
|
+
this.ResourceId = opts.ResourceId;
|
|
307
|
+
this.ResourceType = opts.ResourceType;
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
311
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
312
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends DevOpsGuruServiceException {
|
|
313
|
+
/**
|
|
314
|
+
* @internal
|
|
315
|
+
*/
|
|
316
|
+
constructor(opts) {
|
|
317
|
+
super({
|
|
318
|
+
name: "ServiceQuotaExceededException",
|
|
319
|
+
$fault: "client",
|
|
320
|
+
...opts
|
|
321
|
+
});
|
|
322
|
+
this.name = "ServiceQuotaExceededException";
|
|
323
|
+
this.$fault = "client";
|
|
324
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
325
|
+
this.Message = opts.Message;
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
329
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
330
|
+
var _ThrottlingException = class _ThrottlingException extends DevOpsGuruServiceException {
|
|
331
|
+
/**
|
|
332
|
+
* @internal
|
|
333
|
+
*/
|
|
334
|
+
constructor(opts) {
|
|
335
|
+
super({
|
|
336
|
+
name: "ThrottlingException",
|
|
337
|
+
$fault: "client",
|
|
338
|
+
...opts
|
|
339
|
+
});
|
|
340
|
+
this.name = "ThrottlingException";
|
|
341
|
+
this.$fault = "client";
|
|
342
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
343
|
+
this.Message = opts.Message;
|
|
344
|
+
this.QuotaCode = opts.QuotaCode;
|
|
345
|
+
this.ServiceCode = opts.ServiceCode;
|
|
346
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
347
|
+
}
|
|
348
|
+
};
|
|
349
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
350
|
+
var ThrottlingException = _ThrottlingException;
|
|
351
|
+
var ValidationExceptionReason = {
|
|
352
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
353
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
354
|
+
INVALID_PARAMETER_COMBINATION: "INVALID_PARAMETER_COMBINATION",
|
|
355
|
+
OTHER: "OTHER",
|
|
356
|
+
PARAMETER_INCONSISTENT_WITH_SERVICE_STATE: "PARAMETER_INCONSISTENT_WITH_SERVICE_STATE",
|
|
357
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION"
|
|
358
|
+
};
|
|
359
|
+
var _ValidationException = class _ValidationException extends DevOpsGuruServiceException {
|
|
360
|
+
/**
|
|
361
|
+
* @internal
|
|
362
|
+
*/
|
|
363
|
+
constructor(opts) {
|
|
364
|
+
super({
|
|
365
|
+
name: "ValidationException",
|
|
366
|
+
$fault: "client",
|
|
367
|
+
...opts
|
|
368
|
+
});
|
|
369
|
+
this.name = "ValidationException";
|
|
370
|
+
this.$fault = "client";
|
|
371
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
372
|
+
this.Message = opts.Message;
|
|
373
|
+
this.Reason = opts.Reason;
|
|
374
|
+
this.Fields = opts.Fields;
|
|
375
|
+
}
|
|
376
|
+
};
|
|
377
|
+
__name(_ValidationException, "ValidationException");
|
|
378
|
+
var ValidationException = _ValidationException;
|
|
379
|
+
var EventSourceOptInStatus = {
|
|
380
|
+
DISABLED: "DISABLED",
|
|
381
|
+
ENABLED: "ENABLED"
|
|
382
|
+
};
|
|
383
|
+
var LogAnomalyType = {
|
|
384
|
+
BLOCK_FORMAT: "BLOCK_FORMAT",
|
|
385
|
+
FORMAT: "FORMAT",
|
|
386
|
+
HTTP_CODE: "HTTP_CODE",
|
|
387
|
+
KEYWORD: "KEYWORD",
|
|
388
|
+
KEYWORD_TOKEN: "KEYWORD_TOKEN",
|
|
389
|
+
NEW_FIELD_NAME: "NEW_FIELD_NAME",
|
|
390
|
+
NUMERICAL_NAN: "NUMERICAL_NAN",
|
|
391
|
+
NUMERICAL_POINT: "NUMERICAL_POINT"
|
|
392
|
+
};
|
|
393
|
+
var AnomalySeverity = {
|
|
394
|
+
HIGH: "HIGH",
|
|
395
|
+
LOW: "LOW",
|
|
396
|
+
MEDIUM: "MEDIUM"
|
|
397
|
+
};
|
|
398
|
+
var CloudWatchMetricDataStatusCode = {
|
|
399
|
+
COMPLETE: "Complete",
|
|
400
|
+
INTERNAL_ERROR: "InternalError",
|
|
401
|
+
PARTIAL_DATA: "PartialData"
|
|
402
|
+
};
|
|
403
|
+
var CloudWatchMetricsStat = {
|
|
404
|
+
AVERAGE: "Average",
|
|
405
|
+
MAXIMUM: "Maximum",
|
|
406
|
+
MINIMUM: "Minimum",
|
|
407
|
+
P50: "p50",
|
|
408
|
+
P90: "p90",
|
|
409
|
+
P99: "p99",
|
|
410
|
+
SAMPLE_COUNT: "SampleCount",
|
|
411
|
+
SUM: "Sum"
|
|
412
|
+
};
|
|
413
|
+
var AnomalyStatus = {
|
|
414
|
+
CLOSED: "CLOSED",
|
|
415
|
+
ONGOING: "ONGOING"
|
|
416
|
+
};
|
|
417
|
+
var AnomalyType = {
|
|
418
|
+
CAUSAL: "CAUSAL",
|
|
419
|
+
CONTEXTUAL: "CONTEXTUAL"
|
|
420
|
+
};
|
|
421
|
+
var InsightFeedbackOption = {
|
|
422
|
+
ALERT_TOO_SENSITIVE: "ALERT_TOO_SENSITIVE",
|
|
423
|
+
DATA_INCORRECT: "DATA_INCORRECT",
|
|
424
|
+
DATA_NOISY_ANOMALY: "DATA_NOISY_ANOMALY",
|
|
425
|
+
RECOMMENDATION_USEFUL: "RECOMMENDATION_USEFUL",
|
|
426
|
+
VALID_COLLECTION: "VALID_COLLECTION"
|
|
427
|
+
};
|
|
428
|
+
var InsightStatus = {
|
|
429
|
+
CLOSED: "CLOSED",
|
|
430
|
+
ONGOING: "ONGOING"
|
|
431
|
+
};
|
|
432
|
+
var OrganizationResourceCollectionType = {
|
|
433
|
+
AWS_ACCOUNT: "AWS_ACCOUNT",
|
|
434
|
+
AWS_CLOUD_FORMATION: "AWS_CLOUD_FORMATION",
|
|
435
|
+
AWS_SERVICE: "AWS_SERVICE",
|
|
436
|
+
AWS_TAGS: "AWS_TAGS"
|
|
437
|
+
};
|
|
438
|
+
var ServiceName = {
|
|
439
|
+
API_GATEWAY: "API_GATEWAY",
|
|
440
|
+
APPLICATION_ELB: "APPLICATION_ELB",
|
|
441
|
+
AUTO_SCALING_GROUP: "AUTO_SCALING_GROUP",
|
|
442
|
+
CLOUD_FRONT: "CLOUD_FRONT",
|
|
443
|
+
DYNAMO_DB: "DYNAMO_DB",
|
|
444
|
+
EC2: "EC2",
|
|
445
|
+
ECS: "ECS",
|
|
446
|
+
EKS: "EKS",
|
|
447
|
+
ELASTIC_BEANSTALK: "ELASTIC_BEANSTALK",
|
|
448
|
+
ELASTI_CACHE: "ELASTI_CACHE",
|
|
449
|
+
ELB: "ELB",
|
|
450
|
+
ES: "ES",
|
|
451
|
+
KINESIS: "KINESIS",
|
|
452
|
+
LAMBDA: "LAMBDA",
|
|
453
|
+
NAT_GATEWAY: "NAT_GATEWAY",
|
|
454
|
+
NETWORK_ELB: "NETWORK_ELB",
|
|
455
|
+
RDS: "RDS",
|
|
456
|
+
REDSHIFT: "REDSHIFT",
|
|
457
|
+
ROUTE_53: "ROUTE_53",
|
|
458
|
+
S3: "S3",
|
|
459
|
+
SAGE_MAKER: "SAGE_MAKER",
|
|
460
|
+
SNS: "SNS",
|
|
461
|
+
SQS: "SQS",
|
|
462
|
+
STEP_FUNCTIONS: "STEP_FUNCTIONS",
|
|
463
|
+
SWF: "SWF"
|
|
464
|
+
};
|
|
465
|
+
var ResourceCollectionType = {
|
|
466
|
+
AWS_CLOUD_FORMATION: "AWS_CLOUD_FORMATION",
|
|
467
|
+
AWS_SERVICE: "AWS_SERVICE",
|
|
468
|
+
AWS_TAGS: "AWS_TAGS"
|
|
469
|
+
};
|
|
470
|
+
var OptInStatus = {
|
|
471
|
+
DISABLED: "DISABLED",
|
|
472
|
+
ENABLED: "ENABLED"
|
|
473
|
+
};
|
|
474
|
+
var ServerSideEncryptionType = {
|
|
475
|
+
AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
|
|
476
|
+
CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY"
|
|
477
|
+
};
|
|
478
|
+
var CostEstimationServiceResourceState = {
|
|
479
|
+
ACTIVE: "ACTIVE",
|
|
480
|
+
INACTIVE: "INACTIVE"
|
|
481
|
+
};
|
|
482
|
+
var CostEstimationStatus = {
|
|
483
|
+
COMPLETED: "COMPLETED",
|
|
484
|
+
ONGOING: "ONGOING"
|
|
485
|
+
};
|
|
486
|
+
var EventDataSource = {
|
|
487
|
+
AWS_CLOUD_TRAIL: "AWS_CLOUD_TRAIL",
|
|
488
|
+
AWS_CODE_DEPLOY: "AWS_CODE_DEPLOY"
|
|
489
|
+
};
|
|
490
|
+
var EventClass = {
|
|
491
|
+
CONFIG_CHANGE: "CONFIG_CHANGE",
|
|
492
|
+
DEPLOYMENT: "DEPLOYMENT",
|
|
493
|
+
INFRASTRUCTURE: "INFRASTRUCTURE",
|
|
494
|
+
SCHEMA_CHANGE: "SCHEMA_CHANGE",
|
|
495
|
+
SECURITY_CHANGE: "SECURITY_CHANGE"
|
|
496
|
+
};
|
|
497
|
+
var InsightType = {
|
|
498
|
+
PROACTIVE: "PROACTIVE",
|
|
499
|
+
REACTIVE: "REACTIVE"
|
|
500
|
+
};
|
|
501
|
+
var ResourcePermission = {
|
|
502
|
+
FULL_PERMISSION: "FULL_PERMISSION",
|
|
503
|
+
MISSING_PERMISSION: "MISSING_PERMISSION"
|
|
504
|
+
};
|
|
505
|
+
var ResourceTypeFilter = {
|
|
506
|
+
CLOUDFRONT_DISTRIBUTION: "CLOUDFRONT_DISTRIBUTION",
|
|
507
|
+
DYNAMODB_TABLE: "DYNAMODB_TABLE",
|
|
508
|
+
EC2_NAT_GATEWAY: "EC2_NAT_GATEWAY",
|
|
509
|
+
ECS_CLUSTER: "ECS_CLUSTER",
|
|
510
|
+
ECS_SERVICE: "ECS_SERVICE",
|
|
511
|
+
EKS_CLUSTER: "EKS_CLUSTER",
|
|
512
|
+
ELASTICACHE_CACHE_CLUSTER: "ELASTICACHE_CACHE_CLUSTER",
|
|
513
|
+
ELASTICSEARCH_DOMAIN: "ELASTICSEARCH_DOMAIN",
|
|
514
|
+
ELASTIC_BEANSTALK_ENVIRONMENT: "ELASTIC_BEANSTALK_ENVIRONMENT",
|
|
515
|
+
ELASTIC_LOAD_BALANCER_LOAD_BALANCER: "ELASTIC_LOAD_BALANCER_LOAD_BALANCER",
|
|
516
|
+
ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER: "ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER",
|
|
517
|
+
ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP: "ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP",
|
|
518
|
+
KINESIS_STREAM: "KINESIS_STREAM",
|
|
519
|
+
LAMBDA_FUNCTION: "LAMBDA_FUNCTION",
|
|
520
|
+
LOG_GROUPS: "LOG_GROUPS",
|
|
521
|
+
OPEN_SEARCH_SERVICE_DOMAIN: "OPEN_SEARCH_SERVICE_DOMAIN",
|
|
522
|
+
RDS_DB_CLUSTER: "RDS_DB_CLUSTER",
|
|
523
|
+
RDS_DB_INSTANCE: "RDS_DB_INSTANCE",
|
|
524
|
+
REDSHIFT_CLUSTER: "REDSHIFT_CLUSTER",
|
|
525
|
+
ROUTE53_HEALTH_CHECK: "ROUTE53_HEALTH_CHECK",
|
|
526
|
+
ROUTE53_HOSTED_ZONE: "ROUTE53_HOSTED_ZONE",
|
|
527
|
+
S3_BUCKET: "S3_BUCKET",
|
|
528
|
+
SAGEMAKER_ENDPOINT: "SAGEMAKER_ENDPOINT",
|
|
529
|
+
SNS_TOPIC: "SNS_TOPIC",
|
|
530
|
+
SQS_QUEUE: "SQS_QUEUE",
|
|
531
|
+
STEP_FUNCTIONS_ACTIVITY: "STEP_FUNCTIONS_ACTIVITY",
|
|
532
|
+
STEP_FUNCTIONS_STATE_MACHINE: "STEP_FUNCTIONS_STATE_MACHINE"
|
|
533
|
+
};
|
|
534
|
+
var Locale = {
|
|
535
|
+
DE_DE: "DE_DE",
|
|
536
|
+
EN_GB: "EN_GB",
|
|
537
|
+
EN_US: "EN_US",
|
|
538
|
+
ES_ES: "ES_ES",
|
|
539
|
+
FR_FR: "FR_FR",
|
|
540
|
+
IT_IT: "IT_IT",
|
|
541
|
+
JA_JP: "JA_JP",
|
|
542
|
+
KO_KR: "KO_KR",
|
|
543
|
+
PT_BR: "PT_BR",
|
|
544
|
+
ZH_CN: "ZH_CN",
|
|
545
|
+
ZH_TW: "ZH_TW"
|
|
546
|
+
};
|
|
547
|
+
var UpdateResourceCollectionAction = {
|
|
548
|
+
ADD: "ADD",
|
|
549
|
+
REMOVE: "REMOVE"
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
// src/protocols/Aws_restJson1.ts
|
|
553
|
+
var se_AddNotificationChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
554
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
555
|
+
const headers = {
|
|
556
|
+
"content-type": "application/json"
|
|
557
|
+
};
|
|
558
|
+
b.bp("/channels");
|
|
559
|
+
let body;
|
|
560
|
+
body = JSON.stringify(
|
|
561
|
+
(0, import_smithy_client.take)(input, {
|
|
562
|
+
Config: (_) => (0, import_smithy_client._json)(_)
|
|
563
|
+
})
|
|
564
|
+
);
|
|
565
|
+
b.m("PUT").h(headers).b(body);
|
|
566
|
+
return b.build();
|
|
567
|
+
}, "se_AddNotificationChannelCommand");
|
|
568
|
+
var se_DeleteInsightCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
569
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
570
|
+
const headers = {};
|
|
571
|
+
b.bp("/insights/{Id}");
|
|
572
|
+
b.p("Id", () => input.Id, "{Id}", false);
|
|
573
|
+
let body;
|
|
574
|
+
b.m("DELETE").h(headers).b(body);
|
|
575
|
+
return b.build();
|
|
576
|
+
}, "se_DeleteInsightCommand");
|
|
577
|
+
var se_DescribeAccountHealthCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
578
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
579
|
+
const headers = {
|
|
580
|
+
"content-type": "application/json"
|
|
581
|
+
};
|
|
582
|
+
b.bp("/accounts/health");
|
|
583
|
+
let body;
|
|
584
|
+
body = "";
|
|
585
|
+
b.m("GET").h(headers).b(body);
|
|
586
|
+
return b.build();
|
|
587
|
+
}, "se_DescribeAccountHealthCommand");
|
|
588
|
+
var se_DescribeAccountOverviewCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
589
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
590
|
+
const headers = {
|
|
591
|
+
"content-type": "application/json"
|
|
592
|
+
};
|
|
593
|
+
b.bp("/accounts/overview");
|
|
594
|
+
let body;
|
|
595
|
+
body = JSON.stringify(
|
|
596
|
+
(0, import_smithy_client.take)(input, {
|
|
597
|
+
FromTime: (_) => Math.round(_.getTime() / 1e3),
|
|
598
|
+
ToTime: (_) => Math.round(_.getTime() / 1e3)
|
|
599
|
+
})
|
|
600
|
+
);
|
|
601
|
+
b.m("POST").h(headers).b(body);
|
|
602
|
+
return b.build();
|
|
603
|
+
}, "se_DescribeAccountOverviewCommand");
|
|
604
|
+
var se_DescribeAnomalyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
605
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
606
|
+
const headers = {};
|
|
607
|
+
b.bp("/anomalies/{Id}");
|
|
608
|
+
b.p("Id", () => input.Id, "{Id}", false);
|
|
609
|
+
const query = (0, import_smithy_client.map)({
|
|
610
|
+
[_AI]: [, input[_AI]]
|
|
611
|
+
});
|
|
612
|
+
let body;
|
|
613
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
614
|
+
return b.build();
|
|
615
|
+
}, "se_DescribeAnomalyCommand");
|
|
616
|
+
var se_DescribeEventSourcesConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
617
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
618
|
+
const headers = {
|
|
619
|
+
"content-type": "application/json"
|
|
620
|
+
};
|
|
621
|
+
b.bp("/event-sources");
|
|
622
|
+
let body;
|
|
623
|
+
body = "";
|
|
624
|
+
b.m("POST").h(headers).b(body);
|
|
625
|
+
return b.build();
|
|
626
|
+
}, "se_DescribeEventSourcesConfigCommand");
|
|
627
|
+
var se_DescribeFeedbackCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
628
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
629
|
+
const headers = {
|
|
630
|
+
"content-type": "application/json"
|
|
631
|
+
};
|
|
632
|
+
b.bp("/feedback");
|
|
633
|
+
let body;
|
|
634
|
+
body = JSON.stringify(
|
|
635
|
+
(0, import_smithy_client.take)(input, {
|
|
636
|
+
InsightId: []
|
|
637
|
+
})
|
|
638
|
+
);
|
|
639
|
+
b.m("POST").h(headers).b(body);
|
|
640
|
+
return b.build();
|
|
641
|
+
}, "se_DescribeFeedbackCommand");
|
|
642
|
+
var se_DescribeInsightCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
643
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
644
|
+
const headers = {};
|
|
645
|
+
b.bp("/insights/{Id}");
|
|
646
|
+
b.p("Id", () => input.Id, "{Id}", false);
|
|
647
|
+
const query = (0, import_smithy_client.map)({
|
|
648
|
+
[_AI]: [, input[_AI]]
|
|
649
|
+
});
|
|
650
|
+
let body;
|
|
651
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
652
|
+
return b.build();
|
|
653
|
+
}, "se_DescribeInsightCommand");
|
|
654
|
+
var se_DescribeOrganizationHealthCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
655
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
656
|
+
const headers = {
|
|
657
|
+
"content-type": "application/json"
|
|
658
|
+
};
|
|
659
|
+
b.bp("/organization/health");
|
|
660
|
+
let body;
|
|
661
|
+
body = JSON.stringify(
|
|
662
|
+
(0, import_smithy_client.take)(input, {
|
|
663
|
+
AccountIds: (_) => (0, import_smithy_client._json)(_),
|
|
664
|
+
OrganizationalUnitIds: (_) => (0, import_smithy_client._json)(_)
|
|
665
|
+
})
|
|
666
|
+
);
|
|
667
|
+
b.m("POST").h(headers).b(body);
|
|
668
|
+
return b.build();
|
|
669
|
+
}, "se_DescribeOrganizationHealthCommand");
|
|
670
|
+
var se_DescribeOrganizationOverviewCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
671
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
672
|
+
const headers = {
|
|
673
|
+
"content-type": "application/json"
|
|
674
|
+
};
|
|
675
|
+
b.bp("/organization/overview");
|
|
676
|
+
let body;
|
|
677
|
+
body = JSON.stringify(
|
|
678
|
+
(0, import_smithy_client.take)(input, {
|
|
679
|
+
AccountIds: (_) => (0, import_smithy_client._json)(_),
|
|
680
|
+
FromTime: (_) => Math.round(_.getTime() / 1e3),
|
|
681
|
+
OrganizationalUnitIds: (_) => (0, import_smithy_client._json)(_),
|
|
682
|
+
ToTime: (_) => Math.round(_.getTime() / 1e3)
|
|
683
|
+
})
|
|
684
|
+
);
|
|
685
|
+
b.m("POST").h(headers).b(body);
|
|
686
|
+
return b.build();
|
|
687
|
+
}, "se_DescribeOrganizationOverviewCommand");
|
|
688
|
+
var se_DescribeOrganizationResourceCollectionHealthCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
689
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
690
|
+
const headers = {
|
|
691
|
+
"content-type": "application/json"
|
|
692
|
+
};
|
|
693
|
+
b.bp("/organization/health/resource-collection");
|
|
694
|
+
let body;
|
|
695
|
+
body = JSON.stringify(
|
|
696
|
+
(0, import_smithy_client.take)(input, {
|
|
697
|
+
AccountIds: (_) => (0, import_smithy_client._json)(_),
|
|
698
|
+
MaxResults: [],
|
|
699
|
+
NextToken: [],
|
|
700
|
+
OrganizationResourceCollectionType: [],
|
|
701
|
+
OrganizationalUnitIds: (_) => (0, import_smithy_client._json)(_)
|
|
702
|
+
})
|
|
703
|
+
);
|
|
704
|
+
b.m("POST").h(headers).b(body);
|
|
705
|
+
return b.build();
|
|
706
|
+
}, "se_DescribeOrganizationResourceCollectionHealthCommand");
|
|
707
|
+
var se_DescribeResourceCollectionHealthCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
708
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
709
|
+
const headers = {};
|
|
710
|
+
b.bp("/accounts/health/resource-collection/{ResourceCollectionType}");
|
|
711
|
+
b.p("ResourceCollectionType", () => input.ResourceCollectionType, "{ResourceCollectionType}", false);
|
|
712
|
+
const query = (0, import_smithy_client.map)({
|
|
713
|
+
[_NT]: [, input[_NT]]
|
|
714
|
+
});
|
|
715
|
+
let body;
|
|
716
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
717
|
+
return b.build();
|
|
718
|
+
}, "se_DescribeResourceCollectionHealthCommand");
|
|
719
|
+
var se_DescribeServiceIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
720
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
721
|
+
const headers = {
|
|
722
|
+
"content-type": "application/json"
|
|
723
|
+
};
|
|
724
|
+
b.bp("/service-integrations");
|
|
725
|
+
let body;
|
|
726
|
+
body = "";
|
|
727
|
+
b.m("GET").h(headers).b(body);
|
|
728
|
+
return b.build();
|
|
729
|
+
}, "se_DescribeServiceIntegrationCommand");
|
|
730
|
+
var se_GetCostEstimationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
731
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
732
|
+
const headers = {};
|
|
733
|
+
b.bp("/cost-estimation");
|
|
734
|
+
const query = (0, import_smithy_client.map)({
|
|
735
|
+
[_NT]: [, input[_NT]]
|
|
736
|
+
});
|
|
737
|
+
let body;
|
|
738
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
739
|
+
return b.build();
|
|
740
|
+
}, "se_GetCostEstimationCommand");
|
|
741
|
+
var se_GetResourceCollectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
742
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
743
|
+
const headers = {};
|
|
744
|
+
b.bp("/resource-collections/{ResourceCollectionType}");
|
|
745
|
+
b.p("ResourceCollectionType", () => input.ResourceCollectionType, "{ResourceCollectionType}", false);
|
|
746
|
+
const query = (0, import_smithy_client.map)({
|
|
747
|
+
[_NT]: [, input[_NT]]
|
|
748
|
+
});
|
|
749
|
+
let body;
|
|
750
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
751
|
+
return b.build();
|
|
752
|
+
}, "se_GetResourceCollectionCommand");
|
|
753
|
+
var se_ListAnomaliesForInsightCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
754
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
755
|
+
const headers = {
|
|
756
|
+
"content-type": "application/json"
|
|
757
|
+
};
|
|
758
|
+
b.bp("/anomalies/insight/{InsightId}");
|
|
759
|
+
b.p("InsightId", () => input.InsightId, "{InsightId}", false);
|
|
760
|
+
let body;
|
|
761
|
+
body = JSON.stringify(
|
|
762
|
+
(0, import_smithy_client.take)(input, {
|
|
763
|
+
AccountId: [],
|
|
764
|
+
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
765
|
+
MaxResults: [],
|
|
766
|
+
NextToken: [],
|
|
767
|
+
StartTimeRange: (_) => se_StartTimeRange(_, context)
|
|
768
|
+
})
|
|
769
|
+
);
|
|
770
|
+
b.m("POST").h(headers).b(body);
|
|
771
|
+
return b.build();
|
|
772
|
+
}, "se_ListAnomaliesForInsightCommand");
|
|
773
|
+
var se_ListAnomalousLogGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
774
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
775
|
+
const headers = {
|
|
776
|
+
"content-type": "application/json"
|
|
777
|
+
};
|
|
778
|
+
b.bp("/list-log-anomalies");
|
|
779
|
+
let body;
|
|
780
|
+
body = JSON.stringify(
|
|
781
|
+
(0, import_smithy_client.take)(input, {
|
|
782
|
+
InsightId: [],
|
|
783
|
+
MaxResults: [],
|
|
784
|
+
NextToken: []
|
|
785
|
+
})
|
|
786
|
+
);
|
|
787
|
+
b.m("POST").h(headers).b(body);
|
|
788
|
+
return b.build();
|
|
789
|
+
}, "se_ListAnomalousLogGroupsCommand");
|
|
790
|
+
var se_ListEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
791
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
792
|
+
const headers = {
|
|
793
|
+
"content-type": "application/json"
|
|
794
|
+
};
|
|
795
|
+
b.bp("/events");
|
|
796
|
+
let body;
|
|
797
|
+
body = JSON.stringify(
|
|
798
|
+
(0, import_smithy_client.take)(input, {
|
|
799
|
+
AccountId: [],
|
|
800
|
+
Filters: (_) => se_ListEventsFilters(_, context),
|
|
801
|
+
MaxResults: [],
|
|
802
|
+
NextToken: []
|
|
803
|
+
})
|
|
804
|
+
);
|
|
805
|
+
b.m("POST").h(headers).b(body);
|
|
806
|
+
return b.build();
|
|
807
|
+
}, "se_ListEventsCommand");
|
|
808
|
+
var se_ListInsightsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
809
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
810
|
+
const headers = {
|
|
811
|
+
"content-type": "application/json"
|
|
812
|
+
};
|
|
813
|
+
b.bp("/insights");
|
|
814
|
+
let body;
|
|
815
|
+
body = JSON.stringify(
|
|
816
|
+
(0, import_smithy_client.take)(input, {
|
|
817
|
+
MaxResults: [],
|
|
818
|
+
NextToken: [],
|
|
819
|
+
StatusFilter: (_) => se_ListInsightsStatusFilter(_, context)
|
|
820
|
+
})
|
|
821
|
+
);
|
|
822
|
+
b.m("POST").h(headers).b(body);
|
|
823
|
+
return b.build();
|
|
824
|
+
}, "se_ListInsightsCommand");
|
|
825
|
+
var se_ListMonitoredResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
826
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
827
|
+
const headers = {
|
|
828
|
+
"content-type": "application/json"
|
|
829
|
+
};
|
|
830
|
+
b.bp("/monitoredResources");
|
|
831
|
+
let body;
|
|
832
|
+
body = JSON.stringify(
|
|
833
|
+
(0, import_smithy_client.take)(input, {
|
|
834
|
+
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
835
|
+
MaxResults: [],
|
|
836
|
+
NextToken: []
|
|
837
|
+
})
|
|
838
|
+
);
|
|
839
|
+
b.m("POST").h(headers).b(body);
|
|
840
|
+
return b.build();
|
|
841
|
+
}, "se_ListMonitoredResourcesCommand");
|
|
842
|
+
var se_ListNotificationChannelsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
843
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
844
|
+
const headers = {
|
|
845
|
+
"content-type": "application/json"
|
|
846
|
+
};
|
|
847
|
+
b.bp("/channels");
|
|
848
|
+
let body;
|
|
849
|
+
body = JSON.stringify(
|
|
850
|
+
(0, import_smithy_client.take)(input, {
|
|
851
|
+
NextToken: []
|
|
852
|
+
})
|
|
853
|
+
);
|
|
854
|
+
b.m("POST").h(headers).b(body);
|
|
855
|
+
return b.build();
|
|
856
|
+
}, "se_ListNotificationChannelsCommand");
|
|
857
|
+
var se_ListOrganizationInsightsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
858
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
859
|
+
const headers = {
|
|
860
|
+
"content-type": "application/json"
|
|
861
|
+
};
|
|
862
|
+
b.bp("/organization/insights");
|
|
863
|
+
let body;
|
|
864
|
+
body = JSON.stringify(
|
|
865
|
+
(0, import_smithy_client.take)(input, {
|
|
866
|
+
AccountIds: (_) => (0, import_smithy_client._json)(_),
|
|
867
|
+
MaxResults: [],
|
|
868
|
+
NextToken: [],
|
|
869
|
+
OrganizationalUnitIds: (_) => (0, import_smithy_client._json)(_),
|
|
870
|
+
StatusFilter: (_) => se_ListInsightsStatusFilter(_, context)
|
|
871
|
+
})
|
|
872
|
+
);
|
|
873
|
+
b.m("POST").h(headers).b(body);
|
|
874
|
+
return b.build();
|
|
875
|
+
}, "se_ListOrganizationInsightsCommand");
|
|
876
|
+
var se_ListRecommendationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
877
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
878
|
+
const headers = {
|
|
879
|
+
"content-type": "application/json"
|
|
880
|
+
};
|
|
881
|
+
b.bp("/recommendations");
|
|
882
|
+
let body;
|
|
883
|
+
body = JSON.stringify(
|
|
884
|
+
(0, import_smithy_client.take)(input, {
|
|
885
|
+
AccountId: [],
|
|
886
|
+
InsightId: [],
|
|
887
|
+
Locale: [],
|
|
888
|
+
NextToken: []
|
|
889
|
+
})
|
|
890
|
+
);
|
|
891
|
+
b.m("POST").h(headers).b(body);
|
|
892
|
+
return b.build();
|
|
893
|
+
}, "se_ListRecommendationsCommand");
|
|
894
|
+
var se_PutFeedbackCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
895
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
896
|
+
const headers = {
|
|
897
|
+
"content-type": "application/json"
|
|
898
|
+
};
|
|
899
|
+
b.bp("/feedback");
|
|
900
|
+
let body;
|
|
901
|
+
body = JSON.stringify(
|
|
902
|
+
(0, import_smithy_client.take)(input, {
|
|
903
|
+
InsightFeedback: (_) => (0, import_smithy_client._json)(_)
|
|
904
|
+
})
|
|
905
|
+
);
|
|
906
|
+
b.m("PUT").h(headers).b(body);
|
|
907
|
+
return b.build();
|
|
908
|
+
}, "se_PutFeedbackCommand");
|
|
909
|
+
var se_RemoveNotificationChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
910
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
911
|
+
const headers = {};
|
|
912
|
+
b.bp("/channels/{Id}");
|
|
913
|
+
b.p("Id", () => input.Id, "{Id}", false);
|
|
914
|
+
let body;
|
|
915
|
+
b.m("DELETE").h(headers).b(body);
|
|
916
|
+
return b.build();
|
|
917
|
+
}, "se_RemoveNotificationChannelCommand");
|
|
918
|
+
var se_SearchInsightsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
919
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
920
|
+
const headers = {
|
|
921
|
+
"content-type": "application/json"
|
|
922
|
+
};
|
|
923
|
+
b.bp("/insights/search");
|
|
924
|
+
let body;
|
|
925
|
+
body = JSON.stringify(
|
|
926
|
+
(0, import_smithy_client.take)(input, {
|
|
927
|
+
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
928
|
+
MaxResults: [],
|
|
929
|
+
NextToken: [],
|
|
930
|
+
StartTimeRange: (_) => se_StartTimeRange(_, context),
|
|
931
|
+
Type: []
|
|
932
|
+
})
|
|
933
|
+
);
|
|
934
|
+
b.m("POST").h(headers).b(body);
|
|
935
|
+
return b.build();
|
|
936
|
+
}, "se_SearchInsightsCommand");
|
|
937
|
+
var se_SearchOrganizationInsightsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
938
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
939
|
+
const headers = {
|
|
940
|
+
"content-type": "application/json"
|
|
941
|
+
};
|
|
942
|
+
b.bp("/organization/insights/search");
|
|
943
|
+
let body;
|
|
944
|
+
body = JSON.stringify(
|
|
945
|
+
(0, import_smithy_client.take)(input, {
|
|
946
|
+
AccountIds: (_) => (0, import_smithy_client._json)(_),
|
|
947
|
+
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
948
|
+
MaxResults: [],
|
|
949
|
+
NextToken: [],
|
|
950
|
+
StartTimeRange: (_) => se_StartTimeRange(_, context),
|
|
951
|
+
Type: []
|
|
952
|
+
})
|
|
953
|
+
);
|
|
954
|
+
b.m("POST").h(headers).b(body);
|
|
955
|
+
return b.build();
|
|
956
|
+
}, "se_SearchOrganizationInsightsCommand");
|
|
957
|
+
var se_StartCostEstimationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
958
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
959
|
+
const headers = {
|
|
960
|
+
"content-type": "application/json"
|
|
961
|
+
};
|
|
962
|
+
b.bp("/cost-estimation");
|
|
963
|
+
let body;
|
|
964
|
+
body = JSON.stringify(
|
|
965
|
+
(0, import_smithy_client.take)(input, {
|
|
966
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
967
|
+
ResourceCollection: (_) => (0, import_smithy_client._json)(_)
|
|
968
|
+
})
|
|
969
|
+
);
|
|
970
|
+
b.m("PUT").h(headers).b(body);
|
|
971
|
+
return b.build();
|
|
972
|
+
}, "se_StartCostEstimationCommand");
|
|
973
|
+
var se_UpdateEventSourcesConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
974
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
975
|
+
const headers = {
|
|
976
|
+
"content-type": "application/json"
|
|
977
|
+
};
|
|
978
|
+
b.bp("/event-sources");
|
|
979
|
+
let body;
|
|
980
|
+
body = JSON.stringify(
|
|
981
|
+
(0, import_smithy_client.take)(input, {
|
|
982
|
+
EventSources: (_) => (0, import_smithy_client._json)(_)
|
|
983
|
+
})
|
|
984
|
+
);
|
|
985
|
+
b.m("PUT").h(headers).b(body);
|
|
986
|
+
return b.build();
|
|
987
|
+
}, "se_UpdateEventSourcesConfigCommand");
|
|
988
|
+
var se_UpdateResourceCollectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
989
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
990
|
+
const headers = {
|
|
991
|
+
"content-type": "application/json"
|
|
992
|
+
};
|
|
993
|
+
b.bp("/resource-collections");
|
|
994
|
+
let body;
|
|
995
|
+
body = JSON.stringify(
|
|
996
|
+
(0, import_smithy_client.take)(input, {
|
|
997
|
+
Action: [],
|
|
998
|
+
ResourceCollection: (_) => (0, import_smithy_client._json)(_)
|
|
999
|
+
})
|
|
1000
|
+
);
|
|
1001
|
+
b.m("PUT").h(headers).b(body);
|
|
1002
|
+
return b.build();
|
|
1003
|
+
}, "se_UpdateResourceCollectionCommand");
|
|
1004
|
+
var se_UpdateServiceIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1005
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1006
|
+
const headers = {
|
|
1007
|
+
"content-type": "application/json"
|
|
1008
|
+
};
|
|
1009
|
+
b.bp("/service-integrations");
|
|
1010
|
+
let body;
|
|
1011
|
+
body = JSON.stringify(
|
|
1012
|
+
(0, import_smithy_client.take)(input, {
|
|
1013
|
+
ServiceIntegration: (_) => (0, import_smithy_client._json)(_)
|
|
1014
|
+
})
|
|
1015
|
+
);
|
|
1016
|
+
b.m("PUT").h(headers).b(body);
|
|
1017
|
+
return b.build();
|
|
1018
|
+
}, "se_UpdateServiceIntegrationCommand");
|
|
1019
|
+
var de_AddNotificationChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1020
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1021
|
+
return de_AddNotificationChannelCommandError(output, context);
|
|
1022
|
+
}
|
|
1023
|
+
const contents = (0, import_smithy_client.map)({
|
|
1024
|
+
$metadata: deserializeMetadata(output)
|
|
1025
|
+
});
|
|
1026
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1027
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1028
|
+
Id: import_smithy_client.expectString
|
|
1029
|
+
});
|
|
1030
|
+
Object.assign(contents, doc);
|
|
1031
|
+
return contents;
|
|
1032
|
+
}, "de_AddNotificationChannelCommand");
|
|
1033
|
+
var de_AddNotificationChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1034
|
+
const parsedOutput = {
|
|
1035
|
+
...output,
|
|
1036
|
+
body: await parseErrorBody(output.body, context)
|
|
1037
|
+
};
|
|
1038
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1039
|
+
switch (errorCode) {
|
|
1040
|
+
case "AccessDeniedException":
|
|
1041
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1042
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1043
|
+
case "ConflictException":
|
|
1044
|
+
case "com.amazonaws.devopsguru#ConflictException":
|
|
1045
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1046
|
+
case "InternalServerException":
|
|
1047
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1048
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1049
|
+
case "ResourceNotFoundException":
|
|
1050
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1051
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1052
|
+
case "ServiceQuotaExceededException":
|
|
1053
|
+
case "com.amazonaws.devopsguru#ServiceQuotaExceededException":
|
|
1054
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1055
|
+
case "ThrottlingException":
|
|
1056
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1057
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1058
|
+
case "ValidationException":
|
|
1059
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1060
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1061
|
+
default:
|
|
1062
|
+
const parsedBody = parsedOutput.body;
|
|
1063
|
+
return throwDefaultError({
|
|
1064
|
+
output,
|
|
1065
|
+
parsedBody,
|
|
1066
|
+
errorCode
|
|
1067
|
+
});
|
|
1068
|
+
}
|
|
1069
|
+
}, "de_AddNotificationChannelCommandError");
|
|
1070
|
+
var de_DeleteInsightCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1071
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1072
|
+
return de_DeleteInsightCommandError(output, context);
|
|
1073
|
+
}
|
|
1074
|
+
const contents = (0, import_smithy_client.map)({
|
|
1075
|
+
$metadata: deserializeMetadata(output)
|
|
1076
|
+
});
|
|
1077
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1078
|
+
return contents;
|
|
1079
|
+
}, "de_DeleteInsightCommand");
|
|
1080
|
+
var de_DeleteInsightCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1081
|
+
const parsedOutput = {
|
|
1082
|
+
...output,
|
|
1083
|
+
body: await parseErrorBody(output.body, context)
|
|
1084
|
+
};
|
|
1085
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1086
|
+
switch (errorCode) {
|
|
1087
|
+
case "AccessDeniedException":
|
|
1088
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1089
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1090
|
+
case "ConflictException":
|
|
1091
|
+
case "com.amazonaws.devopsguru#ConflictException":
|
|
1092
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1093
|
+
case "InternalServerException":
|
|
1094
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1095
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1096
|
+
case "ResourceNotFoundException":
|
|
1097
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1098
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1099
|
+
case "ThrottlingException":
|
|
1100
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1101
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1102
|
+
case "ValidationException":
|
|
1103
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1104
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1105
|
+
default:
|
|
1106
|
+
const parsedBody = parsedOutput.body;
|
|
1107
|
+
return throwDefaultError({
|
|
1108
|
+
output,
|
|
1109
|
+
parsedBody,
|
|
1110
|
+
errorCode
|
|
1111
|
+
});
|
|
1112
|
+
}
|
|
1113
|
+
}, "de_DeleteInsightCommandError");
|
|
1114
|
+
var de_DescribeAccountHealthCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1115
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1116
|
+
return de_DescribeAccountHealthCommandError(output, context);
|
|
1117
|
+
}
|
|
1118
|
+
const contents = (0, import_smithy_client.map)({
|
|
1119
|
+
$metadata: deserializeMetadata(output)
|
|
1120
|
+
});
|
|
1121
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1122
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1123
|
+
AnalyzedResourceCount: import_smithy_client.expectLong,
|
|
1124
|
+
MetricsAnalyzed: import_smithy_client.expectInt32,
|
|
1125
|
+
OpenProactiveInsights: import_smithy_client.expectInt32,
|
|
1126
|
+
OpenReactiveInsights: import_smithy_client.expectInt32,
|
|
1127
|
+
ResourceHours: import_smithy_client.expectLong
|
|
1128
|
+
});
|
|
1129
|
+
Object.assign(contents, doc);
|
|
1130
|
+
return contents;
|
|
1131
|
+
}, "de_DescribeAccountHealthCommand");
|
|
1132
|
+
var de_DescribeAccountHealthCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1133
|
+
const parsedOutput = {
|
|
1134
|
+
...output,
|
|
1135
|
+
body: await parseErrorBody(output.body, context)
|
|
1136
|
+
};
|
|
1137
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1138
|
+
switch (errorCode) {
|
|
1139
|
+
case "AccessDeniedException":
|
|
1140
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1141
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1142
|
+
case "InternalServerException":
|
|
1143
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1144
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1145
|
+
case "ThrottlingException":
|
|
1146
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1147
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1148
|
+
case "ValidationException":
|
|
1149
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1150
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1151
|
+
default:
|
|
1152
|
+
const parsedBody = parsedOutput.body;
|
|
1153
|
+
return throwDefaultError({
|
|
1154
|
+
output,
|
|
1155
|
+
parsedBody,
|
|
1156
|
+
errorCode
|
|
1157
|
+
});
|
|
1158
|
+
}
|
|
1159
|
+
}, "de_DescribeAccountHealthCommandError");
|
|
1160
|
+
var de_DescribeAccountOverviewCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1161
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1162
|
+
return de_DescribeAccountOverviewCommandError(output, context);
|
|
1163
|
+
}
|
|
1164
|
+
const contents = (0, import_smithy_client.map)({
|
|
1165
|
+
$metadata: deserializeMetadata(output)
|
|
1166
|
+
});
|
|
1167
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1168
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1169
|
+
MeanTimeToRecoverInMilliseconds: import_smithy_client.expectLong,
|
|
1170
|
+
ProactiveInsights: import_smithy_client.expectInt32,
|
|
1171
|
+
ReactiveInsights: import_smithy_client.expectInt32
|
|
1172
|
+
});
|
|
1173
|
+
Object.assign(contents, doc);
|
|
1174
|
+
return contents;
|
|
1175
|
+
}, "de_DescribeAccountOverviewCommand");
|
|
1176
|
+
var de_DescribeAccountOverviewCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1177
|
+
const parsedOutput = {
|
|
1178
|
+
...output,
|
|
1179
|
+
body: await parseErrorBody(output.body, context)
|
|
1180
|
+
};
|
|
1181
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1182
|
+
switch (errorCode) {
|
|
1183
|
+
case "AccessDeniedException":
|
|
1184
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1185
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1186
|
+
case "InternalServerException":
|
|
1187
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1188
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1189
|
+
case "ThrottlingException":
|
|
1190
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1191
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1192
|
+
case "ValidationException":
|
|
1193
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1194
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1195
|
+
default:
|
|
1196
|
+
const parsedBody = parsedOutput.body;
|
|
1197
|
+
return throwDefaultError({
|
|
1198
|
+
output,
|
|
1199
|
+
parsedBody,
|
|
1200
|
+
errorCode
|
|
1201
|
+
});
|
|
1202
|
+
}
|
|
1203
|
+
}, "de_DescribeAccountOverviewCommandError");
|
|
1204
|
+
var de_DescribeAnomalyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1205
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1206
|
+
return de_DescribeAnomalyCommandError(output, context);
|
|
1207
|
+
}
|
|
1208
|
+
const contents = (0, import_smithy_client.map)({
|
|
1209
|
+
$metadata: deserializeMetadata(output)
|
|
1210
|
+
});
|
|
1211
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1212
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1213
|
+
ProactiveAnomaly: (_) => de_ProactiveAnomaly(_, context),
|
|
1214
|
+
ReactiveAnomaly: (_) => de_ReactiveAnomaly(_, context)
|
|
1215
|
+
});
|
|
1216
|
+
Object.assign(contents, doc);
|
|
1217
|
+
return contents;
|
|
1218
|
+
}, "de_DescribeAnomalyCommand");
|
|
1219
|
+
var de_DescribeAnomalyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1220
|
+
const parsedOutput = {
|
|
1221
|
+
...output,
|
|
1222
|
+
body: await parseErrorBody(output.body, context)
|
|
1223
|
+
};
|
|
1224
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1225
|
+
switch (errorCode) {
|
|
1226
|
+
case "AccessDeniedException":
|
|
1227
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1228
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1229
|
+
case "InternalServerException":
|
|
1230
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1231
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1232
|
+
case "ResourceNotFoundException":
|
|
1233
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1234
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1235
|
+
case "ThrottlingException":
|
|
1236
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1237
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1238
|
+
case "ValidationException":
|
|
1239
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1240
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1241
|
+
default:
|
|
1242
|
+
const parsedBody = parsedOutput.body;
|
|
1243
|
+
return throwDefaultError({
|
|
1244
|
+
output,
|
|
1245
|
+
parsedBody,
|
|
1246
|
+
errorCode
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1249
|
+
}, "de_DescribeAnomalyCommandError");
|
|
1250
|
+
var de_DescribeEventSourcesConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1251
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1252
|
+
return de_DescribeEventSourcesConfigCommandError(output, context);
|
|
1253
|
+
}
|
|
1254
|
+
const contents = (0, import_smithy_client.map)({
|
|
1255
|
+
$metadata: deserializeMetadata(output)
|
|
1256
|
+
});
|
|
1257
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1258
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1259
|
+
EventSources: import_smithy_client._json
|
|
1260
|
+
});
|
|
1261
|
+
Object.assign(contents, doc);
|
|
1262
|
+
return contents;
|
|
1263
|
+
}, "de_DescribeEventSourcesConfigCommand");
|
|
1264
|
+
var de_DescribeEventSourcesConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1265
|
+
const parsedOutput = {
|
|
1266
|
+
...output,
|
|
1267
|
+
body: await parseErrorBody(output.body, context)
|
|
1268
|
+
};
|
|
1269
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1270
|
+
switch (errorCode) {
|
|
1271
|
+
case "AccessDeniedException":
|
|
1272
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1273
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1274
|
+
case "InternalServerException":
|
|
1275
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1276
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1277
|
+
case "ThrottlingException":
|
|
1278
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1279
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1280
|
+
case "ValidationException":
|
|
1281
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1282
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1283
|
+
default:
|
|
1284
|
+
const parsedBody = parsedOutput.body;
|
|
1285
|
+
return throwDefaultError({
|
|
1286
|
+
output,
|
|
1287
|
+
parsedBody,
|
|
1288
|
+
errorCode
|
|
1289
|
+
});
|
|
1290
|
+
}
|
|
1291
|
+
}, "de_DescribeEventSourcesConfigCommandError");
|
|
1292
|
+
var de_DescribeFeedbackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1293
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1294
|
+
return de_DescribeFeedbackCommandError(output, context);
|
|
1295
|
+
}
|
|
1296
|
+
const contents = (0, import_smithy_client.map)({
|
|
1297
|
+
$metadata: deserializeMetadata(output)
|
|
1298
|
+
});
|
|
1299
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1300
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1301
|
+
InsightFeedback: import_smithy_client._json
|
|
1302
|
+
});
|
|
1303
|
+
Object.assign(contents, doc);
|
|
1304
|
+
return contents;
|
|
1305
|
+
}, "de_DescribeFeedbackCommand");
|
|
1306
|
+
var de_DescribeFeedbackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1307
|
+
const parsedOutput = {
|
|
1308
|
+
...output,
|
|
1309
|
+
body: await parseErrorBody(output.body, context)
|
|
1310
|
+
};
|
|
1311
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1312
|
+
switch (errorCode) {
|
|
1313
|
+
case "AccessDeniedException":
|
|
1314
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1315
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1316
|
+
case "InternalServerException":
|
|
1317
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1318
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1319
|
+
case "ResourceNotFoundException":
|
|
1320
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1321
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1322
|
+
case "ThrottlingException":
|
|
1323
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1324
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1325
|
+
case "ValidationException":
|
|
1326
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1327
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1328
|
+
default:
|
|
1329
|
+
const parsedBody = parsedOutput.body;
|
|
1330
|
+
return throwDefaultError({
|
|
1331
|
+
output,
|
|
1332
|
+
parsedBody,
|
|
1333
|
+
errorCode
|
|
1334
|
+
});
|
|
1335
|
+
}
|
|
1336
|
+
}, "de_DescribeFeedbackCommandError");
|
|
1337
|
+
var de_DescribeInsightCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1338
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1339
|
+
return de_DescribeInsightCommandError(output, context);
|
|
1340
|
+
}
|
|
1341
|
+
const contents = (0, import_smithy_client.map)({
|
|
1342
|
+
$metadata: deserializeMetadata(output)
|
|
1343
|
+
});
|
|
1344
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1345
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1346
|
+
ProactiveInsight: (_) => de_ProactiveInsight(_, context),
|
|
1347
|
+
ReactiveInsight: (_) => de_ReactiveInsight(_, context)
|
|
1348
|
+
});
|
|
1349
|
+
Object.assign(contents, doc);
|
|
1350
|
+
return contents;
|
|
1351
|
+
}, "de_DescribeInsightCommand");
|
|
1352
|
+
var de_DescribeInsightCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1353
|
+
const parsedOutput = {
|
|
1354
|
+
...output,
|
|
1355
|
+
body: await parseErrorBody(output.body, context)
|
|
1356
|
+
};
|
|
1357
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1358
|
+
switch (errorCode) {
|
|
1359
|
+
case "AccessDeniedException":
|
|
1360
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1361
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1362
|
+
case "InternalServerException":
|
|
1363
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1364
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1365
|
+
case "ResourceNotFoundException":
|
|
1366
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1367
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1368
|
+
case "ThrottlingException":
|
|
1369
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1370
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1371
|
+
case "ValidationException":
|
|
1372
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1373
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1374
|
+
default:
|
|
1375
|
+
const parsedBody = parsedOutput.body;
|
|
1376
|
+
return throwDefaultError({
|
|
1377
|
+
output,
|
|
1378
|
+
parsedBody,
|
|
1379
|
+
errorCode
|
|
1380
|
+
});
|
|
1381
|
+
}
|
|
1382
|
+
}, "de_DescribeInsightCommandError");
|
|
1383
|
+
var de_DescribeOrganizationHealthCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1384
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1385
|
+
return de_DescribeOrganizationHealthCommandError(output, context);
|
|
1386
|
+
}
|
|
1387
|
+
const contents = (0, import_smithy_client.map)({
|
|
1388
|
+
$metadata: deserializeMetadata(output)
|
|
1389
|
+
});
|
|
1390
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1391
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1392
|
+
MetricsAnalyzed: import_smithy_client.expectInt32,
|
|
1393
|
+
OpenProactiveInsights: import_smithy_client.expectInt32,
|
|
1394
|
+
OpenReactiveInsights: import_smithy_client.expectInt32,
|
|
1395
|
+
ResourceHours: import_smithy_client.expectLong
|
|
1396
|
+
});
|
|
1397
|
+
Object.assign(contents, doc);
|
|
1398
|
+
return contents;
|
|
1399
|
+
}, "de_DescribeOrganizationHealthCommand");
|
|
1400
|
+
var de_DescribeOrganizationHealthCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1401
|
+
const parsedOutput = {
|
|
1402
|
+
...output,
|
|
1403
|
+
body: await parseErrorBody(output.body, context)
|
|
1404
|
+
};
|
|
1405
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1406
|
+
switch (errorCode) {
|
|
1407
|
+
case "AccessDeniedException":
|
|
1408
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1409
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1410
|
+
case "InternalServerException":
|
|
1411
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1412
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1413
|
+
case "ThrottlingException":
|
|
1414
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1415
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1416
|
+
case "ValidationException":
|
|
1417
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1418
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1419
|
+
default:
|
|
1420
|
+
const parsedBody = parsedOutput.body;
|
|
1421
|
+
return throwDefaultError({
|
|
1422
|
+
output,
|
|
1423
|
+
parsedBody,
|
|
1424
|
+
errorCode
|
|
1425
|
+
});
|
|
1426
|
+
}
|
|
1427
|
+
}, "de_DescribeOrganizationHealthCommandError");
|
|
1428
|
+
var de_DescribeOrganizationOverviewCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1429
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1430
|
+
return de_DescribeOrganizationOverviewCommandError(output, context);
|
|
1431
|
+
}
|
|
1432
|
+
const contents = (0, import_smithy_client.map)({
|
|
1433
|
+
$metadata: deserializeMetadata(output)
|
|
1434
|
+
});
|
|
1435
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1436
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1437
|
+
ProactiveInsights: import_smithy_client.expectInt32,
|
|
1438
|
+
ReactiveInsights: import_smithy_client.expectInt32
|
|
1439
|
+
});
|
|
1440
|
+
Object.assign(contents, doc);
|
|
1441
|
+
return contents;
|
|
1442
|
+
}, "de_DescribeOrganizationOverviewCommand");
|
|
1443
|
+
var de_DescribeOrganizationOverviewCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1444
|
+
const parsedOutput = {
|
|
1445
|
+
...output,
|
|
1446
|
+
body: await parseErrorBody(output.body, context)
|
|
1447
|
+
};
|
|
1448
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1449
|
+
switch (errorCode) {
|
|
1450
|
+
case "AccessDeniedException":
|
|
1451
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1452
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1453
|
+
case "InternalServerException":
|
|
1454
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1455
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1456
|
+
case "ThrottlingException":
|
|
1457
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1458
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1459
|
+
case "ValidationException":
|
|
1460
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1461
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1462
|
+
default:
|
|
1463
|
+
const parsedBody = parsedOutput.body;
|
|
1464
|
+
return throwDefaultError({
|
|
1465
|
+
output,
|
|
1466
|
+
parsedBody,
|
|
1467
|
+
errorCode
|
|
1468
|
+
});
|
|
1469
|
+
}
|
|
1470
|
+
}, "de_DescribeOrganizationOverviewCommandError");
|
|
1471
|
+
var de_DescribeOrganizationResourceCollectionHealthCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1472
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1473
|
+
return de_DescribeOrganizationResourceCollectionHealthCommandError(output, context);
|
|
1474
|
+
}
|
|
1475
|
+
const contents = (0, import_smithy_client.map)({
|
|
1476
|
+
$metadata: deserializeMetadata(output)
|
|
1477
|
+
});
|
|
1478
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1479
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1480
|
+
Account: import_smithy_client._json,
|
|
1481
|
+
CloudFormation: import_smithy_client._json,
|
|
1482
|
+
NextToken: import_smithy_client.expectString,
|
|
1483
|
+
Service: import_smithy_client._json,
|
|
1484
|
+
Tags: import_smithy_client._json
|
|
1485
|
+
});
|
|
1486
|
+
Object.assign(contents, doc);
|
|
1487
|
+
return contents;
|
|
1488
|
+
}, "de_DescribeOrganizationResourceCollectionHealthCommand");
|
|
1489
|
+
var de_DescribeOrganizationResourceCollectionHealthCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1490
|
+
const parsedOutput = {
|
|
1491
|
+
...output,
|
|
1492
|
+
body: await parseErrorBody(output.body, context)
|
|
1493
|
+
};
|
|
1494
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1495
|
+
switch (errorCode) {
|
|
1496
|
+
case "AccessDeniedException":
|
|
1497
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1498
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1499
|
+
case "InternalServerException":
|
|
1500
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1501
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1502
|
+
case "ThrottlingException":
|
|
1503
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1504
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1505
|
+
case "ValidationException":
|
|
1506
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1507
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1508
|
+
default:
|
|
1509
|
+
const parsedBody = parsedOutput.body;
|
|
1510
|
+
return throwDefaultError({
|
|
1511
|
+
output,
|
|
1512
|
+
parsedBody,
|
|
1513
|
+
errorCode
|
|
1514
|
+
});
|
|
1515
|
+
}
|
|
1516
|
+
}, "de_DescribeOrganizationResourceCollectionHealthCommandError");
|
|
1517
|
+
var de_DescribeResourceCollectionHealthCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1518
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1519
|
+
return de_DescribeResourceCollectionHealthCommandError(output, context);
|
|
1520
|
+
}
|
|
1521
|
+
const contents = (0, import_smithy_client.map)({
|
|
1522
|
+
$metadata: deserializeMetadata(output)
|
|
1523
|
+
});
|
|
1524
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1525
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1526
|
+
CloudFormation: import_smithy_client._json,
|
|
1527
|
+
NextToken: import_smithy_client.expectString,
|
|
1528
|
+
Service: import_smithy_client._json,
|
|
1529
|
+
Tags: import_smithy_client._json
|
|
1530
|
+
});
|
|
1531
|
+
Object.assign(contents, doc);
|
|
1532
|
+
return contents;
|
|
1533
|
+
}, "de_DescribeResourceCollectionHealthCommand");
|
|
1534
|
+
var de_DescribeResourceCollectionHealthCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1535
|
+
const parsedOutput = {
|
|
1536
|
+
...output,
|
|
1537
|
+
body: await parseErrorBody(output.body, context)
|
|
1538
|
+
};
|
|
1539
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1540
|
+
switch (errorCode) {
|
|
1541
|
+
case "AccessDeniedException":
|
|
1542
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1543
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1544
|
+
case "InternalServerException":
|
|
1545
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1546
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1547
|
+
case "ThrottlingException":
|
|
1548
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1549
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1550
|
+
case "ValidationException":
|
|
1551
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1552
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1553
|
+
default:
|
|
1554
|
+
const parsedBody = parsedOutput.body;
|
|
1555
|
+
return throwDefaultError({
|
|
1556
|
+
output,
|
|
1557
|
+
parsedBody,
|
|
1558
|
+
errorCode
|
|
1559
|
+
});
|
|
1560
|
+
}
|
|
1561
|
+
}, "de_DescribeResourceCollectionHealthCommandError");
|
|
1562
|
+
var de_DescribeServiceIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1563
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1564
|
+
return de_DescribeServiceIntegrationCommandError(output, context);
|
|
1565
|
+
}
|
|
1566
|
+
const contents = (0, import_smithy_client.map)({
|
|
1567
|
+
$metadata: deserializeMetadata(output)
|
|
1568
|
+
});
|
|
1569
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1570
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1571
|
+
ServiceIntegration: import_smithy_client._json
|
|
1572
|
+
});
|
|
1573
|
+
Object.assign(contents, doc);
|
|
1574
|
+
return contents;
|
|
1575
|
+
}, "de_DescribeServiceIntegrationCommand");
|
|
1576
|
+
var de_DescribeServiceIntegrationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1577
|
+
const parsedOutput = {
|
|
1578
|
+
...output,
|
|
1579
|
+
body: await parseErrorBody(output.body, context)
|
|
1580
|
+
};
|
|
1581
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1582
|
+
switch (errorCode) {
|
|
1583
|
+
case "AccessDeniedException":
|
|
1584
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1585
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1586
|
+
case "InternalServerException":
|
|
1587
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1588
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1589
|
+
case "ResourceNotFoundException":
|
|
1590
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1591
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1592
|
+
case "ThrottlingException":
|
|
1593
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1594
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1595
|
+
case "ValidationException":
|
|
1596
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1597
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1598
|
+
default:
|
|
1599
|
+
const parsedBody = parsedOutput.body;
|
|
1600
|
+
return throwDefaultError({
|
|
1601
|
+
output,
|
|
1602
|
+
parsedBody,
|
|
1603
|
+
errorCode
|
|
1604
|
+
});
|
|
1605
|
+
}
|
|
1606
|
+
}, "de_DescribeServiceIntegrationCommandError");
|
|
1607
|
+
var de_GetCostEstimationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1608
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1609
|
+
return de_GetCostEstimationCommandError(output, context);
|
|
1610
|
+
}
|
|
1611
|
+
const contents = (0, import_smithy_client.map)({
|
|
1612
|
+
$metadata: deserializeMetadata(output)
|
|
1613
|
+
});
|
|
1614
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1615
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1616
|
+
Costs: (_) => de_ServiceResourceCosts(_, context),
|
|
1617
|
+
NextToken: import_smithy_client.expectString,
|
|
1618
|
+
ResourceCollection: import_smithy_client._json,
|
|
1619
|
+
Status: import_smithy_client.expectString,
|
|
1620
|
+
TimeRange: (_) => de_CostEstimationTimeRange(_, context),
|
|
1621
|
+
TotalCost: import_smithy_client.limitedParseDouble
|
|
1622
|
+
});
|
|
1623
|
+
Object.assign(contents, doc);
|
|
1624
|
+
return contents;
|
|
1625
|
+
}, "de_GetCostEstimationCommand");
|
|
1626
|
+
var de_GetCostEstimationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1627
|
+
const parsedOutput = {
|
|
1628
|
+
...output,
|
|
1629
|
+
body: await parseErrorBody(output.body, context)
|
|
1630
|
+
};
|
|
1631
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1632
|
+
switch (errorCode) {
|
|
1633
|
+
case "AccessDeniedException":
|
|
1634
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1635
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1636
|
+
case "InternalServerException":
|
|
1637
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1638
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1639
|
+
case "ResourceNotFoundException":
|
|
1640
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1641
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1642
|
+
case "ThrottlingException":
|
|
1643
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1644
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1645
|
+
case "ValidationException":
|
|
1646
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1647
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1648
|
+
default:
|
|
1649
|
+
const parsedBody = parsedOutput.body;
|
|
1650
|
+
return throwDefaultError({
|
|
1651
|
+
output,
|
|
1652
|
+
parsedBody,
|
|
1653
|
+
errorCode
|
|
1654
|
+
});
|
|
1655
|
+
}
|
|
1656
|
+
}, "de_GetCostEstimationCommandError");
|
|
1657
|
+
var de_GetResourceCollectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1658
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1659
|
+
return de_GetResourceCollectionCommandError(output, context);
|
|
1660
|
+
}
|
|
1661
|
+
const contents = (0, import_smithy_client.map)({
|
|
1662
|
+
$metadata: deserializeMetadata(output)
|
|
1663
|
+
});
|
|
1664
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1665
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1666
|
+
NextToken: import_smithy_client.expectString,
|
|
1667
|
+
ResourceCollection: import_smithy_client._json
|
|
1668
|
+
});
|
|
1669
|
+
Object.assign(contents, doc);
|
|
1670
|
+
return contents;
|
|
1671
|
+
}, "de_GetResourceCollectionCommand");
|
|
1672
|
+
var de_GetResourceCollectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1673
|
+
const parsedOutput = {
|
|
1674
|
+
...output,
|
|
1675
|
+
body: await parseErrorBody(output.body, context)
|
|
1676
|
+
};
|
|
1677
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1678
|
+
switch (errorCode) {
|
|
1679
|
+
case "AccessDeniedException":
|
|
1680
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1681
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1682
|
+
case "InternalServerException":
|
|
1683
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1684
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1685
|
+
case "ResourceNotFoundException":
|
|
1686
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1687
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1688
|
+
case "ThrottlingException":
|
|
1689
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1690
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1691
|
+
case "ValidationException":
|
|
1692
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1693
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1694
|
+
default:
|
|
1695
|
+
const parsedBody = parsedOutput.body;
|
|
1696
|
+
return throwDefaultError({
|
|
1697
|
+
output,
|
|
1698
|
+
parsedBody,
|
|
1699
|
+
errorCode
|
|
1700
|
+
});
|
|
1701
|
+
}
|
|
1702
|
+
}, "de_GetResourceCollectionCommandError");
|
|
1703
|
+
var de_ListAnomaliesForInsightCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1704
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1705
|
+
return de_ListAnomaliesForInsightCommandError(output, context);
|
|
1706
|
+
}
|
|
1707
|
+
const contents = (0, import_smithy_client.map)({
|
|
1708
|
+
$metadata: deserializeMetadata(output)
|
|
1709
|
+
});
|
|
1710
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1711
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1712
|
+
NextToken: import_smithy_client.expectString,
|
|
1713
|
+
ProactiveAnomalies: (_) => de_ProactiveAnomalies(_, context),
|
|
1714
|
+
ReactiveAnomalies: (_) => de_ReactiveAnomalies(_, context)
|
|
1715
|
+
});
|
|
1716
|
+
Object.assign(contents, doc);
|
|
1717
|
+
return contents;
|
|
1718
|
+
}, "de_ListAnomaliesForInsightCommand");
|
|
1719
|
+
var de_ListAnomaliesForInsightCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1720
|
+
const parsedOutput = {
|
|
1721
|
+
...output,
|
|
1722
|
+
body: await parseErrorBody(output.body, context)
|
|
1723
|
+
};
|
|
1724
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1725
|
+
switch (errorCode) {
|
|
1726
|
+
case "AccessDeniedException":
|
|
1727
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1728
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1729
|
+
case "InternalServerException":
|
|
1730
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1731
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1732
|
+
case "ResourceNotFoundException":
|
|
1733
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1734
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1735
|
+
case "ThrottlingException":
|
|
1736
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1737
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1738
|
+
case "ValidationException":
|
|
1739
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1740
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1741
|
+
default:
|
|
1742
|
+
const parsedBody = parsedOutput.body;
|
|
1743
|
+
return throwDefaultError({
|
|
1744
|
+
output,
|
|
1745
|
+
parsedBody,
|
|
1746
|
+
errorCode
|
|
1747
|
+
});
|
|
1748
|
+
}
|
|
1749
|
+
}, "de_ListAnomaliesForInsightCommandError");
|
|
1750
|
+
var de_ListAnomalousLogGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1751
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1752
|
+
return de_ListAnomalousLogGroupsCommandError(output, context);
|
|
1753
|
+
}
|
|
1754
|
+
const contents = (0, import_smithy_client.map)({
|
|
1755
|
+
$metadata: deserializeMetadata(output)
|
|
1756
|
+
});
|
|
1757
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1758
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1759
|
+
AnomalousLogGroups: (_) => de_AnomalousLogGroups(_, context),
|
|
1760
|
+
InsightId: import_smithy_client.expectString,
|
|
1761
|
+
NextToken: import_smithy_client.expectString
|
|
1762
|
+
});
|
|
1763
|
+
Object.assign(contents, doc);
|
|
1764
|
+
return contents;
|
|
1765
|
+
}, "de_ListAnomalousLogGroupsCommand");
|
|
1766
|
+
var de_ListAnomalousLogGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1767
|
+
const parsedOutput = {
|
|
1768
|
+
...output,
|
|
1769
|
+
body: await parseErrorBody(output.body, context)
|
|
1770
|
+
};
|
|
1771
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1772
|
+
switch (errorCode) {
|
|
1773
|
+
case "AccessDeniedException":
|
|
1774
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1775
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1776
|
+
case "InternalServerException":
|
|
1777
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1778
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1779
|
+
case "ResourceNotFoundException":
|
|
1780
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1781
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1782
|
+
case "ThrottlingException":
|
|
1783
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1784
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1785
|
+
case "ValidationException":
|
|
1786
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1787
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1788
|
+
default:
|
|
1789
|
+
const parsedBody = parsedOutput.body;
|
|
1790
|
+
return throwDefaultError({
|
|
1791
|
+
output,
|
|
1792
|
+
parsedBody,
|
|
1793
|
+
errorCode
|
|
1794
|
+
});
|
|
1795
|
+
}
|
|
1796
|
+
}, "de_ListAnomalousLogGroupsCommandError");
|
|
1797
|
+
var de_ListEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1798
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1799
|
+
return de_ListEventsCommandError(output, context);
|
|
1800
|
+
}
|
|
1801
|
+
const contents = (0, import_smithy_client.map)({
|
|
1802
|
+
$metadata: deserializeMetadata(output)
|
|
1803
|
+
});
|
|
1804
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1805
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1806
|
+
Events: (_) => de_Events(_, context),
|
|
1807
|
+
NextToken: import_smithy_client.expectString
|
|
1808
|
+
});
|
|
1809
|
+
Object.assign(contents, doc);
|
|
1810
|
+
return contents;
|
|
1811
|
+
}, "de_ListEventsCommand");
|
|
1812
|
+
var de_ListEventsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1813
|
+
const parsedOutput = {
|
|
1814
|
+
...output,
|
|
1815
|
+
body: await parseErrorBody(output.body, context)
|
|
1816
|
+
};
|
|
1817
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1818
|
+
switch (errorCode) {
|
|
1819
|
+
case "AccessDeniedException":
|
|
1820
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1821
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1822
|
+
case "InternalServerException":
|
|
1823
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1824
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1825
|
+
case "ResourceNotFoundException":
|
|
1826
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1827
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1828
|
+
case "ThrottlingException":
|
|
1829
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1830
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1831
|
+
case "ValidationException":
|
|
1832
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1833
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1834
|
+
default:
|
|
1835
|
+
const parsedBody = parsedOutput.body;
|
|
1836
|
+
return throwDefaultError({
|
|
1837
|
+
output,
|
|
1838
|
+
parsedBody,
|
|
1839
|
+
errorCode
|
|
1840
|
+
});
|
|
1841
|
+
}
|
|
1842
|
+
}, "de_ListEventsCommandError");
|
|
1843
|
+
var de_ListInsightsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1844
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1845
|
+
return de_ListInsightsCommandError(output, context);
|
|
1846
|
+
}
|
|
1847
|
+
const contents = (0, import_smithy_client.map)({
|
|
1848
|
+
$metadata: deserializeMetadata(output)
|
|
1849
|
+
});
|
|
1850
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1851
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1852
|
+
NextToken: import_smithy_client.expectString,
|
|
1853
|
+
ProactiveInsights: (_) => de_ProactiveInsights(_, context),
|
|
1854
|
+
ReactiveInsights: (_) => de_ReactiveInsights(_, context)
|
|
1855
|
+
});
|
|
1856
|
+
Object.assign(contents, doc);
|
|
1857
|
+
return contents;
|
|
1858
|
+
}, "de_ListInsightsCommand");
|
|
1859
|
+
var de_ListInsightsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1860
|
+
const parsedOutput = {
|
|
1861
|
+
...output,
|
|
1862
|
+
body: await parseErrorBody(output.body, context)
|
|
1863
|
+
};
|
|
1864
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1865
|
+
switch (errorCode) {
|
|
1866
|
+
case "AccessDeniedException":
|
|
1867
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1868
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1869
|
+
case "InternalServerException":
|
|
1870
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1871
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1872
|
+
case "ThrottlingException":
|
|
1873
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1874
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1875
|
+
case "ValidationException":
|
|
1876
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1877
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1878
|
+
default:
|
|
1879
|
+
const parsedBody = parsedOutput.body;
|
|
1880
|
+
return throwDefaultError({
|
|
1881
|
+
output,
|
|
1882
|
+
parsedBody,
|
|
1883
|
+
errorCode
|
|
1884
|
+
});
|
|
1885
|
+
}
|
|
1886
|
+
}, "de_ListInsightsCommandError");
|
|
1887
|
+
var de_ListMonitoredResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1888
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1889
|
+
return de_ListMonitoredResourcesCommandError(output, context);
|
|
1890
|
+
}
|
|
1891
|
+
const contents = (0, import_smithy_client.map)({
|
|
1892
|
+
$metadata: deserializeMetadata(output)
|
|
1893
|
+
});
|
|
1894
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1895
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1896
|
+
MonitoredResourceIdentifiers: (_) => de_MonitoredResourceIdentifiers(_, context),
|
|
1897
|
+
NextToken: import_smithy_client.expectString
|
|
1898
|
+
});
|
|
1899
|
+
Object.assign(contents, doc);
|
|
1900
|
+
return contents;
|
|
1901
|
+
}, "de_ListMonitoredResourcesCommand");
|
|
1902
|
+
var de_ListMonitoredResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1903
|
+
const parsedOutput = {
|
|
1904
|
+
...output,
|
|
1905
|
+
body: await parseErrorBody(output.body, context)
|
|
1906
|
+
};
|
|
1907
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1908
|
+
switch (errorCode) {
|
|
1909
|
+
case "InternalServerException":
|
|
1910
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1911
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1912
|
+
case "ResourceNotFoundException":
|
|
1913
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1914
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1915
|
+
case "ThrottlingException":
|
|
1916
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1917
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1918
|
+
case "ValidationException":
|
|
1919
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1920
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1921
|
+
default:
|
|
1922
|
+
const parsedBody = parsedOutput.body;
|
|
1923
|
+
return throwDefaultError({
|
|
1924
|
+
output,
|
|
1925
|
+
parsedBody,
|
|
1926
|
+
errorCode
|
|
1927
|
+
});
|
|
1928
|
+
}
|
|
1929
|
+
}, "de_ListMonitoredResourcesCommandError");
|
|
1930
|
+
var de_ListNotificationChannelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1931
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1932
|
+
return de_ListNotificationChannelsCommandError(output, context);
|
|
1933
|
+
}
|
|
1934
|
+
const contents = (0, import_smithy_client.map)({
|
|
1935
|
+
$metadata: deserializeMetadata(output)
|
|
1936
|
+
});
|
|
1937
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1938
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1939
|
+
Channels: import_smithy_client._json,
|
|
1940
|
+
NextToken: import_smithy_client.expectString
|
|
1941
|
+
});
|
|
1942
|
+
Object.assign(contents, doc);
|
|
1943
|
+
return contents;
|
|
1944
|
+
}, "de_ListNotificationChannelsCommand");
|
|
1945
|
+
var de_ListNotificationChannelsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1946
|
+
const parsedOutput = {
|
|
1947
|
+
...output,
|
|
1948
|
+
body: await parseErrorBody(output.body, context)
|
|
1949
|
+
};
|
|
1950
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1951
|
+
switch (errorCode) {
|
|
1952
|
+
case "AccessDeniedException":
|
|
1953
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1954
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1955
|
+
case "InternalServerException":
|
|
1956
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1957
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1958
|
+
case "ThrottlingException":
|
|
1959
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1960
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1961
|
+
case "ValidationException":
|
|
1962
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1963
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1964
|
+
default:
|
|
1965
|
+
const parsedBody = parsedOutput.body;
|
|
1966
|
+
return throwDefaultError({
|
|
1967
|
+
output,
|
|
1968
|
+
parsedBody,
|
|
1969
|
+
errorCode
|
|
1970
|
+
});
|
|
1971
|
+
}
|
|
1972
|
+
}, "de_ListNotificationChannelsCommandError");
|
|
1973
|
+
var de_ListOrganizationInsightsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1974
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1975
|
+
return de_ListOrganizationInsightsCommandError(output, context);
|
|
1976
|
+
}
|
|
1977
|
+
const contents = (0, import_smithy_client.map)({
|
|
1978
|
+
$metadata: deserializeMetadata(output)
|
|
1979
|
+
});
|
|
1980
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1981
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1982
|
+
NextToken: import_smithy_client.expectString,
|
|
1983
|
+
ProactiveInsights: (_) => de_ProactiveOrganizationInsights(_, context),
|
|
1984
|
+
ReactiveInsights: (_) => de_ReactiveOrganizationInsights(_, context)
|
|
1985
|
+
});
|
|
1986
|
+
Object.assign(contents, doc);
|
|
1987
|
+
return contents;
|
|
1988
|
+
}, "de_ListOrganizationInsightsCommand");
|
|
1989
|
+
var de_ListOrganizationInsightsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1990
|
+
const parsedOutput = {
|
|
1991
|
+
...output,
|
|
1992
|
+
body: await parseErrorBody(output.body, context)
|
|
1993
|
+
};
|
|
1994
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1995
|
+
switch (errorCode) {
|
|
1996
|
+
case "AccessDeniedException":
|
|
1997
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1998
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1999
|
+
case "InternalServerException":
|
|
2000
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
2001
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2002
|
+
case "ThrottlingException":
|
|
2003
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
2004
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2005
|
+
case "ValidationException":
|
|
2006
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
2007
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2008
|
+
default:
|
|
2009
|
+
const parsedBody = parsedOutput.body;
|
|
2010
|
+
return throwDefaultError({
|
|
2011
|
+
output,
|
|
2012
|
+
parsedBody,
|
|
2013
|
+
errorCode
|
|
2014
|
+
});
|
|
2015
|
+
}
|
|
2016
|
+
}, "de_ListOrganizationInsightsCommandError");
|
|
2017
|
+
var de_ListRecommendationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2018
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2019
|
+
return de_ListRecommendationsCommandError(output, context);
|
|
2020
|
+
}
|
|
2021
|
+
const contents = (0, import_smithy_client.map)({
|
|
2022
|
+
$metadata: deserializeMetadata(output)
|
|
2023
|
+
});
|
|
2024
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2025
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2026
|
+
NextToken: import_smithy_client.expectString,
|
|
2027
|
+
Recommendations: import_smithy_client._json
|
|
2028
|
+
});
|
|
2029
|
+
Object.assign(contents, doc);
|
|
2030
|
+
return contents;
|
|
2031
|
+
}, "de_ListRecommendationsCommand");
|
|
2032
|
+
var de_ListRecommendationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2033
|
+
const parsedOutput = {
|
|
2034
|
+
...output,
|
|
2035
|
+
body: await parseErrorBody(output.body, context)
|
|
2036
|
+
};
|
|
2037
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2038
|
+
switch (errorCode) {
|
|
2039
|
+
case "AccessDeniedException":
|
|
2040
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
2041
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2042
|
+
case "InternalServerException":
|
|
2043
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
2044
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2045
|
+
case "ResourceNotFoundException":
|
|
2046
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
2047
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2048
|
+
case "ThrottlingException":
|
|
2049
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
2050
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2051
|
+
case "ValidationException":
|
|
2052
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
2053
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2054
|
+
default:
|
|
2055
|
+
const parsedBody = parsedOutput.body;
|
|
2056
|
+
return throwDefaultError({
|
|
2057
|
+
output,
|
|
2058
|
+
parsedBody,
|
|
2059
|
+
errorCode
|
|
2060
|
+
});
|
|
2061
|
+
}
|
|
2062
|
+
}, "de_ListRecommendationsCommandError");
|
|
2063
|
+
var de_PutFeedbackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2064
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2065
|
+
return de_PutFeedbackCommandError(output, context);
|
|
2066
|
+
}
|
|
2067
|
+
const contents = (0, import_smithy_client.map)({
|
|
2068
|
+
$metadata: deserializeMetadata(output)
|
|
2069
|
+
});
|
|
2070
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2071
|
+
return contents;
|
|
2072
|
+
}, "de_PutFeedbackCommand");
|
|
2073
|
+
var de_PutFeedbackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2074
|
+
const parsedOutput = {
|
|
2075
|
+
...output,
|
|
2076
|
+
body: await parseErrorBody(output.body, context)
|
|
2077
|
+
};
|
|
2078
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2079
|
+
switch (errorCode) {
|
|
2080
|
+
case "AccessDeniedException":
|
|
2081
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
2082
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2083
|
+
case "ConflictException":
|
|
2084
|
+
case "com.amazonaws.devopsguru#ConflictException":
|
|
2085
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2086
|
+
case "InternalServerException":
|
|
2087
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
2088
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2089
|
+
case "ResourceNotFoundException":
|
|
2090
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
2091
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2092
|
+
case "ThrottlingException":
|
|
2093
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
2094
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2095
|
+
case "ValidationException":
|
|
2096
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
2097
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2098
|
+
default:
|
|
2099
|
+
const parsedBody = parsedOutput.body;
|
|
2100
|
+
return throwDefaultError({
|
|
2101
|
+
output,
|
|
2102
|
+
parsedBody,
|
|
2103
|
+
errorCode
|
|
2104
|
+
});
|
|
2105
|
+
}
|
|
2106
|
+
}, "de_PutFeedbackCommandError");
|
|
2107
|
+
var de_RemoveNotificationChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2108
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2109
|
+
return de_RemoveNotificationChannelCommandError(output, context);
|
|
2110
|
+
}
|
|
2111
|
+
const contents = (0, import_smithy_client.map)({
|
|
2112
|
+
$metadata: deserializeMetadata(output)
|
|
2113
|
+
});
|
|
2114
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2115
|
+
return contents;
|
|
2116
|
+
}, "de_RemoveNotificationChannelCommand");
|
|
2117
|
+
var de_RemoveNotificationChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2118
|
+
const parsedOutput = {
|
|
2119
|
+
...output,
|
|
2120
|
+
body: await parseErrorBody(output.body, context)
|
|
2121
|
+
};
|
|
2122
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2123
|
+
switch (errorCode) {
|
|
2124
|
+
case "AccessDeniedException":
|
|
2125
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
2126
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2127
|
+
case "ConflictException":
|
|
2128
|
+
case "com.amazonaws.devopsguru#ConflictException":
|
|
2129
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2130
|
+
case "InternalServerException":
|
|
2131
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
2132
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2133
|
+
case "ResourceNotFoundException":
|
|
2134
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
2135
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2136
|
+
case "ThrottlingException":
|
|
2137
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
2138
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2139
|
+
case "ValidationException":
|
|
2140
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
2141
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2142
|
+
default:
|
|
2143
|
+
const parsedBody = parsedOutput.body;
|
|
2144
|
+
return throwDefaultError({
|
|
2145
|
+
output,
|
|
2146
|
+
parsedBody,
|
|
2147
|
+
errorCode
|
|
2148
|
+
});
|
|
2149
|
+
}
|
|
2150
|
+
}, "de_RemoveNotificationChannelCommandError");
|
|
2151
|
+
var de_SearchInsightsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2152
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2153
|
+
return de_SearchInsightsCommandError(output, context);
|
|
2154
|
+
}
|
|
2155
|
+
const contents = (0, import_smithy_client.map)({
|
|
2156
|
+
$metadata: deserializeMetadata(output)
|
|
2157
|
+
});
|
|
2158
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2159
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2160
|
+
NextToken: import_smithy_client.expectString,
|
|
2161
|
+
ProactiveInsights: (_) => de_ProactiveInsights(_, context),
|
|
2162
|
+
ReactiveInsights: (_) => de_ReactiveInsights(_, context)
|
|
2163
|
+
});
|
|
2164
|
+
Object.assign(contents, doc);
|
|
2165
|
+
return contents;
|
|
2166
|
+
}, "de_SearchInsightsCommand");
|
|
2167
|
+
var de_SearchInsightsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2168
|
+
const parsedOutput = {
|
|
2169
|
+
...output,
|
|
2170
|
+
body: await parseErrorBody(output.body, context)
|
|
2171
|
+
};
|
|
2172
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2173
|
+
switch (errorCode) {
|
|
2174
|
+
case "AccessDeniedException":
|
|
2175
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
2176
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2177
|
+
case "InternalServerException":
|
|
2178
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
2179
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2180
|
+
case "ThrottlingException":
|
|
2181
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
2182
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2183
|
+
case "ValidationException":
|
|
2184
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
2185
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2186
|
+
default:
|
|
2187
|
+
const parsedBody = parsedOutput.body;
|
|
2188
|
+
return throwDefaultError({
|
|
2189
|
+
output,
|
|
2190
|
+
parsedBody,
|
|
2191
|
+
errorCode
|
|
2192
|
+
});
|
|
2193
|
+
}
|
|
2194
|
+
}, "de_SearchInsightsCommandError");
|
|
2195
|
+
var de_SearchOrganizationInsightsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2196
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2197
|
+
return de_SearchOrganizationInsightsCommandError(output, context);
|
|
2198
|
+
}
|
|
2199
|
+
const contents = (0, import_smithy_client.map)({
|
|
2200
|
+
$metadata: deserializeMetadata(output)
|
|
2201
|
+
});
|
|
2202
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2203
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2204
|
+
NextToken: import_smithy_client.expectString,
|
|
2205
|
+
ProactiveInsights: (_) => de_ProactiveInsights(_, context),
|
|
2206
|
+
ReactiveInsights: (_) => de_ReactiveInsights(_, context)
|
|
2207
|
+
});
|
|
2208
|
+
Object.assign(contents, doc);
|
|
2209
|
+
return contents;
|
|
2210
|
+
}, "de_SearchOrganizationInsightsCommand");
|
|
2211
|
+
var de_SearchOrganizationInsightsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2212
|
+
const parsedOutput = {
|
|
2213
|
+
...output,
|
|
2214
|
+
body: await parseErrorBody(output.body, context)
|
|
2215
|
+
};
|
|
2216
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2217
|
+
switch (errorCode) {
|
|
2218
|
+
case "AccessDeniedException":
|
|
2219
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
2220
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2221
|
+
case "InternalServerException":
|
|
2222
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
2223
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2224
|
+
case "ThrottlingException":
|
|
2225
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
2226
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2227
|
+
case "ValidationException":
|
|
2228
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
2229
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2230
|
+
default:
|
|
2231
|
+
const parsedBody = parsedOutput.body;
|
|
2232
|
+
return throwDefaultError({
|
|
2233
|
+
output,
|
|
2234
|
+
parsedBody,
|
|
2235
|
+
errorCode
|
|
2236
|
+
});
|
|
2237
|
+
}
|
|
2238
|
+
}, "de_SearchOrganizationInsightsCommandError");
|
|
2239
|
+
var de_StartCostEstimationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2240
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2241
|
+
return de_StartCostEstimationCommandError(output, context);
|
|
2242
|
+
}
|
|
2243
|
+
const contents = (0, import_smithy_client.map)({
|
|
2244
|
+
$metadata: deserializeMetadata(output)
|
|
2245
|
+
});
|
|
2246
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2247
|
+
return contents;
|
|
2248
|
+
}, "de_StartCostEstimationCommand");
|
|
2249
|
+
var de_StartCostEstimationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2250
|
+
const parsedOutput = {
|
|
2251
|
+
...output,
|
|
2252
|
+
body: await parseErrorBody(output.body, context)
|
|
2253
|
+
};
|
|
2254
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2255
|
+
switch (errorCode) {
|
|
2256
|
+
case "AccessDeniedException":
|
|
2257
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
2258
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2259
|
+
case "ConflictException":
|
|
2260
|
+
case "com.amazonaws.devopsguru#ConflictException":
|
|
2261
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2262
|
+
case "InternalServerException":
|
|
2263
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
2264
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2265
|
+
case "ResourceNotFoundException":
|
|
2266
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
2267
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2268
|
+
case "ThrottlingException":
|
|
2269
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
2270
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2271
|
+
case "ValidationException":
|
|
2272
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
2273
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2274
|
+
default:
|
|
2275
|
+
const parsedBody = parsedOutput.body;
|
|
2276
|
+
return throwDefaultError({
|
|
2277
|
+
output,
|
|
2278
|
+
parsedBody,
|
|
2279
|
+
errorCode
|
|
2280
|
+
});
|
|
2281
|
+
}
|
|
2282
|
+
}, "de_StartCostEstimationCommandError");
|
|
2283
|
+
var de_UpdateEventSourcesConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2284
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2285
|
+
return de_UpdateEventSourcesConfigCommandError(output, context);
|
|
2286
|
+
}
|
|
2287
|
+
const contents = (0, import_smithy_client.map)({
|
|
2288
|
+
$metadata: deserializeMetadata(output)
|
|
2289
|
+
});
|
|
2290
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2291
|
+
return contents;
|
|
2292
|
+
}, "de_UpdateEventSourcesConfigCommand");
|
|
2293
|
+
var de_UpdateEventSourcesConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2294
|
+
const parsedOutput = {
|
|
2295
|
+
...output,
|
|
2296
|
+
body: await parseErrorBody(output.body, context)
|
|
2297
|
+
};
|
|
2298
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2299
|
+
switch (errorCode) {
|
|
2300
|
+
case "AccessDeniedException":
|
|
2301
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
2302
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2303
|
+
case "InternalServerException":
|
|
2304
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
2305
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2306
|
+
case "ThrottlingException":
|
|
2307
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
2308
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2309
|
+
case "ValidationException":
|
|
2310
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
2311
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2312
|
+
default:
|
|
2313
|
+
const parsedBody = parsedOutput.body;
|
|
2314
|
+
return throwDefaultError({
|
|
2315
|
+
output,
|
|
2316
|
+
parsedBody,
|
|
2317
|
+
errorCode
|
|
2318
|
+
});
|
|
2319
|
+
}
|
|
2320
|
+
}, "de_UpdateEventSourcesConfigCommandError");
|
|
2321
|
+
var de_UpdateResourceCollectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2322
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2323
|
+
return de_UpdateResourceCollectionCommandError(output, context);
|
|
2324
|
+
}
|
|
2325
|
+
const contents = (0, import_smithy_client.map)({
|
|
2326
|
+
$metadata: deserializeMetadata(output)
|
|
2327
|
+
});
|
|
2328
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2329
|
+
return contents;
|
|
2330
|
+
}, "de_UpdateResourceCollectionCommand");
|
|
2331
|
+
var de_UpdateResourceCollectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2332
|
+
const parsedOutput = {
|
|
2333
|
+
...output,
|
|
2334
|
+
body: await parseErrorBody(output.body, context)
|
|
2335
|
+
};
|
|
2336
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2337
|
+
switch (errorCode) {
|
|
2338
|
+
case "AccessDeniedException":
|
|
2339
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
2340
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2341
|
+
case "ConflictException":
|
|
2342
|
+
case "com.amazonaws.devopsguru#ConflictException":
|
|
2343
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2344
|
+
case "InternalServerException":
|
|
2345
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
2346
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2347
|
+
case "ThrottlingException":
|
|
2348
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
2349
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2350
|
+
case "ValidationException":
|
|
2351
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
2352
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2353
|
+
default:
|
|
2354
|
+
const parsedBody = parsedOutput.body;
|
|
2355
|
+
return throwDefaultError({
|
|
2356
|
+
output,
|
|
2357
|
+
parsedBody,
|
|
2358
|
+
errorCode
|
|
2359
|
+
});
|
|
2360
|
+
}
|
|
2361
|
+
}, "de_UpdateResourceCollectionCommandError");
|
|
2362
|
+
var de_UpdateServiceIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2363
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2364
|
+
return de_UpdateServiceIntegrationCommandError(output, context);
|
|
2365
|
+
}
|
|
2366
|
+
const contents = (0, import_smithy_client.map)({
|
|
2367
|
+
$metadata: deserializeMetadata(output)
|
|
2368
|
+
});
|
|
2369
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2370
|
+
return contents;
|
|
2371
|
+
}, "de_UpdateServiceIntegrationCommand");
|
|
2372
|
+
var de_UpdateServiceIntegrationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2373
|
+
const parsedOutput = {
|
|
2374
|
+
...output,
|
|
2375
|
+
body: await parseErrorBody(output.body, context)
|
|
2376
|
+
};
|
|
2377
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2378
|
+
switch (errorCode) {
|
|
2379
|
+
case "AccessDeniedException":
|
|
2380
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
2381
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2382
|
+
case "ConflictException":
|
|
2383
|
+
case "com.amazonaws.devopsguru#ConflictException":
|
|
2384
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2385
|
+
case "InternalServerException":
|
|
2386
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
2387
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2388
|
+
case "ThrottlingException":
|
|
2389
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
2390
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2391
|
+
case "ValidationException":
|
|
2392
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
2393
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2394
|
+
default:
|
|
2395
|
+
const parsedBody = parsedOutput.body;
|
|
2396
|
+
return throwDefaultError({
|
|
2397
|
+
output,
|
|
2398
|
+
parsedBody,
|
|
2399
|
+
errorCode
|
|
2400
|
+
});
|
|
2401
|
+
}
|
|
2402
|
+
}, "de_UpdateServiceIntegrationCommandError");
|
|
2403
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(DevOpsGuruServiceException);
|
|
2404
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2405
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2406
|
+
const data = parsedOutput.body;
|
|
2407
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2408
|
+
Message: import_smithy_client.expectString
|
|
2409
|
+
});
|
|
2410
|
+
Object.assign(contents, doc);
|
|
2411
|
+
const exception = new AccessDeniedException({
|
|
2412
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2413
|
+
...contents
|
|
2414
|
+
});
|
|
2415
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2416
|
+
}, "de_AccessDeniedExceptionRes");
|
|
2417
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2418
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2419
|
+
const data = parsedOutput.body;
|
|
2420
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2421
|
+
Message: import_smithy_client.expectString,
|
|
2422
|
+
ResourceId: import_smithy_client.expectString,
|
|
2423
|
+
ResourceType: import_smithy_client.expectString
|
|
2424
|
+
});
|
|
2425
|
+
Object.assign(contents, doc);
|
|
2426
|
+
const exception = new ConflictException({
|
|
2427
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2428
|
+
...contents
|
|
2429
|
+
});
|
|
2430
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2431
|
+
}, "de_ConflictExceptionRes");
|
|
2432
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2433
|
+
const contents = (0, import_smithy_client.map)({
|
|
2434
|
+
[_RAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
2435
|
+
});
|
|
2436
|
+
const data = parsedOutput.body;
|
|
2437
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2438
|
+
Message: import_smithy_client.expectString
|
|
2439
|
+
});
|
|
2440
|
+
Object.assign(contents, doc);
|
|
2441
|
+
const exception = new InternalServerException({
|
|
2442
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2443
|
+
...contents
|
|
2444
|
+
});
|
|
2445
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2446
|
+
}, "de_InternalServerExceptionRes");
|
|
2447
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2448
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2449
|
+
const data = parsedOutput.body;
|
|
2450
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2451
|
+
Message: import_smithy_client.expectString,
|
|
2452
|
+
ResourceId: import_smithy_client.expectString,
|
|
2453
|
+
ResourceType: import_smithy_client.expectString
|
|
2454
|
+
});
|
|
2455
|
+
Object.assign(contents, doc);
|
|
2456
|
+
const exception = new ResourceNotFoundException({
|
|
2457
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2458
|
+
...contents
|
|
2459
|
+
});
|
|
2460
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2461
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
2462
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2463
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2464
|
+
const data = parsedOutput.body;
|
|
2465
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2466
|
+
Message: import_smithy_client.expectString
|
|
2467
|
+
});
|
|
2468
|
+
Object.assign(contents, doc);
|
|
2469
|
+
const exception = new ServiceQuotaExceededException({
|
|
2470
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2471
|
+
...contents
|
|
2472
|
+
});
|
|
2473
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2474
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
2475
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2476
|
+
const contents = (0, import_smithy_client.map)({
|
|
2477
|
+
[_RAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
2478
|
+
});
|
|
2479
|
+
const data = parsedOutput.body;
|
|
2480
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2481
|
+
Message: import_smithy_client.expectString,
|
|
2482
|
+
QuotaCode: import_smithy_client.expectString,
|
|
2483
|
+
ServiceCode: import_smithy_client.expectString
|
|
2484
|
+
});
|
|
2485
|
+
Object.assign(contents, doc);
|
|
2486
|
+
const exception = new ThrottlingException({
|
|
2487
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2488
|
+
...contents
|
|
2489
|
+
});
|
|
2490
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2491
|
+
}, "de_ThrottlingExceptionRes");
|
|
2492
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2493
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2494
|
+
const data = parsedOutput.body;
|
|
2495
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2496
|
+
Fields: import_smithy_client._json,
|
|
2497
|
+
Message: import_smithy_client.expectString,
|
|
2498
|
+
Reason: import_smithy_client.expectString
|
|
2499
|
+
});
|
|
2500
|
+
Object.assign(contents, doc);
|
|
2501
|
+
const exception = new ValidationException({
|
|
2502
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2503
|
+
...contents
|
|
2504
|
+
});
|
|
2505
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2506
|
+
}, "de_ValidationExceptionRes");
|
|
2507
|
+
var se_EndTimeRange = /* @__PURE__ */ __name((input, context) => {
|
|
2508
|
+
return (0, import_smithy_client.take)(input, {
|
|
2509
|
+
FromTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2510
|
+
ToTime: (_) => Math.round(_.getTime() / 1e3)
|
|
2511
|
+
});
|
|
2512
|
+
}, "se_EndTimeRange");
|
|
2513
|
+
var se_EventTimeRange = /* @__PURE__ */ __name((input, context) => {
|
|
2514
|
+
return (0, import_smithy_client.take)(input, {
|
|
2515
|
+
FromTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2516
|
+
ToTime: (_) => Math.round(_.getTime() / 1e3)
|
|
2517
|
+
});
|
|
2518
|
+
}, "se_EventTimeRange");
|
|
2519
|
+
var se_ListEventsFilters = /* @__PURE__ */ __name((input, context) => {
|
|
2520
|
+
return (0, import_smithy_client.take)(input, {
|
|
2521
|
+
DataSource: [],
|
|
2522
|
+
EventClass: [],
|
|
2523
|
+
EventSource: [],
|
|
2524
|
+
EventTimeRange: (_) => se_EventTimeRange(_, context),
|
|
2525
|
+
InsightId: [],
|
|
2526
|
+
ResourceCollection: import_smithy_client._json
|
|
2527
|
+
});
|
|
2528
|
+
}, "se_ListEventsFilters");
|
|
2529
|
+
var se_ListInsightsAnyStatusFilter = /* @__PURE__ */ __name((input, context) => {
|
|
2530
|
+
return (0, import_smithy_client.take)(input, {
|
|
2531
|
+
StartTimeRange: (_) => se_StartTimeRange(_, context),
|
|
2532
|
+
Type: []
|
|
2533
|
+
});
|
|
2534
|
+
}, "se_ListInsightsAnyStatusFilter");
|
|
2535
|
+
var se_ListInsightsClosedStatusFilter = /* @__PURE__ */ __name((input, context) => {
|
|
2536
|
+
return (0, import_smithy_client.take)(input, {
|
|
2537
|
+
EndTimeRange: (_) => se_EndTimeRange(_, context),
|
|
2538
|
+
Type: []
|
|
2539
|
+
});
|
|
2540
|
+
}, "se_ListInsightsClosedStatusFilter");
|
|
2541
|
+
var se_ListInsightsStatusFilter = /* @__PURE__ */ __name((input, context) => {
|
|
2542
|
+
return (0, import_smithy_client.take)(input, {
|
|
2543
|
+
Any: (_) => se_ListInsightsAnyStatusFilter(_, context),
|
|
2544
|
+
Closed: (_) => se_ListInsightsClosedStatusFilter(_, context),
|
|
2545
|
+
Ongoing: import_smithy_client._json
|
|
2546
|
+
});
|
|
2547
|
+
}, "se_ListInsightsStatusFilter");
|
|
2548
|
+
var se_StartTimeRange = /* @__PURE__ */ __name((input, context) => {
|
|
2549
|
+
return (0, import_smithy_client.take)(input, {
|
|
2550
|
+
FromTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2551
|
+
ToTime: (_) => Math.round(_.getTime() / 1e3)
|
|
2552
|
+
});
|
|
2553
|
+
}, "se_StartTimeRange");
|
|
2554
|
+
var de_AnomalousLogGroup = /* @__PURE__ */ __name((output, context) => {
|
|
2555
|
+
return (0, import_smithy_client.take)(output, {
|
|
2556
|
+
ImpactEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2557
|
+
ImpactStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2558
|
+
LogAnomalyShowcases: (_) => de_LogAnomalyShowcases(_, context),
|
|
2559
|
+
LogGroupName: import_smithy_client.expectString,
|
|
2560
|
+
NumberOfLogLinesScanned: import_smithy_client.expectInt32
|
|
2561
|
+
});
|
|
2562
|
+
}, "de_AnomalousLogGroup");
|
|
2563
|
+
var de_AnomalousLogGroups = /* @__PURE__ */ __name((output, context) => {
|
|
2564
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2565
|
+
return de_AnomalousLogGroup(entry, context);
|
|
2566
|
+
});
|
|
2567
|
+
return retVal;
|
|
2568
|
+
}, "de_AnomalousLogGroups");
|
|
2569
|
+
var de_AnomalyReportedTimeRange = /* @__PURE__ */ __name((output, context) => {
|
|
2570
|
+
return (0, import_smithy_client.take)(output, {
|
|
2571
|
+
CloseTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2572
|
+
OpenTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2573
|
+
});
|
|
2574
|
+
}, "de_AnomalyReportedTimeRange");
|
|
2575
|
+
var de_AnomalySourceDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2576
|
+
return (0, import_smithy_client.take)(output, {
|
|
2577
|
+
CloudWatchMetrics: (_) => de_CloudWatchMetricsDetails(_, context),
|
|
2578
|
+
PerformanceInsightsMetrics: (_) => de_PerformanceInsightsMetricsDetails(_, context)
|
|
2579
|
+
});
|
|
2580
|
+
}, "de_AnomalySourceDetails");
|
|
2581
|
+
var de_AnomalyTimeRange = /* @__PURE__ */ __name((output, context) => {
|
|
2582
|
+
return (0, import_smithy_client.take)(output, {
|
|
2583
|
+
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2584
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2585
|
+
});
|
|
2586
|
+
}, "de_AnomalyTimeRange");
|
|
2587
|
+
var de_CloudWatchMetricsDataSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2588
|
+
return (0, import_smithy_client.take)(output, {
|
|
2589
|
+
StatusCode: import_smithy_client.expectString,
|
|
2590
|
+
TimestampMetricValuePairList: (_) => de_TimestampMetricValuePairList(_, context)
|
|
2591
|
+
});
|
|
2592
|
+
}, "de_CloudWatchMetricsDataSummary");
|
|
2593
|
+
var de_CloudWatchMetricsDetail = /* @__PURE__ */ __name((output, context) => {
|
|
2594
|
+
return (0, import_smithy_client.take)(output, {
|
|
2595
|
+
Dimensions: import_smithy_client._json,
|
|
2596
|
+
MetricDataSummary: (_) => de_CloudWatchMetricsDataSummary(_, context),
|
|
2597
|
+
MetricName: import_smithy_client.expectString,
|
|
2598
|
+
Namespace: import_smithy_client.expectString,
|
|
2599
|
+
Period: import_smithy_client.expectInt32,
|
|
2600
|
+
Stat: import_smithy_client.expectString,
|
|
2601
|
+
Unit: import_smithy_client.expectString
|
|
2602
|
+
});
|
|
2603
|
+
}, "de_CloudWatchMetricsDetail");
|
|
2604
|
+
var de_CloudWatchMetricsDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2605
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2606
|
+
return de_CloudWatchMetricsDetail(entry, context);
|
|
2607
|
+
});
|
|
2608
|
+
return retVal;
|
|
2609
|
+
}, "de_CloudWatchMetricsDetails");
|
|
2610
|
+
var de_CostEstimationTimeRange = /* @__PURE__ */ __name((output, context) => {
|
|
2611
|
+
return (0, import_smithy_client.take)(output, {
|
|
2612
|
+
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2613
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2614
|
+
});
|
|
2615
|
+
}, "de_CostEstimationTimeRange");
|
|
2616
|
+
var de_Event = /* @__PURE__ */ __name((output, context) => {
|
|
2617
|
+
return (0, import_smithy_client.take)(output, {
|
|
2618
|
+
DataSource: import_smithy_client.expectString,
|
|
2619
|
+
EventClass: import_smithy_client.expectString,
|
|
2620
|
+
EventSource: import_smithy_client.expectString,
|
|
2621
|
+
Id: import_smithy_client.expectString,
|
|
2622
|
+
Name: import_smithy_client.expectString,
|
|
2623
|
+
ResourceCollection: import_smithy_client._json,
|
|
2624
|
+
Resources: import_smithy_client._json,
|
|
2625
|
+
Time: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2626
|
+
});
|
|
2627
|
+
}, "de_Event");
|
|
2628
|
+
var de_Events = /* @__PURE__ */ __name((output, context) => {
|
|
2629
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2630
|
+
return de_Event(entry, context);
|
|
2631
|
+
});
|
|
2632
|
+
return retVal;
|
|
2633
|
+
}, "de_Events");
|
|
2634
|
+
var de_InsightTimeRange = /* @__PURE__ */ __name((output, context) => {
|
|
2635
|
+
return (0, import_smithy_client.take)(output, {
|
|
2636
|
+
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2637
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2638
|
+
});
|
|
2639
|
+
}, "de_InsightTimeRange");
|
|
2640
|
+
var de_LogAnomalyClass = /* @__PURE__ */ __name((output, context) => {
|
|
2641
|
+
return (0, import_smithy_client.take)(output, {
|
|
2642
|
+
Explanation: import_smithy_client.expectString,
|
|
2643
|
+
LogAnomalyToken: import_smithy_client.expectString,
|
|
2644
|
+
LogAnomalyType: import_smithy_client.expectString,
|
|
2645
|
+
LogEventId: import_smithy_client.expectString,
|
|
2646
|
+
LogEventTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2647
|
+
LogStreamName: import_smithy_client.expectString,
|
|
2648
|
+
NumberOfLogLinesOccurrences: import_smithy_client.expectInt32
|
|
2649
|
+
});
|
|
2650
|
+
}, "de_LogAnomalyClass");
|
|
2651
|
+
var de_LogAnomalyClasses = /* @__PURE__ */ __name((output, context) => {
|
|
2652
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2653
|
+
return de_LogAnomalyClass(entry, context);
|
|
2654
|
+
});
|
|
2655
|
+
return retVal;
|
|
2656
|
+
}, "de_LogAnomalyClasses");
|
|
2657
|
+
var de_LogAnomalyShowcase = /* @__PURE__ */ __name((output, context) => {
|
|
2658
|
+
return (0, import_smithy_client.take)(output, {
|
|
2659
|
+
LogAnomalyClasses: (_) => de_LogAnomalyClasses(_, context)
|
|
2660
|
+
});
|
|
2661
|
+
}, "de_LogAnomalyShowcase");
|
|
2662
|
+
var de_LogAnomalyShowcases = /* @__PURE__ */ __name((output, context) => {
|
|
2663
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2664
|
+
return de_LogAnomalyShowcase(entry, context);
|
|
2665
|
+
});
|
|
2666
|
+
return retVal;
|
|
2667
|
+
}, "de_LogAnomalyShowcases");
|
|
2668
|
+
var de_MonitoredResourceIdentifier = /* @__PURE__ */ __name((output, context) => {
|
|
2669
|
+
return (0, import_smithy_client.take)(output, {
|
|
2670
|
+
LastUpdated: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2671
|
+
MonitoredResourceName: import_smithy_client.expectString,
|
|
2672
|
+
ResourceCollection: import_smithy_client._json,
|
|
2673
|
+
ResourcePermission: import_smithy_client.expectString,
|
|
2674
|
+
Type: import_smithy_client.expectString
|
|
2675
|
+
});
|
|
2676
|
+
}, "de_MonitoredResourceIdentifier");
|
|
2677
|
+
var de_MonitoredResourceIdentifiers = /* @__PURE__ */ __name((output, context) => {
|
|
2678
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2679
|
+
return de_MonitoredResourceIdentifier(entry, context);
|
|
2680
|
+
});
|
|
2681
|
+
return retVal;
|
|
2682
|
+
}, "de_MonitoredResourceIdentifiers");
|
|
2683
|
+
var de_PerformanceInsightsMetricsDetail = /* @__PURE__ */ __name((output, context) => {
|
|
2684
|
+
return (0, import_smithy_client.take)(output, {
|
|
2685
|
+
MetricDisplayName: import_smithy_client.expectString,
|
|
2686
|
+
MetricQuery: import_smithy_client._json,
|
|
2687
|
+
ReferenceData: (_) => de_PerformanceInsightsReferenceDataList(_, context),
|
|
2688
|
+
StatsAtAnomaly: (_) => de_PerformanceInsightsStats(_, context),
|
|
2689
|
+
StatsAtBaseline: (_) => de_PerformanceInsightsStats(_, context),
|
|
2690
|
+
Unit: import_smithy_client.expectString
|
|
2691
|
+
});
|
|
2692
|
+
}, "de_PerformanceInsightsMetricsDetail");
|
|
2693
|
+
var de_PerformanceInsightsMetricsDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2694
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2695
|
+
return de_PerformanceInsightsMetricsDetail(entry, context);
|
|
2696
|
+
});
|
|
2697
|
+
return retVal;
|
|
2698
|
+
}, "de_PerformanceInsightsMetricsDetails");
|
|
2699
|
+
var de_PerformanceInsightsReferenceComparisonValues = /* @__PURE__ */ __name((output, context) => {
|
|
2700
|
+
return (0, import_smithy_client.take)(output, {
|
|
2701
|
+
ReferenceMetric: import_smithy_client._json,
|
|
2702
|
+
ReferenceScalar: (_) => de_PerformanceInsightsReferenceScalar(_, context)
|
|
2703
|
+
});
|
|
2704
|
+
}, "de_PerformanceInsightsReferenceComparisonValues");
|
|
2705
|
+
var de_PerformanceInsightsReferenceData = /* @__PURE__ */ __name((output, context) => {
|
|
2706
|
+
return (0, import_smithy_client.take)(output, {
|
|
2707
|
+
ComparisonValues: (_) => de_PerformanceInsightsReferenceComparisonValues(_, context),
|
|
2708
|
+
Name: import_smithy_client.expectString
|
|
2709
|
+
});
|
|
2710
|
+
}, "de_PerformanceInsightsReferenceData");
|
|
2711
|
+
var de_PerformanceInsightsReferenceDataList = /* @__PURE__ */ __name((output, context) => {
|
|
2712
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2713
|
+
return de_PerformanceInsightsReferenceData(entry, context);
|
|
2714
|
+
});
|
|
2715
|
+
return retVal;
|
|
2716
|
+
}, "de_PerformanceInsightsReferenceDataList");
|
|
2717
|
+
var de_PerformanceInsightsReferenceScalar = /* @__PURE__ */ __name((output, context) => {
|
|
2718
|
+
return (0, import_smithy_client.take)(output, {
|
|
2719
|
+
Value: import_smithy_client.limitedParseDouble
|
|
2720
|
+
});
|
|
2721
|
+
}, "de_PerformanceInsightsReferenceScalar");
|
|
2722
|
+
var de_PerformanceInsightsStat = /* @__PURE__ */ __name((output, context) => {
|
|
2723
|
+
return (0, import_smithy_client.take)(output, {
|
|
2724
|
+
Type: import_smithy_client.expectString,
|
|
2725
|
+
Value: import_smithy_client.limitedParseDouble
|
|
2726
|
+
});
|
|
2727
|
+
}, "de_PerformanceInsightsStat");
|
|
2728
|
+
var de_PerformanceInsightsStats = /* @__PURE__ */ __name((output, context) => {
|
|
2729
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2730
|
+
return de_PerformanceInsightsStat(entry, context);
|
|
2731
|
+
});
|
|
2732
|
+
return retVal;
|
|
2733
|
+
}, "de_PerformanceInsightsStats");
|
|
2734
|
+
var de_PredictionTimeRange = /* @__PURE__ */ __name((output, context) => {
|
|
2735
|
+
return (0, import_smithy_client.take)(output, {
|
|
2736
|
+
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2737
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2738
|
+
});
|
|
2739
|
+
}, "de_PredictionTimeRange");
|
|
2740
|
+
var de_ProactiveAnomalies = /* @__PURE__ */ __name((output, context) => {
|
|
2741
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2742
|
+
return de_ProactiveAnomalySummary(entry, context);
|
|
2743
|
+
});
|
|
2744
|
+
return retVal;
|
|
2745
|
+
}, "de_ProactiveAnomalies");
|
|
2746
|
+
var de_ProactiveAnomaly = /* @__PURE__ */ __name((output, context) => {
|
|
2747
|
+
return (0, import_smithy_client.take)(output, {
|
|
2748
|
+
AnomalyReportedTimeRange: (_) => de_AnomalyReportedTimeRange(_, context),
|
|
2749
|
+
AnomalyResources: import_smithy_client._json,
|
|
2750
|
+
AnomalyTimeRange: (_) => de_AnomalyTimeRange(_, context),
|
|
2751
|
+
AssociatedInsightId: import_smithy_client.expectString,
|
|
2752
|
+
Description: import_smithy_client.expectString,
|
|
2753
|
+
Id: import_smithy_client.expectString,
|
|
2754
|
+
Limit: import_smithy_client.limitedParseDouble,
|
|
2755
|
+
PredictionTimeRange: (_) => de_PredictionTimeRange(_, context),
|
|
2756
|
+
ResourceCollection: import_smithy_client._json,
|
|
2757
|
+
Severity: import_smithy_client.expectString,
|
|
2758
|
+
SourceDetails: (_) => de_AnomalySourceDetails(_, context),
|
|
2759
|
+
SourceMetadata: import_smithy_client._json,
|
|
2760
|
+
Status: import_smithy_client.expectString,
|
|
2761
|
+
UpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2762
|
+
});
|
|
2763
|
+
}, "de_ProactiveAnomaly");
|
|
2764
|
+
var de_ProactiveAnomalySummary = /* @__PURE__ */ __name((output, context) => {
|
|
2765
|
+
return (0, import_smithy_client.take)(output, {
|
|
2766
|
+
AnomalyReportedTimeRange: (_) => de_AnomalyReportedTimeRange(_, context),
|
|
2767
|
+
AnomalyResources: import_smithy_client._json,
|
|
2768
|
+
AnomalyTimeRange: (_) => de_AnomalyTimeRange(_, context),
|
|
2769
|
+
AssociatedInsightId: import_smithy_client.expectString,
|
|
2770
|
+
Description: import_smithy_client.expectString,
|
|
2771
|
+
Id: import_smithy_client.expectString,
|
|
2772
|
+
Limit: import_smithy_client.limitedParseDouble,
|
|
2773
|
+
PredictionTimeRange: (_) => de_PredictionTimeRange(_, context),
|
|
2774
|
+
ResourceCollection: import_smithy_client._json,
|
|
2775
|
+
Severity: import_smithy_client.expectString,
|
|
2776
|
+
SourceDetails: (_) => de_AnomalySourceDetails(_, context),
|
|
2777
|
+
SourceMetadata: import_smithy_client._json,
|
|
2778
|
+
Status: import_smithy_client.expectString,
|
|
2779
|
+
UpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2780
|
+
});
|
|
2781
|
+
}, "de_ProactiveAnomalySummary");
|
|
2782
|
+
var de_ProactiveInsight = /* @__PURE__ */ __name((output, context) => {
|
|
2783
|
+
return (0, import_smithy_client.take)(output, {
|
|
2784
|
+
Description: import_smithy_client.expectString,
|
|
2785
|
+
Id: import_smithy_client.expectString,
|
|
2786
|
+
InsightTimeRange: (_) => de_InsightTimeRange(_, context),
|
|
2787
|
+
Name: import_smithy_client.expectString,
|
|
2788
|
+
PredictionTimeRange: (_) => de_PredictionTimeRange(_, context),
|
|
2789
|
+
ResourceCollection: import_smithy_client._json,
|
|
2790
|
+
Severity: import_smithy_client.expectString,
|
|
2791
|
+
SsmOpsItemId: import_smithy_client.expectString,
|
|
2792
|
+
Status: import_smithy_client.expectString
|
|
2793
|
+
});
|
|
2794
|
+
}, "de_ProactiveInsight");
|
|
2795
|
+
var de_ProactiveInsights = /* @__PURE__ */ __name((output, context) => {
|
|
2796
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2797
|
+
return de_ProactiveInsightSummary(entry, context);
|
|
2798
|
+
});
|
|
2799
|
+
return retVal;
|
|
2800
|
+
}, "de_ProactiveInsights");
|
|
2801
|
+
var de_ProactiveInsightSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2802
|
+
return (0, import_smithy_client.take)(output, {
|
|
2803
|
+
AssociatedResourceArns: import_smithy_client._json,
|
|
2804
|
+
Id: import_smithy_client.expectString,
|
|
2805
|
+
InsightTimeRange: (_) => de_InsightTimeRange(_, context),
|
|
2806
|
+
Name: import_smithy_client.expectString,
|
|
2807
|
+
PredictionTimeRange: (_) => de_PredictionTimeRange(_, context),
|
|
2808
|
+
ResourceCollection: import_smithy_client._json,
|
|
2809
|
+
ServiceCollection: import_smithy_client._json,
|
|
2810
|
+
Severity: import_smithy_client.expectString,
|
|
2811
|
+
Status: import_smithy_client.expectString
|
|
2812
|
+
});
|
|
2813
|
+
}, "de_ProactiveInsightSummary");
|
|
2814
|
+
var de_ProactiveOrganizationInsights = /* @__PURE__ */ __name((output, context) => {
|
|
2815
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2816
|
+
return de_ProactiveOrganizationInsightSummary(entry, context);
|
|
2817
|
+
});
|
|
2818
|
+
return retVal;
|
|
2819
|
+
}, "de_ProactiveOrganizationInsights");
|
|
2820
|
+
var de_ProactiveOrganizationInsightSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2821
|
+
return (0, import_smithy_client.take)(output, {
|
|
2822
|
+
AccountId: import_smithy_client.expectString,
|
|
2823
|
+
Id: import_smithy_client.expectString,
|
|
2824
|
+
InsightTimeRange: (_) => de_InsightTimeRange(_, context),
|
|
2825
|
+
Name: import_smithy_client.expectString,
|
|
2826
|
+
OrganizationalUnitId: import_smithy_client.expectString,
|
|
2827
|
+
PredictionTimeRange: (_) => de_PredictionTimeRange(_, context),
|
|
2828
|
+
ResourceCollection: import_smithy_client._json,
|
|
2829
|
+
ServiceCollection: import_smithy_client._json,
|
|
2830
|
+
Severity: import_smithy_client.expectString,
|
|
2831
|
+
Status: import_smithy_client.expectString
|
|
2832
|
+
});
|
|
2833
|
+
}, "de_ProactiveOrganizationInsightSummary");
|
|
2834
|
+
var de_ReactiveAnomalies = /* @__PURE__ */ __name((output, context) => {
|
|
2835
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2836
|
+
return de_ReactiveAnomalySummary(entry, context);
|
|
2837
|
+
});
|
|
2838
|
+
return retVal;
|
|
2839
|
+
}, "de_ReactiveAnomalies");
|
|
2840
|
+
var de_ReactiveAnomaly = /* @__PURE__ */ __name((output, context) => {
|
|
2841
|
+
return (0, import_smithy_client.take)(output, {
|
|
2842
|
+
AnomalyReportedTimeRange: (_) => de_AnomalyReportedTimeRange(_, context),
|
|
2843
|
+
AnomalyResources: import_smithy_client._json,
|
|
2844
|
+
AnomalyTimeRange: (_) => de_AnomalyTimeRange(_, context),
|
|
2845
|
+
AssociatedInsightId: import_smithy_client.expectString,
|
|
2846
|
+
CausalAnomalyId: import_smithy_client.expectString,
|
|
2847
|
+
Description: import_smithy_client.expectString,
|
|
2848
|
+
Id: import_smithy_client.expectString,
|
|
2849
|
+
Name: import_smithy_client.expectString,
|
|
2850
|
+
ResourceCollection: import_smithy_client._json,
|
|
2851
|
+
Severity: import_smithy_client.expectString,
|
|
2852
|
+
SourceDetails: (_) => de_AnomalySourceDetails(_, context),
|
|
2853
|
+
Status: import_smithy_client.expectString,
|
|
2854
|
+
Type: import_smithy_client.expectString
|
|
2855
|
+
});
|
|
2856
|
+
}, "de_ReactiveAnomaly");
|
|
2857
|
+
var de_ReactiveAnomalySummary = /* @__PURE__ */ __name((output, context) => {
|
|
2858
|
+
return (0, import_smithy_client.take)(output, {
|
|
2859
|
+
AnomalyReportedTimeRange: (_) => de_AnomalyReportedTimeRange(_, context),
|
|
2860
|
+
AnomalyResources: import_smithy_client._json,
|
|
2861
|
+
AnomalyTimeRange: (_) => de_AnomalyTimeRange(_, context),
|
|
2862
|
+
AssociatedInsightId: import_smithy_client.expectString,
|
|
2863
|
+
CausalAnomalyId: import_smithy_client.expectString,
|
|
2864
|
+
Description: import_smithy_client.expectString,
|
|
2865
|
+
Id: import_smithy_client.expectString,
|
|
2866
|
+
Name: import_smithy_client.expectString,
|
|
2867
|
+
ResourceCollection: import_smithy_client._json,
|
|
2868
|
+
Severity: import_smithy_client.expectString,
|
|
2869
|
+
SourceDetails: (_) => de_AnomalySourceDetails(_, context),
|
|
2870
|
+
Status: import_smithy_client.expectString,
|
|
2871
|
+
Type: import_smithy_client.expectString
|
|
2872
|
+
});
|
|
2873
|
+
}, "de_ReactiveAnomalySummary");
|
|
2874
|
+
var de_ReactiveInsight = /* @__PURE__ */ __name((output, context) => {
|
|
2875
|
+
return (0, import_smithy_client.take)(output, {
|
|
2876
|
+
Description: import_smithy_client.expectString,
|
|
2877
|
+
Id: import_smithy_client.expectString,
|
|
2878
|
+
InsightTimeRange: (_) => de_InsightTimeRange(_, context),
|
|
2879
|
+
Name: import_smithy_client.expectString,
|
|
2880
|
+
ResourceCollection: import_smithy_client._json,
|
|
2881
|
+
Severity: import_smithy_client.expectString,
|
|
2882
|
+
SsmOpsItemId: import_smithy_client.expectString,
|
|
2883
|
+
Status: import_smithy_client.expectString
|
|
2884
|
+
});
|
|
2885
|
+
}, "de_ReactiveInsight");
|
|
2886
|
+
var de_ReactiveInsights = /* @__PURE__ */ __name((output, context) => {
|
|
2887
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2888
|
+
return de_ReactiveInsightSummary(entry, context);
|
|
2889
|
+
});
|
|
2890
|
+
return retVal;
|
|
2891
|
+
}, "de_ReactiveInsights");
|
|
2892
|
+
var de_ReactiveInsightSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2893
|
+
return (0, import_smithy_client.take)(output, {
|
|
2894
|
+
AssociatedResourceArns: import_smithy_client._json,
|
|
2895
|
+
Id: import_smithy_client.expectString,
|
|
2896
|
+
InsightTimeRange: (_) => de_InsightTimeRange(_, context),
|
|
2897
|
+
Name: import_smithy_client.expectString,
|
|
2898
|
+
ResourceCollection: import_smithy_client._json,
|
|
2899
|
+
ServiceCollection: import_smithy_client._json,
|
|
2900
|
+
Severity: import_smithy_client.expectString,
|
|
2901
|
+
Status: import_smithy_client.expectString
|
|
2902
|
+
});
|
|
2903
|
+
}, "de_ReactiveInsightSummary");
|
|
2904
|
+
var de_ReactiveOrganizationInsights = /* @__PURE__ */ __name((output, context) => {
|
|
2905
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2906
|
+
return de_ReactiveOrganizationInsightSummary(entry, context);
|
|
2907
|
+
});
|
|
2908
|
+
return retVal;
|
|
2909
|
+
}, "de_ReactiveOrganizationInsights");
|
|
2910
|
+
var de_ReactiveOrganizationInsightSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2911
|
+
return (0, import_smithy_client.take)(output, {
|
|
2912
|
+
AccountId: import_smithy_client.expectString,
|
|
2913
|
+
Id: import_smithy_client.expectString,
|
|
2914
|
+
InsightTimeRange: (_) => de_InsightTimeRange(_, context),
|
|
2915
|
+
Name: import_smithy_client.expectString,
|
|
2916
|
+
OrganizationalUnitId: import_smithy_client.expectString,
|
|
2917
|
+
ResourceCollection: import_smithy_client._json,
|
|
2918
|
+
ServiceCollection: import_smithy_client._json,
|
|
2919
|
+
Severity: import_smithy_client.expectString,
|
|
2920
|
+
Status: import_smithy_client.expectString
|
|
2921
|
+
});
|
|
2922
|
+
}, "de_ReactiveOrganizationInsightSummary");
|
|
2923
|
+
var de_ServiceResourceCost = /* @__PURE__ */ __name((output, context) => {
|
|
2924
|
+
return (0, import_smithy_client.take)(output, {
|
|
2925
|
+
Cost: import_smithy_client.limitedParseDouble,
|
|
2926
|
+
Count: import_smithy_client.expectInt32,
|
|
2927
|
+
State: import_smithy_client.expectString,
|
|
2928
|
+
Type: import_smithy_client.expectString,
|
|
2929
|
+
UnitCost: import_smithy_client.limitedParseDouble
|
|
2930
|
+
});
|
|
2931
|
+
}, "de_ServiceResourceCost");
|
|
2932
|
+
var de_ServiceResourceCosts = /* @__PURE__ */ __name((output, context) => {
|
|
2933
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2934
|
+
return de_ServiceResourceCost(entry, context);
|
|
2935
|
+
});
|
|
2936
|
+
return retVal;
|
|
2937
|
+
}, "de_ServiceResourceCosts");
|
|
2938
|
+
var de_TimestampMetricValuePair = /* @__PURE__ */ __name((output, context) => {
|
|
2939
|
+
return (0, import_smithy_client.take)(output, {
|
|
2940
|
+
MetricValue: import_smithy_client.limitedParseDouble,
|
|
2941
|
+
Timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2942
|
+
});
|
|
2943
|
+
}, "de_TimestampMetricValuePair");
|
|
2944
|
+
var de_TimestampMetricValuePairList = /* @__PURE__ */ __name((output, context) => {
|
|
2945
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2946
|
+
return de_TimestampMetricValuePair(entry, context);
|
|
2947
|
+
});
|
|
2948
|
+
return retVal;
|
|
2949
|
+
}, "de_TimestampMetricValuePairList");
|
|
2950
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2951
|
+
httpStatusCode: output.statusCode,
|
|
2952
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2953
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2954
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2955
|
+
}), "deserializeMetadata");
|
|
2956
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2957
|
+
var _AI = "AccountId";
|
|
2958
|
+
var _NT = "NextToken";
|
|
2959
|
+
var _RAS = "RetryAfterSeconds";
|
|
2960
|
+
var _ra = "retry-after";
|
|
2961
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2962
|
+
if (encoded.length) {
|
|
2963
|
+
return JSON.parse(encoded);
|
|
2964
|
+
}
|
|
2965
|
+
return {};
|
|
2966
|
+
}), "parseBody");
|
|
2967
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2968
|
+
const value = await parseBody(errorBody, context);
|
|
2969
|
+
value.message = value.message ?? value.Message;
|
|
2970
|
+
return value;
|
|
2971
|
+
}, "parseErrorBody");
|
|
2972
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2973
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2974
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2975
|
+
let cleanValue = rawValue;
|
|
2976
|
+
if (typeof cleanValue === "number") {
|
|
2977
|
+
cleanValue = cleanValue.toString();
|
|
2978
|
+
}
|
|
2979
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2980
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2981
|
+
}
|
|
2982
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2983
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2984
|
+
}
|
|
2985
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2986
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2987
|
+
}
|
|
2988
|
+
return cleanValue;
|
|
2989
|
+
}, "sanitizeErrorCode");
|
|
2990
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2991
|
+
if (headerKey !== void 0) {
|
|
2992
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2993
|
+
}
|
|
2994
|
+
if (data.code !== void 0) {
|
|
2995
|
+
return sanitizeErrorCode(data.code);
|
|
2996
|
+
}
|
|
2997
|
+
if (data["__type"] !== void 0) {
|
|
2998
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2999
|
+
}
|
|
3000
|
+
}, "loadRestJsonErrorCode");
|
|
3001
|
+
|
|
3002
|
+
// src/commands/AddNotificationChannelCommand.ts
|
|
3003
|
+
var _AddNotificationChannelCommand = class _AddNotificationChannelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3004
|
+
...commonParams
|
|
3005
|
+
}).m(function(Command, cs, config, o) {
|
|
3006
|
+
return [
|
|
3007
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3008
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3009
|
+
];
|
|
3010
|
+
}).s("CapstoneControlPlaneService", "AddNotificationChannel", {}).n("DevOpsGuruClient", "AddNotificationChannelCommand").f(void 0, void 0).ser(se_AddNotificationChannelCommand).de(de_AddNotificationChannelCommand).build() {
|
|
3011
|
+
};
|
|
3012
|
+
__name(_AddNotificationChannelCommand, "AddNotificationChannelCommand");
|
|
3013
|
+
var AddNotificationChannelCommand = _AddNotificationChannelCommand;
|
|
3014
|
+
|
|
3015
|
+
// src/commands/DeleteInsightCommand.ts
|
|
3016
|
+
|
|
3017
|
+
|
|
3018
|
+
|
|
3019
|
+
|
|
3020
|
+
var _DeleteInsightCommand = class _DeleteInsightCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3021
|
+
...commonParams
|
|
3022
|
+
}).m(function(Command, cs, config, o) {
|
|
3023
|
+
return [
|
|
3024
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3025
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3026
|
+
];
|
|
3027
|
+
}).s("CapstoneControlPlaneService", "DeleteInsight", {}).n("DevOpsGuruClient", "DeleteInsightCommand").f(void 0, void 0).ser(se_DeleteInsightCommand).de(de_DeleteInsightCommand).build() {
|
|
3028
|
+
};
|
|
3029
|
+
__name(_DeleteInsightCommand, "DeleteInsightCommand");
|
|
3030
|
+
var DeleteInsightCommand = _DeleteInsightCommand;
|
|
3031
|
+
|
|
3032
|
+
// src/commands/DescribeAccountHealthCommand.ts
|
|
3033
|
+
|
|
3034
|
+
|
|
3035
|
+
|
|
3036
|
+
|
|
3037
|
+
var _DescribeAccountHealthCommand = class _DescribeAccountHealthCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3038
|
+
...commonParams
|
|
3039
|
+
}).m(function(Command, cs, config, o) {
|
|
3040
|
+
return [
|
|
3041
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3042
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3043
|
+
];
|
|
3044
|
+
}).s("CapstoneControlPlaneService", "DescribeAccountHealth", {}).n("DevOpsGuruClient", "DescribeAccountHealthCommand").f(void 0, void 0).ser(se_DescribeAccountHealthCommand).de(de_DescribeAccountHealthCommand).build() {
|
|
3045
|
+
};
|
|
3046
|
+
__name(_DescribeAccountHealthCommand, "DescribeAccountHealthCommand");
|
|
3047
|
+
var DescribeAccountHealthCommand = _DescribeAccountHealthCommand;
|
|
3048
|
+
|
|
3049
|
+
// src/commands/DescribeAccountOverviewCommand.ts
|
|
3050
|
+
|
|
3051
|
+
|
|
3052
|
+
|
|
3053
|
+
|
|
3054
|
+
var _DescribeAccountOverviewCommand = class _DescribeAccountOverviewCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3055
|
+
...commonParams
|
|
3056
|
+
}).m(function(Command, cs, config, o) {
|
|
3057
|
+
return [
|
|
3058
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3059
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3060
|
+
];
|
|
3061
|
+
}).s("CapstoneControlPlaneService", "DescribeAccountOverview", {}).n("DevOpsGuruClient", "DescribeAccountOverviewCommand").f(void 0, void 0).ser(se_DescribeAccountOverviewCommand).de(de_DescribeAccountOverviewCommand).build() {
|
|
3062
|
+
};
|
|
3063
|
+
__name(_DescribeAccountOverviewCommand, "DescribeAccountOverviewCommand");
|
|
3064
|
+
var DescribeAccountOverviewCommand = _DescribeAccountOverviewCommand;
|
|
3065
|
+
|
|
3066
|
+
// src/commands/DescribeAnomalyCommand.ts
|
|
3067
|
+
|
|
3068
|
+
|
|
3069
|
+
|
|
3070
|
+
|
|
3071
|
+
var _DescribeAnomalyCommand = class _DescribeAnomalyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3072
|
+
...commonParams
|
|
3073
|
+
}).m(function(Command, cs, config, o) {
|
|
3074
|
+
return [
|
|
3075
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3076
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3077
|
+
];
|
|
3078
|
+
}).s("CapstoneControlPlaneService", "DescribeAnomaly", {}).n("DevOpsGuruClient", "DescribeAnomalyCommand").f(void 0, void 0).ser(se_DescribeAnomalyCommand).de(de_DescribeAnomalyCommand).build() {
|
|
3079
|
+
};
|
|
3080
|
+
__name(_DescribeAnomalyCommand, "DescribeAnomalyCommand");
|
|
3081
|
+
var DescribeAnomalyCommand = _DescribeAnomalyCommand;
|
|
3082
|
+
|
|
3083
|
+
// src/commands/DescribeEventSourcesConfigCommand.ts
|
|
3084
|
+
|
|
3085
|
+
|
|
3086
|
+
|
|
3087
|
+
|
|
3088
|
+
var _DescribeEventSourcesConfigCommand = class _DescribeEventSourcesConfigCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3089
|
+
...commonParams
|
|
3090
|
+
}).m(function(Command, cs, config, o) {
|
|
3091
|
+
return [
|
|
3092
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3093
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3094
|
+
];
|
|
3095
|
+
}).s("CapstoneControlPlaneService", "DescribeEventSourcesConfig", {}).n("DevOpsGuruClient", "DescribeEventSourcesConfigCommand").f(void 0, void 0).ser(se_DescribeEventSourcesConfigCommand).de(de_DescribeEventSourcesConfigCommand).build() {
|
|
3096
|
+
};
|
|
3097
|
+
__name(_DescribeEventSourcesConfigCommand, "DescribeEventSourcesConfigCommand");
|
|
3098
|
+
var DescribeEventSourcesConfigCommand = _DescribeEventSourcesConfigCommand;
|
|
3099
|
+
|
|
3100
|
+
// src/commands/DescribeFeedbackCommand.ts
|
|
3101
|
+
|
|
3102
|
+
|
|
3103
|
+
|
|
3104
|
+
|
|
3105
|
+
var _DescribeFeedbackCommand = class _DescribeFeedbackCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3106
|
+
...commonParams
|
|
3107
|
+
}).m(function(Command, cs, config, o) {
|
|
3108
|
+
return [
|
|
3109
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3110
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3111
|
+
];
|
|
3112
|
+
}).s("CapstoneControlPlaneService", "DescribeFeedback", {}).n("DevOpsGuruClient", "DescribeFeedbackCommand").f(void 0, void 0).ser(se_DescribeFeedbackCommand).de(de_DescribeFeedbackCommand).build() {
|
|
3113
|
+
};
|
|
3114
|
+
__name(_DescribeFeedbackCommand, "DescribeFeedbackCommand");
|
|
3115
|
+
var DescribeFeedbackCommand = _DescribeFeedbackCommand;
|
|
3116
|
+
|
|
3117
|
+
// src/commands/DescribeInsightCommand.ts
|
|
3118
|
+
|
|
3119
|
+
|
|
3120
|
+
|
|
3121
|
+
|
|
3122
|
+
var _DescribeInsightCommand = class _DescribeInsightCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3123
|
+
...commonParams
|
|
3124
|
+
}).m(function(Command, cs, config, o) {
|
|
3125
|
+
return [
|
|
3126
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3127
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3128
|
+
];
|
|
3129
|
+
}).s("CapstoneControlPlaneService", "DescribeInsight", {}).n("DevOpsGuruClient", "DescribeInsightCommand").f(void 0, void 0).ser(se_DescribeInsightCommand).de(de_DescribeInsightCommand).build() {
|
|
3130
|
+
};
|
|
3131
|
+
__name(_DescribeInsightCommand, "DescribeInsightCommand");
|
|
3132
|
+
var DescribeInsightCommand = _DescribeInsightCommand;
|
|
3133
|
+
|
|
3134
|
+
// src/commands/DescribeOrganizationHealthCommand.ts
|
|
3135
|
+
|
|
3136
|
+
|
|
3137
|
+
|
|
3138
|
+
|
|
3139
|
+
var _DescribeOrganizationHealthCommand = class _DescribeOrganizationHealthCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3140
|
+
...commonParams
|
|
3141
|
+
}).m(function(Command, cs, config, o) {
|
|
3142
|
+
return [
|
|
3143
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3144
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3145
|
+
];
|
|
3146
|
+
}).s("CapstoneControlPlaneService", "DescribeOrganizationHealth", {}).n("DevOpsGuruClient", "DescribeOrganizationHealthCommand").f(void 0, void 0).ser(se_DescribeOrganizationHealthCommand).de(de_DescribeOrganizationHealthCommand).build() {
|
|
3147
|
+
};
|
|
3148
|
+
__name(_DescribeOrganizationHealthCommand, "DescribeOrganizationHealthCommand");
|
|
3149
|
+
var DescribeOrganizationHealthCommand = _DescribeOrganizationHealthCommand;
|
|
3150
|
+
|
|
3151
|
+
// src/commands/DescribeOrganizationOverviewCommand.ts
|
|
3152
|
+
|
|
3153
|
+
|
|
3154
|
+
|
|
3155
|
+
|
|
3156
|
+
var _DescribeOrganizationOverviewCommand = class _DescribeOrganizationOverviewCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3157
|
+
...commonParams
|
|
3158
|
+
}).m(function(Command, cs, config, o) {
|
|
3159
|
+
return [
|
|
3160
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3161
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3162
|
+
];
|
|
3163
|
+
}).s("CapstoneControlPlaneService", "DescribeOrganizationOverview", {}).n("DevOpsGuruClient", "DescribeOrganizationOverviewCommand").f(void 0, void 0).ser(se_DescribeOrganizationOverviewCommand).de(de_DescribeOrganizationOverviewCommand).build() {
|
|
3164
|
+
};
|
|
3165
|
+
__name(_DescribeOrganizationOverviewCommand, "DescribeOrganizationOverviewCommand");
|
|
3166
|
+
var DescribeOrganizationOverviewCommand = _DescribeOrganizationOverviewCommand;
|
|
3167
|
+
|
|
3168
|
+
// src/commands/DescribeOrganizationResourceCollectionHealthCommand.ts
|
|
3169
|
+
|
|
3170
|
+
|
|
3171
|
+
|
|
3172
|
+
|
|
3173
|
+
var _DescribeOrganizationResourceCollectionHealthCommand = class _DescribeOrganizationResourceCollectionHealthCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3174
|
+
...commonParams
|
|
3175
|
+
}).m(function(Command, cs, config, o) {
|
|
3176
|
+
return [
|
|
3177
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3178
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3179
|
+
];
|
|
3180
|
+
}).s("CapstoneControlPlaneService", "DescribeOrganizationResourceCollectionHealth", {}).n("DevOpsGuruClient", "DescribeOrganizationResourceCollectionHealthCommand").f(void 0, void 0).ser(se_DescribeOrganizationResourceCollectionHealthCommand).de(de_DescribeOrganizationResourceCollectionHealthCommand).build() {
|
|
3181
|
+
};
|
|
3182
|
+
__name(_DescribeOrganizationResourceCollectionHealthCommand, "DescribeOrganizationResourceCollectionHealthCommand");
|
|
3183
|
+
var DescribeOrganizationResourceCollectionHealthCommand = _DescribeOrganizationResourceCollectionHealthCommand;
|
|
3184
|
+
|
|
3185
|
+
// src/commands/DescribeResourceCollectionHealthCommand.ts
|
|
3186
|
+
|
|
3187
|
+
|
|
3188
|
+
|
|
3189
|
+
|
|
3190
|
+
var _DescribeResourceCollectionHealthCommand = class _DescribeResourceCollectionHealthCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3191
|
+
...commonParams
|
|
3192
|
+
}).m(function(Command, cs, config, o) {
|
|
3193
|
+
return [
|
|
3194
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3195
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3196
|
+
];
|
|
3197
|
+
}).s("CapstoneControlPlaneService", "DescribeResourceCollectionHealth", {}).n("DevOpsGuruClient", "DescribeResourceCollectionHealthCommand").f(void 0, void 0).ser(se_DescribeResourceCollectionHealthCommand).de(de_DescribeResourceCollectionHealthCommand).build() {
|
|
3198
|
+
};
|
|
3199
|
+
__name(_DescribeResourceCollectionHealthCommand, "DescribeResourceCollectionHealthCommand");
|
|
3200
|
+
var DescribeResourceCollectionHealthCommand = _DescribeResourceCollectionHealthCommand;
|
|
3201
|
+
|
|
3202
|
+
// src/commands/DescribeServiceIntegrationCommand.ts
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
|
|
3206
|
+
|
|
3207
|
+
var _DescribeServiceIntegrationCommand = class _DescribeServiceIntegrationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3208
|
+
...commonParams
|
|
3209
|
+
}).m(function(Command, cs, config, o) {
|
|
3210
|
+
return [
|
|
3211
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3212
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3213
|
+
];
|
|
3214
|
+
}).s("CapstoneControlPlaneService", "DescribeServiceIntegration", {}).n("DevOpsGuruClient", "DescribeServiceIntegrationCommand").f(void 0, void 0).ser(se_DescribeServiceIntegrationCommand).de(de_DescribeServiceIntegrationCommand).build() {
|
|
3215
|
+
};
|
|
3216
|
+
__name(_DescribeServiceIntegrationCommand, "DescribeServiceIntegrationCommand");
|
|
3217
|
+
var DescribeServiceIntegrationCommand = _DescribeServiceIntegrationCommand;
|
|
3218
|
+
|
|
3219
|
+
// src/commands/GetCostEstimationCommand.ts
|
|
3220
|
+
|
|
3221
|
+
|
|
3222
|
+
|
|
3223
|
+
|
|
3224
|
+
var _GetCostEstimationCommand = class _GetCostEstimationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3225
|
+
...commonParams
|
|
3226
|
+
}).m(function(Command, cs, config, o) {
|
|
3227
|
+
return [
|
|
3228
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3229
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3230
|
+
];
|
|
3231
|
+
}).s("CapstoneControlPlaneService", "GetCostEstimation", {}).n("DevOpsGuruClient", "GetCostEstimationCommand").f(void 0, void 0).ser(se_GetCostEstimationCommand).de(de_GetCostEstimationCommand).build() {
|
|
3232
|
+
};
|
|
3233
|
+
__name(_GetCostEstimationCommand, "GetCostEstimationCommand");
|
|
3234
|
+
var GetCostEstimationCommand = _GetCostEstimationCommand;
|
|
3235
|
+
|
|
3236
|
+
// src/commands/GetResourceCollectionCommand.ts
|
|
3237
|
+
|
|
3238
|
+
|
|
3239
|
+
|
|
3240
|
+
|
|
3241
|
+
var _GetResourceCollectionCommand = class _GetResourceCollectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3242
|
+
...commonParams
|
|
3243
|
+
}).m(function(Command, cs, config, o) {
|
|
3244
|
+
return [
|
|
3245
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3246
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3247
|
+
];
|
|
3248
|
+
}).s("CapstoneControlPlaneService", "GetResourceCollection", {}).n("DevOpsGuruClient", "GetResourceCollectionCommand").f(void 0, void 0).ser(se_GetResourceCollectionCommand).de(de_GetResourceCollectionCommand).build() {
|
|
3249
|
+
};
|
|
3250
|
+
__name(_GetResourceCollectionCommand, "GetResourceCollectionCommand");
|
|
3251
|
+
var GetResourceCollectionCommand = _GetResourceCollectionCommand;
|
|
3252
|
+
|
|
3253
|
+
// src/commands/ListAnomaliesForInsightCommand.ts
|
|
3254
|
+
|
|
3255
|
+
|
|
3256
|
+
|
|
3257
|
+
|
|
3258
|
+
var _ListAnomaliesForInsightCommand = class _ListAnomaliesForInsightCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3259
|
+
...commonParams
|
|
3260
|
+
}).m(function(Command, cs, config, o) {
|
|
3261
|
+
return [
|
|
3262
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3263
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3264
|
+
];
|
|
3265
|
+
}).s("CapstoneControlPlaneService", "ListAnomaliesForInsight", {}).n("DevOpsGuruClient", "ListAnomaliesForInsightCommand").f(void 0, void 0).ser(se_ListAnomaliesForInsightCommand).de(de_ListAnomaliesForInsightCommand).build() {
|
|
3266
|
+
};
|
|
3267
|
+
__name(_ListAnomaliesForInsightCommand, "ListAnomaliesForInsightCommand");
|
|
3268
|
+
var ListAnomaliesForInsightCommand = _ListAnomaliesForInsightCommand;
|
|
3269
|
+
|
|
3270
|
+
// src/commands/ListAnomalousLogGroupsCommand.ts
|
|
3271
|
+
|
|
3272
|
+
|
|
3273
|
+
|
|
3274
|
+
|
|
3275
|
+
var _ListAnomalousLogGroupsCommand = class _ListAnomalousLogGroupsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3276
|
+
...commonParams
|
|
3277
|
+
}).m(function(Command, cs, config, o) {
|
|
3278
|
+
return [
|
|
3279
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3280
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3281
|
+
];
|
|
3282
|
+
}).s("CapstoneControlPlaneService", "ListAnomalousLogGroups", {}).n("DevOpsGuruClient", "ListAnomalousLogGroupsCommand").f(void 0, void 0).ser(se_ListAnomalousLogGroupsCommand).de(de_ListAnomalousLogGroupsCommand).build() {
|
|
3283
|
+
};
|
|
3284
|
+
__name(_ListAnomalousLogGroupsCommand, "ListAnomalousLogGroupsCommand");
|
|
3285
|
+
var ListAnomalousLogGroupsCommand = _ListAnomalousLogGroupsCommand;
|
|
3286
|
+
|
|
3287
|
+
// src/commands/ListEventsCommand.ts
|
|
3288
|
+
|
|
3289
|
+
|
|
3290
|
+
|
|
3291
|
+
|
|
3292
|
+
var _ListEventsCommand = class _ListEventsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3293
|
+
...commonParams
|
|
3294
|
+
}).m(function(Command, cs, config, o) {
|
|
3295
|
+
return [
|
|
3296
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3297
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3298
|
+
];
|
|
3299
|
+
}).s("CapstoneControlPlaneService", "ListEvents", {}).n("DevOpsGuruClient", "ListEventsCommand").f(void 0, void 0).ser(se_ListEventsCommand).de(de_ListEventsCommand).build() {
|
|
3300
|
+
};
|
|
3301
|
+
__name(_ListEventsCommand, "ListEventsCommand");
|
|
3302
|
+
var ListEventsCommand = _ListEventsCommand;
|
|
3303
|
+
|
|
3304
|
+
// src/commands/ListInsightsCommand.ts
|
|
3305
|
+
|
|
3306
|
+
|
|
3307
|
+
|
|
3308
|
+
|
|
3309
|
+
var _ListInsightsCommand = class _ListInsightsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3310
|
+
...commonParams
|
|
3311
|
+
}).m(function(Command, cs, config, o) {
|
|
3312
|
+
return [
|
|
3313
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3314
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3315
|
+
];
|
|
3316
|
+
}).s("CapstoneControlPlaneService", "ListInsights", {}).n("DevOpsGuruClient", "ListInsightsCommand").f(void 0, void 0).ser(se_ListInsightsCommand).de(de_ListInsightsCommand).build() {
|
|
3317
|
+
};
|
|
3318
|
+
__name(_ListInsightsCommand, "ListInsightsCommand");
|
|
3319
|
+
var ListInsightsCommand = _ListInsightsCommand;
|
|
3320
|
+
|
|
3321
|
+
// src/commands/ListMonitoredResourcesCommand.ts
|
|
3322
|
+
|
|
3323
|
+
|
|
3324
|
+
|
|
3325
|
+
|
|
3326
|
+
var _ListMonitoredResourcesCommand = class _ListMonitoredResourcesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3327
|
+
...commonParams
|
|
3328
|
+
}).m(function(Command, cs, config, o) {
|
|
3329
|
+
return [
|
|
3330
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3331
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3332
|
+
];
|
|
3333
|
+
}).s("CapstoneControlPlaneService", "ListMonitoredResources", {}).n("DevOpsGuruClient", "ListMonitoredResourcesCommand").f(void 0, void 0).ser(se_ListMonitoredResourcesCommand).de(de_ListMonitoredResourcesCommand).build() {
|
|
3334
|
+
};
|
|
3335
|
+
__name(_ListMonitoredResourcesCommand, "ListMonitoredResourcesCommand");
|
|
3336
|
+
var ListMonitoredResourcesCommand = _ListMonitoredResourcesCommand;
|
|
3337
|
+
|
|
3338
|
+
// src/commands/ListNotificationChannelsCommand.ts
|
|
3339
|
+
|
|
3340
|
+
|
|
3341
|
+
|
|
3342
|
+
|
|
3343
|
+
var _ListNotificationChannelsCommand = class _ListNotificationChannelsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3344
|
+
...commonParams
|
|
3345
|
+
}).m(function(Command, cs, config, o) {
|
|
3346
|
+
return [
|
|
3347
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3348
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3349
|
+
];
|
|
3350
|
+
}).s("CapstoneControlPlaneService", "ListNotificationChannels", {}).n("DevOpsGuruClient", "ListNotificationChannelsCommand").f(void 0, void 0).ser(se_ListNotificationChannelsCommand).de(de_ListNotificationChannelsCommand).build() {
|
|
3351
|
+
};
|
|
3352
|
+
__name(_ListNotificationChannelsCommand, "ListNotificationChannelsCommand");
|
|
3353
|
+
var ListNotificationChannelsCommand = _ListNotificationChannelsCommand;
|
|
3354
|
+
|
|
3355
|
+
// src/commands/ListOrganizationInsightsCommand.ts
|
|
3356
|
+
|
|
3357
|
+
|
|
3358
|
+
|
|
3359
|
+
|
|
3360
|
+
var _ListOrganizationInsightsCommand = class _ListOrganizationInsightsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3361
|
+
...commonParams
|
|
3362
|
+
}).m(function(Command, cs, config, o) {
|
|
3363
|
+
return [
|
|
3364
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3365
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3366
|
+
];
|
|
3367
|
+
}).s("CapstoneControlPlaneService", "ListOrganizationInsights", {}).n("DevOpsGuruClient", "ListOrganizationInsightsCommand").f(void 0, void 0).ser(se_ListOrganizationInsightsCommand).de(de_ListOrganizationInsightsCommand).build() {
|
|
3368
|
+
};
|
|
3369
|
+
__name(_ListOrganizationInsightsCommand, "ListOrganizationInsightsCommand");
|
|
3370
|
+
var ListOrganizationInsightsCommand = _ListOrganizationInsightsCommand;
|
|
3371
|
+
|
|
3372
|
+
// src/commands/ListRecommendationsCommand.ts
|
|
3373
|
+
|
|
3374
|
+
|
|
3375
|
+
|
|
3376
|
+
|
|
3377
|
+
var _ListRecommendationsCommand = class _ListRecommendationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3378
|
+
...commonParams
|
|
3379
|
+
}).m(function(Command, cs, config, o) {
|
|
3380
|
+
return [
|
|
3381
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3382
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3383
|
+
];
|
|
3384
|
+
}).s("CapstoneControlPlaneService", "ListRecommendations", {}).n("DevOpsGuruClient", "ListRecommendationsCommand").f(void 0, void 0).ser(se_ListRecommendationsCommand).de(de_ListRecommendationsCommand).build() {
|
|
3385
|
+
};
|
|
3386
|
+
__name(_ListRecommendationsCommand, "ListRecommendationsCommand");
|
|
3387
|
+
var ListRecommendationsCommand = _ListRecommendationsCommand;
|
|
3388
|
+
|
|
3389
|
+
// src/commands/PutFeedbackCommand.ts
|
|
3390
|
+
|
|
3391
|
+
|
|
3392
|
+
|
|
3393
|
+
|
|
3394
|
+
var _PutFeedbackCommand = class _PutFeedbackCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3395
|
+
...commonParams
|
|
3396
|
+
}).m(function(Command, cs, config, o) {
|
|
3397
|
+
return [
|
|
3398
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3399
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3400
|
+
];
|
|
3401
|
+
}).s("CapstoneControlPlaneService", "PutFeedback", {}).n("DevOpsGuruClient", "PutFeedbackCommand").f(void 0, void 0).ser(se_PutFeedbackCommand).de(de_PutFeedbackCommand).build() {
|
|
3402
|
+
};
|
|
3403
|
+
__name(_PutFeedbackCommand, "PutFeedbackCommand");
|
|
3404
|
+
var PutFeedbackCommand = _PutFeedbackCommand;
|
|
3405
|
+
|
|
3406
|
+
// src/commands/RemoveNotificationChannelCommand.ts
|
|
3407
|
+
|
|
3408
|
+
|
|
3409
|
+
|
|
3410
|
+
|
|
3411
|
+
var _RemoveNotificationChannelCommand = class _RemoveNotificationChannelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3412
|
+
...commonParams
|
|
3413
|
+
}).m(function(Command, cs, config, o) {
|
|
3414
|
+
return [
|
|
3415
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3416
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3417
|
+
];
|
|
3418
|
+
}).s("CapstoneControlPlaneService", "RemoveNotificationChannel", {}).n("DevOpsGuruClient", "RemoveNotificationChannelCommand").f(void 0, void 0).ser(se_RemoveNotificationChannelCommand).de(de_RemoveNotificationChannelCommand).build() {
|
|
3419
|
+
};
|
|
3420
|
+
__name(_RemoveNotificationChannelCommand, "RemoveNotificationChannelCommand");
|
|
3421
|
+
var RemoveNotificationChannelCommand = _RemoveNotificationChannelCommand;
|
|
3422
|
+
|
|
3423
|
+
// src/commands/SearchInsightsCommand.ts
|
|
3424
|
+
|
|
3425
|
+
|
|
3426
|
+
|
|
3427
|
+
|
|
3428
|
+
var _SearchInsightsCommand = class _SearchInsightsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3429
|
+
...commonParams
|
|
3430
|
+
}).m(function(Command, cs, config, o) {
|
|
3431
|
+
return [
|
|
3432
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3433
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3434
|
+
];
|
|
3435
|
+
}).s("CapstoneControlPlaneService", "SearchInsights", {}).n("DevOpsGuruClient", "SearchInsightsCommand").f(void 0, void 0).ser(se_SearchInsightsCommand).de(de_SearchInsightsCommand).build() {
|
|
3436
|
+
};
|
|
3437
|
+
__name(_SearchInsightsCommand, "SearchInsightsCommand");
|
|
3438
|
+
var SearchInsightsCommand = _SearchInsightsCommand;
|
|
3439
|
+
|
|
3440
|
+
// src/commands/SearchOrganizationInsightsCommand.ts
|
|
3441
|
+
|
|
3442
|
+
|
|
3443
|
+
|
|
3444
|
+
|
|
3445
|
+
var _SearchOrganizationInsightsCommand = class _SearchOrganizationInsightsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3446
|
+
...commonParams
|
|
3447
|
+
}).m(function(Command, cs, config, o) {
|
|
3448
|
+
return [
|
|
3449
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3450
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3451
|
+
];
|
|
3452
|
+
}).s("CapstoneControlPlaneService", "SearchOrganizationInsights", {}).n("DevOpsGuruClient", "SearchOrganizationInsightsCommand").f(void 0, void 0).ser(se_SearchOrganizationInsightsCommand).de(de_SearchOrganizationInsightsCommand).build() {
|
|
3453
|
+
};
|
|
3454
|
+
__name(_SearchOrganizationInsightsCommand, "SearchOrganizationInsightsCommand");
|
|
3455
|
+
var SearchOrganizationInsightsCommand = _SearchOrganizationInsightsCommand;
|
|
3456
|
+
|
|
3457
|
+
// src/commands/StartCostEstimationCommand.ts
|
|
3458
|
+
|
|
3459
|
+
|
|
3460
|
+
|
|
3461
|
+
|
|
3462
|
+
var _StartCostEstimationCommand = class _StartCostEstimationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3463
|
+
...commonParams
|
|
3464
|
+
}).m(function(Command, cs, config, o) {
|
|
3465
|
+
return [
|
|
3466
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3467
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3468
|
+
];
|
|
3469
|
+
}).s("CapstoneControlPlaneService", "StartCostEstimation", {}).n("DevOpsGuruClient", "StartCostEstimationCommand").f(void 0, void 0).ser(se_StartCostEstimationCommand).de(de_StartCostEstimationCommand).build() {
|
|
3470
|
+
};
|
|
3471
|
+
__name(_StartCostEstimationCommand, "StartCostEstimationCommand");
|
|
3472
|
+
var StartCostEstimationCommand = _StartCostEstimationCommand;
|
|
3473
|
+
|
|
3474
|
+
// src/commands/UpdateEventSourcesConfigCommand.ts
|
|
3475
|
+
|
|
3476
|
+
|
|
3477
|
+
|
|
3478
|
+
|
|
3479
|
+
var _UpdateEventSourcesConfigCommand = class _UpdateEventSourcesConfigCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3480
|
+
...commonParams
|
|
3481
|
+
}).m(function(Command, cs, config, o) {
|
|
3482
|
+
return [
|
|
3483
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3484
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3485
|
+
];
|
|
3486
|
+
}).s("CapstoneControlPlaneService", "UpdateEventSourcesConfig", {}).n("DevOpsGuruClient", "UpdateEventSourcesConfigCommand").f(void 0, void 0).ser(se_UpdateEventSourcesConfigCommand).de(de_UpdateEventSourcesConfigCommand).build() {
|
|
3487
|
+
};
|
|
3488
|
+
__name(_UpdateEventSourcesConfigCommand, "UpdateEventSourcesConfigCommand");
|
|
3489
|
+
var UpdateEventSourcesConfigCommand = _UpdateEventSourcesConfigCommand;
|
|
3490
|
+
|
|
3491
|
+
// src/commands/UpdateResourceCollectionCommand.ts
|
|
3492
|
+
|
|
3493
|
+
|
|
3494
|
+
|
|
3495
|
+
|
|
3496
|
+
var _UpdateResourceCollectionCommand = class _UpdateResourceCollectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3497
|
+
...commonParams
|
|
3498
|
+
}).m(function(Command, cs, config, o) {
|
|
3499
|
+
return [
|
|
3500
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3501
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3502
|
+
];
|
|
3503
|
+
}).s("CapstoneControlPlaneService", "UpdateResourceCollection", {}).n("DevOpsGuruClient", "UpdateResourceCollectionCommand").f(void 0, void 0).ser(se_UpdateResourceCollectionCommand).de(de_UpdateResourceCollectionCommand).build() {
|
|
3504
|
+
};
|
|
3505
|
+
__name(_UpdateResourceCollectionCommand, "UpdateResourceCollectionCommand");
|
|
3506
|
+
var UpdateResourceCollectionCommand = _UpdateResourceCollectionCommand;
|
|
3507
|
+
|
|
3508
|
+
// src/commands/UpdateServiceIntegrationCommand.ts
|
|
3509
|
+
|
|
3510
|
+
|
|
3511
|
+
|
|
3512
|
+
|
|
3513
|
+
var _UpdateServiceIntegrationCommand = class _UpdateServiceIntegrationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3514
|
+
...commonParams
|
|
3515
|
+
}).m(function(Command, cs, config, o) {
|
|
3516
|
+
return [
|
|
3517
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3518
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3519
|
+
];
|
|
3520
|
+
}).s("CapstoneControlPlaneService", "UpdateServiceIntegration", {}).n("DevOpsGuruClient", "UpdateServiceIntegrationCommand").f(void 0, void 0).ser(se_UpdateServiceIntegrationCommand).de(de_UpdateServiceIntegrationCommand).build() {
|
|
3521
|
+
};
|
|
3522
|
+
__name(_UpdateServiceIntegrationCommand, "UpdateServiceIntegrationCommand");
|
|
3523
|
+
var UpdateServiceIntegrationCommand = _UpdateServiceIntegrationCommand;
|
|
3524
|
+
|
|
3525
|
+
// src/DevOpsGuru.ts
|
|
3526
|
+
var commands = {
|
|
3527
|
+
AddNotificationChannelCommand,
|
|
3528
|
+
DeleteInsightCommand,
|
|
3529
|
+
DescribeAccountHealthCommand,
|
|
3530
|
+
DescribeAccountOverviewCommand,
|
|
3531
|
+
DescribeAnomalyCommand,
|
|
3532
|
+
DescribeEventSourcesConfigCommand,
|
|
3533
|
+
DescribeFeedbackCommand,
|
|
3534
|
+
DescribeInsightCommand,
|
|
3535
|
+
DescribeOrganizationHealthCommand,
|
|
3536
|
+
DescribeOrganizationOverviewCommand,
|
|
3537
|
+
DescribeOrganizationResourceCollectionHealthCommand,
|
|
3538
|
+
DescribeResourceCollectionHealthCommand,
|
|
3539
|
+
DescribeServiceIntegrationCommand,
|
|
3540
|
+
GetCostEstimationCommand,
|
|
3541
|
+
GetResourceCollectionCommand,
|
|
3542
|
+
ListAnomaliesForInsightCommand,
|
|
3543
|
+
ListAnomalousLogGroupsCommand,
|
|
3544
|
+
ListEventsCommand,
|
|
3545
|
+
ListInsightsCommand,
|
|
3546
|
+
ListMonitoredResourcesCommand,
|
|
3547
|
+
ListNotificationChannelsCommand,
|
|
3548
|
+
ListOrganizationInsightsCommand,
|
|
3549
|
+
ListRecommendationsCommand,
|
|
3550
|
+
PutFeedbackCommand,
|
|
3551
|
+
RemoveNotificationChannelCommand,
|
|
3552
|
+
SearchInsightsCommand,
|
|
3553
|
+
SearchOrganizationInsightsCommand,
|
|
3554
|
+
StartCostEstimationCommand,
|
|
3555
|
+
UpdateEventSourcesConfigCommand,
|
|
3556
|
+
UpdateResourceCollectionCommand,
|
|
3557
|
+
UpdateServiceIntegrationCommand
|
|
3558
|
+
};
|
|
3559
|
+
var _DevOpsGuru = class _DevOpsGuru extends DevOpsGuruClient {
|
|
3560
|
+
};
|
|
3561
|
+
__name(_DevOpsGuru, "DevOpsGuru");
|
|
3562
|
+
var DevOpsGuru = _DevOpsGuru;
|
|
3563
|
+
(0, import_smithy_client.createAggregatedClient)(commands, DevOpsGuru);
|
|
3564
|
+
|
|
3565
|
+
// src/pagination/DescribeOrganizationResourceCollectionHealthPaginator.ts
|
|
3566
|
+
|
|
3567
|
+
var paginateDescribeOrganizationResourceCollectionHealth = (0, import_core.createPaginator)(DevOpsGuruClient, DescribeOrganizationResourceCollectionHealthCommand, "NextToken", "NextToken", "");
|
|
3568
|
+
|
|
3569
|
+
// src/pagination/DescribeResourceCollectionHealthPaginator.ts
|
|
3570
|
+
|
|
3571
|
+
var paginateDescribeResourceCollectionHealth = (0, import_core.createPaginator)(DevOpsGuruClient, DescribeResourceCollectionHealthCommand, "NextToken", "NextToken", "");
|
|
3572
|
+
|
|
3573
|
+
// src/pagination/GetCostEstimationPaginator.ts
|
|
3574
|
+
|
|
3575
|
+
var paginateGetCostEstimation = (0, import_core.createPaginator)(DevOpsGuruClient, GetCostEstimationCommand, "NextToken", "NextToken", "");
|
|
3576
|
+
|
|
3577
|
+
// src/pagination/GetResourceCollectionPaginator.ts
|
|
3578
|
+
|
|
3579
|
+
var paginateGetResourceCollection = (0, import_core.createPaginator)(DevOpsGuruClient, GetResourceCollectionCommand, "NextToken", "NextToken", "");
|
|
3580
|
+
|
|
3581
|
+
// src/pagination/ListAnomaliesForInsightPaginator.ts
|
|
3582
|
+
|
|
3583
|
+
var paginateListAnomaliesForInsight = (0, import_core.createPaginator)(DevOpsGuruClient, ListAnomaliesForInsightCommand, "NextToken", "NextToken", "MaxResults");
|
|
3584
|
+
|
|
3585
|
+
// src/pagination/ListAnomalousLogGroupsPaginator.ts
|
|
3586
|
+
|
|
3587
|
+
var paginateListAnomalousLogGroups = (0, import_core.createPaginator)(DevOpsGuruClient, ListAnomalousLogGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3588
|
+
|
|
3589
|
+
// src/pagination/ListEventsPaginator.ts
|
|
3590
|
+
|
|
3591
|
+
var paginateListEvents = (0, import_core.createPaginator)(DevOpsGuruClient, ListEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3592
|
+
|
|
3593
|
+
// src/pagination/ListInsightsPaginator.ts
|
|
3594
|
+
|
|
3595
|
+
var paginateListInsights = (0, import_core.createPaginator)(DevOpsGuruClient, ListInsightsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3596
|
+
|
|
3597
|
+
// src/pagination/ListMonitoredResourcesPaginator.ts
|
|
3598
|
+
|
|
3599
|
+
var paginateListMonitoredResources = (0, import_core.createPaginator)(DevOpsGuruClient, ListMonitoredResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
3600
|
+
|
|
3601
|
+
// src/pagination/ListNotificationChannelsPaginator.ts
|
|
3602
|
+
|
|
3603
|
+
var paginateListNotificationChannels = (0, import_core.createPaginator)(DevOpsGuruClient, ListNotificationChannelsCommand, "NextToken", "NextToken", "");
|
|
3604
|
+
|
|
3605
|
+
// src/pagination/ListOrganizationInsightsPaginator.ts
|
|
3606
|
+
|
|
3607
|
+
var paginateListOrganizationInsights = (0, import_core.createPaginator)(DevOpsGuruClient, ListOrganizationInsightsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3608
|
+
|
|
3609
|
+
// src/pagination/ListRecommendationsPaginator.ts
|
|
3610
|
+
|
|
3611
|
+
var paginateListRecommendations = (0, import_core.createPaginator)(DevOpsGuruClient, ListRecommendationsCommand, "NextToken", "NextToken", "");
|
|
3612
|
+
|
|
3613
|
+
// src/pagination/SearchInsightsPaginator.ts
|
|
3614
|
+
|
|
3615
|
+
var paginateSearchInsights = (0, import_core.createPaginator)(DevOpsGuruClient, SearchInsightsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3616
|
+
|
|
3617
|
+
// src/pagination/SearchOrganizationInsightsPaginator.ts
|
|
3618
|
+
|
|
3619
|
+
var paginateSearchOrganizationInsights = (0, import_core.createPaginator)(DevOpsGuruClient, SearchOrganizationInsightsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3620
|
+
|
|
3621
|
+
// src/index.ts
|
|
3622
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3623
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3624
|
+
0 && (module.exports = {
|
|
3625
|
+
AccessDeniedException,
|
|
3626
|
+
AddNotificationChannelCommand,
|
|
3627
|
+
AnomalySeverity,
|
|
3628
|
+
AnomalyStatus,
|
|
3629
|
+
AnomalyType,
|
|
3630
|
+
CloudWatchMetricDataStatusCode,
|
|
3631
|
+
CloudWatchMetricsStat,
|
|
3632
|
+
ConflictException,
|
|
3633
|
+
CostEstimationServiceResourceState,
|
|
3634
|
+
CostEstimationStatus,
|
|
3635
|
+
DeleteInsightCommand,
|
|
3636
|
+
DescribeAccountHealthCommand,
|
|
3637
|
+
DescribeAccountOverviewCommand,
|
|
3638
|
+
DescribeAnomalyCommand,
|
|
3639
|
+
DescribeEventSourcesConfigCommand,
|
|
3640
|
+
DescribeFeedbackCommand,
|
|
3641
|
+
DescribeInsightCommand,
|
|
3642
|
+
DescribeOrganizationHealthCommand,
|
|
3643
|
+
DescribeOrganizationOverviewCommand,
|
|
3644
|
+
DescribeOrganizationResourceCollectionHealthCommand,
|
|
3645
|
+
DescribeResourceCollectionHealthCommand,
|
|
3646
|
+
DescribeServiceIntegrationCommand,
|
|
3647
|
+
DevOpsGuru,
|
|
3648
|
+
DevOpsGuruClient,
|
|
3649
|
+
DevOpsGuruServiceException,
|
|
3650
|
+
EventClass,
|
|
3651
|
+
EventDataSource,
|
|
3652
|
+
EventSourceOptInStatus,
|
|
3653
|
+
GetCostEstimationCommand,
|
|
3654
|
+
GetResourceCollectionCommand,
|
|
3655
|
+
InsightFeedbackOption,
|
|
3656
|
+
InsightSeverity,
|
|
3657
|
+
InsightStatus,
|
|
3658
|
+
InsightType,
|
|
3659
|
+
InternalServerException,
|
|
3660
|
+
ListAnomaliesForInsightCommand,
|
|
3661
|
+
ListAnomalousLogGroupsCommand,
|
|
3662
|
+
ListEventsCommand,
|
|
3663
|
+
ListInsightsCommand,
|
|
3664
|
+
ListMonitoredResourcesCommand,
|
|
3665
|
+
ListNotificationChannelsCommand,
|
|
3666
|
+
ListOrganizationInsightsCommand,
|
|
3667
|
+
ListRecommendationsCommand,
|
|
3668
|
+
Locale,
|
|
3669
|
+
LogAnomalyType,
|
|
3670
|
+
NotificationMessageType,
|
|
3671
|
+
OptInStatus,
|
|
3672
|
+
OrganizationResourceCollectionType,
|
|
3673
|
+
PutFeedbackCommand,
|
|
3674
|
+
RemoveNotificationChannelCommand,
|
|
3675
|
+
ResourceCollectionType,
|
|
3676
|
+
ResourceNotFoundException,
|
|
3677
|
+
ResourcePermission,
|
|
3678
|
+
ResourceTypeFilter,
|
|
3679
|
+
SearchInsightsCommand,
|
|
3680
|
+
SearchOrganizationInsightsCommand,
|
|
3681
|
+
ServerSideEncryptionType,
|
|
3682
|
+
ServiceName,
|
|
3683
|
+
ServiceQuotaExceededException,
|
|
3684
|
+
StartCostEstimationCommand,
|
|
3685
|
+
ThrottlingException,
|
|
3686
|
+
UpdateEventSourcesConfigCommand,
|
|
3687
|
+
UpdateResourceCollectionAction,
|
|
3688
|
+
UpdateResourceCollectionCommand,
|
|
3689
|
+
UpdateServiceIntegrationCommand,
|
|
3690
|
+
ValidationException,
|
|
3691
|
+
ValidationExceptionReason,
|
|
3692
|
+
__Client,
|
|
3693
|
+
paginateDescribeOrganizationResourceCollectionHealth,
|
|
3694
|
+
paginateDescribeResourceCollectionHealth,
|
|
3695
|
+
paginateGetCostEstimation,
|
|
3696
|
+
paginateGetResourceCollection,
|
|
3697
|
+
paginateListAnomaliesForInsight,
|
|
3698
|
+
paginateListAnomalousLogGroups,
|
|
3699
|
+
paginateListEvents,
|
|
3700
|
+
paginateListInsights,
|
|
3701
|
+
paginateListMonitoredResources,
|
|
3702
|
+
paginateListNotificationChannels,
|
|
3703
|
+
paginateListOrganizationInsights,
|
|
3704
|
+
paginateListRecommendations,
|
|
3705
|
+
paginateSearchInsights,
|
|
3706
|
+
paginateSearchOrganizationInsights
|
|
3707
|
+
});
|