@aws-sdk/client-application-insights 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.
Files changed (54) hide show
  1. package/dist-cjs/ApplicationInsights.js +1 -77
  2. package/dist-cjs/ApplicationInsightsClient.js +1 -43
  3. package/dist-cjs/commands/AddWorkloadCommand.js +1 -28
  4. package/dist-cjs/commands/CreateApplicationCommand.js +1 -28
  5. package/dist-cjs/commands/CreateComponentCommand.js +1 -28
  6. package/dist-cjs/commands/CreateLogPatternCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteApplicationCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteComponentCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteLogPatternCommand.js +1 -28
  10. package/dist-cjs/commands/DescribeApplicationCommand.js +1 -28
  11. package/dist-cjs/commands/DescribeComponentCommand.js +1 -28
  12. package/dist-cjs/commands/DescribeComponentConfigurationCommand.js +1 -28
  13. package/dist-cjs/commands/DescribeComponentConfigurationRecommendationCommand.js +1 -28
  14. package/dist-cjs/commands/DescribeLogPatternCommand.js +1 -28
  15. package/dist-cjs/commands/DescribeObservationCommand.js +1 -28
  16. package/dist-cjs/commands/DescribeProblemCommand.js +1 -28
  17. package/dist-cjs/commands/DescribeProblemObservationsCommand.js +1 -28
  18. package/dist-cjs/commands/DescribeWorkloadCommand.js +1 -28
  19. package/dist-cjs/commands/ListApplicationsCommand.js +1 -28
  20. package/dist-cjs/commands/ListComponentsCommand.js +1 -28
  21. package/dist-cjs/commands/ListConfigurationHistoryCommand.js +1 -28
  22. package/dist-cjs/commands/ListLogPatternSetsCommand.js +1 -28
  23. package/dist-cjs/commands/ListLogPatternsCommand.js +1 -28
  24. package/dist-cjs/commands/ListProblemsCommand.js +1 -28
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  26. package/dist-cjs/commands/ListWorkloadsCommand.js +1 -28
  27. package/dist-cjs/commands/RemoveWorkloadCommand.js +1 -28
  28. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  29. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  30. package/dist-cjs/commands/UpdateApplicationCommand.js +1 -28
  31. package/dist-cjs/commands/UpdateComponentCommand.js +1 -28
  32. package/dist-cjs/commands/UpdateComponentConfigurationCommand.js +1 -28
  33. package/dist-cjs/commands/UpdateLogPatternCommand.js +1 -28
  34. package/dist-cjs/commands/UpdateProblemCommand.js +1 -28
  35. package/dist-cjs/commands/UpdateWorkloadCommand.js +1 -28
  36. package/dist-cjs/commands/index.js +1 -36
  37. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  38. package/dist-cjs/extensionConfiguration.js +1 -2
  39. package/dist-cjs/index.js +2924 -11
  40. package/dist-cjs/models/ApplicationInsightsServiceException.js +1 -12
  41. package/dist-cjs/models/index.js +1 -4
  42. package/dist-cjs/models/models_0.js +1 -211
  43. package/dist-cjs/pagination/Interfaces.js +1 -2
  44. package/dist-cjs/pagination/ListApplicationsPaginator.js +1 -7
  45. package/dist-cjs/pagination/ListComponentsPaginator.js +1 -7
  46. package/dist-cjs/pagination/ListConfigurationHistoryPaginator.js +1 -7
  47. package/dist-cjs/pagination/ListLogPatternSetsPaginator.js +1 -7
  48. package/dist-cjs/pagination/ListLogPatternsPaginator.js +1 -7
  49. package/dist-cjs/pagination/ListProblemsPaginator.js +1 -7
  50. package/dist-cjs/pagination/ListWorkloadsPaginator.js +1 -7
  51. package/dist-cjs/pagination/index.js +1 -11
  52. package/dist-cjs/protocols/Aws_json1_1.js +1 -1855
  53. package/dist-cjs/runtimeExtensions.js +1 -22
  54. package/package.json +40 -40
package/dist-cjs/index.js CHANGED
@@ -1,12 +1,2925 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ApplicationInsightsServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./ApplicationInsightsClient"), exports);
6
- tslib_1.__exportStar(require("./ApplicationInsights"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- require("@aws-sdk/util-endpoints");
11
- var ApplicationInsightsServiceException_1 = require("./models/ApplicationInsightsServiceException");
12
- Object.defineProperty(exports, "ApplicationInsightsServiceException", { enumerable: true, get: function () { return ApplicationInsightsServiceException_1.ApplicationInsightsServiceException; } });
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
+ AddWorkloadCommand: () => AddWorkloadCommand,
26
+ ApplicationInsights: () => ApplicationInsights,
27
+ ApplicationInsightsClient: () => ApplicationInsightsClient,
28
+ ApplicationInsightsServiceException: () => ApplicationInsightsServiceException,
29
+ BadRequestException: () => BadRequestException,
30
+ CloudWatchEventSource: () => CloudWatchEventSource,
31
+ ConfigurationEventResourceType: () => ConfigurationEventResourceType,
32
+ ConfigurationEventStatus: () => ConfigurationEventStatus,
33
+ CreateApplicationCommand: () => CreateApplicationCommand,
34
+ CreateComponentCommand: () => CreateComponentCommand,
35
+ CreateLogPatternCommand: () => CreateLogPatternCommand,
36
+ DeleteApplicationCommand: () => DeleteApplicationCommand,
37
+ DeleteComponentCommand: () => DeleteComponentCommand,
38
+ DeleteLogPatternCommand: () => DeleteLogPatternCommand,
39
+ DescribeApplicationCommand: () => DescribeApplicationCommand,
40
+ DescribeComponentCommand: () => DescribeComponentCommand,
41
+ DescribeComponentConfigurationCommand: () => DescribeComponentConfigurationCommand,
42
+ DescribeComponentConfigurationRecommendationCommand: () => DescribeComponentConfigurationRecommendationCommand,
43
+ DescribeLogPatternCommand: () => DescribeLogPatternCommand,
44
+ DescribeObservationCommand: () => DescribeObservationCommand,
45
+ DescribeProblemCommand: () => DescribeProblemCommand,
46
+ DescribeProblemObservationsCommand: () => DescribeProblemObservationsCommand,
47
+ DescribeWorkloadCommand: () => DescribeWorkloadCommand,
48
+ DiscoveryType: () => DiscoveryType,
49
+ FeedbackKey: () => FeedbackKey,
50
+ FeedbackValue: () => FeedbackValue,
51
+ GroupingType: () => GroupingType,
52
+ InternalServerException: () => InternalServerException,
53
+ ListApplicationsCommand: () => ListApplicationsCommand,
54
+ ListComponentsCommand: () => ListComponentsCommand,
55
+ ListConfigurationHistoryCommand: () => ListConfigurationHistoryCommand,
56
+ ListLogPatternSetsCommand: () => ListLogPatternSetsCommand,
57
+ ListLogPatternsCommand: () => ListLogPatternsCommand,
58
+ ListProblemsCommand: () => ListProblemsCommand,
59
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
60
+ ListWorkloadsCommand: () => ListWorkloadsCommand,
61
+ LogFilter: () => LogFilter,
62
+ OsType: () => OsType,
63
+ RecommendationType: () => RecommendationType,
64
+ RemoveWorkloadCommand: () => RemoveWorkloadCommand,
65
+ ResolutionMethod: () => ResolutionMethod,
66
+ ResourceInUseException: () => ResourceInUseException,
67
+ ResourceNotFoundException: () => ResourceNotFoundException,
68
+ SeverityLevel: () => SeverityLevel,
69
+ Status: () => Status,
70
+ TagResourceCommand: () => TagResourceCommand,
71
+ TagsAlreadyExistException: () => TagsAlreadyExistException,
72
+ Tier: () => Tier,
73
+ TooManyTagsException: () => TooManyTagsException,
74
+ UntagResourceCommand: () => UntagResourceCommand,
75
+ UpdateApplicationCommand: () => UpdateApplicationCommand,
76
+ UpdateComponentCommand: () => UpdateComponentCommand,
77
+ UpdateComponentConfigurationCommand: () => UpdateComponentConfigurationCommand,
78
+ UpdateLogPatternCommand: () => UpdateLogPatternCommand,
79
+ UpdateProblemCommand: () => UpdateProblemCommand,
80
+ UpdateStatus: () => UpdateStatus,
81
+ UpdateWorkloadCommand: () => UpdateWorkloadCommand,
82
+ ValidationException: () => ValidationException,
83
+ Visibility: () => Visibility,
84
+ __Client: () => import_smithy_client.Client,
85
+ paginateListApplications: () => paginateListApplications,
86
+ paginateListComponents: () => paginateListComponents,
87
+ paginateListConfigurationHistory: () => paginateListConfigurationHistory,
88
+ paginateListLogPatternSets: () => paginateListLogPatternSets,
89
+ paginateListLogPatterns: () => paginateListLogPatterns,
90
+ paginateListProblems: () => paginateListProblems,
91
+ paginateListWorkloads: () => paginateListWorkloads
92
+ });
93
+ module.exports = __toCommonJS(src_exports);
94
+
95
+ // src/ApplicationInsightsClient.ts
96
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
97
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
98
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
99
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
100
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
101
+ var import_config_resolver = require("@smithy/config-resolver");
102
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
103
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
104
+ var import_middleware_retry = require("@smithy/middleware-retry");
105
+
106
+
107
+ // src/endpoint/EndpointParameters.ts
108
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
109
+ return {
110
+ ...options,
111
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
112
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
113
+ defaultSigningName: "applicationinsights"
114
+ };
115
+ }, "resolveClientEndpointParameters");
116
+ var commonParams = {
117
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
118
+ Endpoint: { type: "builtInParams", name: "endpoint" },
119
+ Region: { type: "builtInParams", name: "region" },
120
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
121
+ };
122
+
123
+ // src/ApplicationInsightsClient.ts
124
+ var import_runtimeConfig = require("././runtimeConfig");
125
+
126
+ // src/runtimeExtensions.ts
127
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
128
+ var import_protocol_http = require("@smithy/protocol-http");
129
+ var import_smithy_client = require("@smithy/smithy-client");
130
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
131
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
132
+ const extensionConfiguration = {
133
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
134
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
135
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
136
+ };
137
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
138
+ return {
139
+ ...runtimeConfig,
140
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
141
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
142
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
143
+ };
144
+ }, "resolveRuntimeExtensions");
145
+
146
+ // src/ApplicationInsightsClient.ts
147
+ var _ApplicationInsightsClient = class _ApplicationInsightsClient extends import_smithy_client.Client {
148
+ constructor(...[configuration]) {
149
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
150
+ const _config_1 = resolveClientEndpointParameters(_config_0);
151
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
152
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
153
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
154
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
155
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
156
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
157
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
158
+ super(_config_8);
159
+ this.config = _config_8;
160
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
161
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
162
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
163
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
164
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
165
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
166
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
167
+ }
168
+ /**
169
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
170
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
171
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
172
+ */
173
+ destroy() {
174
+ super.destroy();
175
+ }
176
+ };
177
+ __name(_ApplicationInsightsClient, "ApplicationInsightsClient");
178
+ var ApplicationInsightsClient = _ApplicationInsightsClient;
179
+
180
+ // src/ApplicationInsights.ts
181
+
182
+
183
+ // src/commands/AddWorkloadCommand.ts
184
+
185
+ var import_middleware_serde = require("@smithy/middleware-serde");
186
+
187
+ var import_types = require("@smithy/types");
188
+
189
+ // src/protocols/Aws_json1_1.ts
190
+
191
+
192
+
193
+ // src/models/ApplicationInsightsServiceException.ts
194
+
195
+ var _ApplicationInsightsServiceException = class _ApplicationInsightsServiceException extends import_smithy_client.ServiceException {
196
+ /**
197
+ * @internal
198
+ */
199
+ constructor(options) {
200
+ super(options);
201
+ Object.setPrototypeOf(this, _ApplicationInsightsServiceException.prototype);
202
+ }
203
+ };
204
+ __name(_ApplicationInsightsServiceException, "ApplicationInsightsServiceException");
205
+ var ApplicationInsightsServiceException = _ApplicationInsightsServiceException;
206
+
207
+ // src/models/models_0.ts
208
+ var _AccessDeniedException = class _AccessDeniedException extends ApplicationInsightsServiceException {
209
+ /**
210
+ * @internal
211
+ */
212
+ constructor(opts) {
213
+ super({
214
+ name: "AccessDeniedException",
215
+ $fault: "client",
216
+ ...opts
217
+ });
218
+ this.name = "AccessDeniedException";
219
+ this.$fault = "client";
220
+ Object.setPrototypeOf(this, _AccessDeniedException.prototype);
221
+ this.Message = opts.Message;
222
+ }
223
+ };
224
+ __name(_AccessDeniedException, "AccessDeniedException");
225
+ var AccessDeniedException = _AccessDeniedException;
226
+ var Tier = {
227
+ ACTIVE_DIRECTORY: "ACTIVE_DIRECTORY",
228
+ CUSTOM: "CUSTOM",
229
+ DEFAULT: "DEFAULT",
230
+ DOT_NET_CORE: "DOT_NET_CORE",
231
+ DOT_NET_WEB: "DOT_NET_WEB",
232
+ DOT_NET_WEB_TIER: "DOT_NET_WEB_TIER",
233
+ DOT_NET_WORKER: "DOT_NET_WORKER",
234
+ JAVA_JMX: "JAVA_JMX",
235
+ MYSQL: "MYSQL",
236
+ ORACLE: "ORACLE",
237
+ POSTGRESQL: "POSTGRESQL",
238
+ SAP_HANA_HIGH_AVAILABILITY: "SAP_HANA_HIGH_AVAILABILITY",
239
+ SAP_HANA_MULTI_NODE: "SAP_HANA_MULTI_NODE",
240
+ SAP_HANA_SINGLE_NODE: "SAP_HANA_SINGLE_NODE",
241
+ SAP_NETWEAVER_DISTRIBUTED: "SAP_NETWEAVER_DISTRIBUTED",
242
+ SAP_NETWEAVER_HIGH_AVAILABILITY: "SAP_NETWEAVER_HIGH_AVAILABILITY",
243
+ SAP_NETWEAVER_STANDARD: "SAP_NETWEAVER_STANDARD",
244
+ SHAREPOINT: "SHAREPOINT",
245
+ SQL_SERVER: "SQL_SERVER",
246
+ SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP: "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP",
247
+ SQL_SERVER_FAILOVER_CLUSTER_INSTANCE: "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE"
248
+ };
249
+ var _InternalServerException = class _InternalServerException extends ApplicationInsightsServiceException {
250
+ /**
251
+ * @internal
252
+ */
253
+ constructor(opts) {
254
+ super({
255
+ name: "InternalServerException",
256
+ $fault: "server",
257
+ ...opts
258
+ });
259
+ this.name = "InternalServerException";
260
+ this.$fault = "server";
261
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
262
+ this.Message = opts.Message;
263
+ }
264
+ };
265
+ __name(_InternalServerException, "InternalServerException");
266
+ var InternalServerException = _InternalServerException;
267
+ var _ResourceInUseException = class _ResourceInUseException extends ApplicationInsightsServiceException {
268
+ /**
269
+ * @internal
270
+ */
271
+ constructor(opts) {
272
+ super({
273
+ name: "ResourceInUseException",
274
+ $fault: "client",
275
+ ...opts
276
+ });
277
+ this.name = "ResourceInUseException";
278
+ this.$fault = "client";
279
+ Object.setPrototypeOf(this, _ResourceInUseException.prototype);
280
+ this.Message = opts.Message;
281
+ }
282
+ };
283
+ __name(_ResourceInUseException, "ResourceInUseException");
284
+ var ResourceInUseException = _ResourceInUseException;
285
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends ApplicationInsightsServiceException {
286
+ /**
287
+ * @internal
288
+ */
289
+ constructor(opts) {
290
+ super({
291
+ name: "ResourceNotFoundException",
292
+ $fault: "client",
293
+ ...opts
294
+ });
295
+ this.name = "ResourceNotFoundException";
296
+ this.$fault = "client";
297
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
298
+ this.Message = opts.Message;
299
+ }
300
+ };
301
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
302
+ var ResourceNotFoundException = _ResourceNotFoundException;
303
+ var _ValidationException = class _ValidationException extends ApplicationInsightsServiceException {
304
+ /**
305
+ * @internal
306
+ */
307
+ constructor(opts) {
308
+ super({
309
+ name: "ValidationException",
310
+ $fault: "client",
311
+ ...opts
312
+ });
313
+ this.name = "ValidationException";
314
+ this.$fault = "client";
315
+ Object.setPrototypeOf(this, _ValidationException.prototype);
316
+ this.Message = opts.Message;
317
+ }
318
+ };
319
+ __name(_ValidationException, "ValidationException");
320
+ var ValidationException = _ValidationException;
321
+ var OsType = {
322
+ LINUX: "LINUX",
323
+ WINDOWS: "WINDOWS"
324
+ };
325
+ var DiscoveryType = {
326
+ ACCOUNT_BASED: "ACCOUNT_BASED",
327
+ RESOURCE_GROUP_BASED: "RESOURCE_GROUP_BASED"
328
+ };
329
+ var _BadRequestException = class _BadRequestException extends ApplicationInsightsServiceException {
330
+ /**
331
+ * @internal
332
+ */
333
+ constructor(opts) {
334
+ super({
335
+ name: "BadRequestException",
336
+ $fault: "client",
337
+ ...opts
338
+ });
339
+ this.name = "BadRequestException";
340
+ this.$fault = "client";
341
+ Object.setPrototypeOf(this, _BadRequestException.prototype);
342
+ this.Message = opts.Message;
343
+ }
344
+ };
345
+ __name(_BadRequestException, "BadRequestException");
346
+ var BadRequestException = _BadRequestException;
347
+ var CloudWatchEventSource = {
348
+ CODE_DEPLOY: "CODE_DEPLOY",
349
+ EC2: "EC2",
350
+ HEALTH: "HEALTH",
351
+ RDS: "RDS"
352
+ };
353
+ var ConfigurationEventResourceType = {
354
+ CLOUDFORMATION: "CLOUDFORMATION",
355
+ CLOUDWATCH_ALARM: "CLOUDWATCH_ALARM",
356
+ CLOUDWATCH_LOG: "CLOUDWATCH_LOG",
357
+ SSM_ASSOCIATION: "SSM_ASSOCIATION"
358
+ };
359
+ var ConfigurationEventStatus = {
360
+ ERROR: "ERROR",
361
+ INFO: "INFO",
362
+ WARN: "WARN"
363
+ };
364
+ var GroupingType = {
365
+ ACCOUNT_BASED: "ACCOUNT_BASED"
366
+ };
367
+ var _TagsAlreadyExistException = class _TagsAlreadyExistException extends ApplicationInsightsServiceException {
368
+ /**
369
+ * @internal
370
+ */
371
+ constructor(opts) {
372
+ super({
373
+ name: "TagsAlreadyExistException",
374
+ $fault: "client",
375
+ ...opts
376
+ });
377
+ this.name = "TagsAlreadyExistException";
378
+ this.$fault = "client";
379
+ Object.setPrototypeOf(this, _TagsAlreadyExistException.prototype);
380
+ this.Message = opts.Message;
381
+ }
382
+ };
383
+ __name(_TagsAlreadyExistException, "TagsAlreadyExistException");
384
+ var TagsAlreadyExistException = _TagsAlreadyExistException;
385
+ var RecommendationType = {
386
+ ALL: "ALL",
387
+ INFRA_ONLY: "INFRA_ONLY",
388
+ WORKLOAD_ONLY: "WORKLOAD_ONLY"
389
+ };
390
+ var LogFilter = {
391
+ ERROR: "ERROR",
392
+ INFO: "INFO",
393
+ WARN: "WARN"
394
+ };
395
+ var FeedbackKey = {
396
+ INSIGHTS_FEEDBACK: "INSIGHTS_FEEDBACK"
397
+ };
398
+ var FeedbackValue = {
399
+ NOT_SPECIFIED: "NOT_SPECIFIED",
400
+ NOT_USEFUL: "NOT_USEFUL",
401
+ USEFUL: "USEFUL"
402
+ };
403
+ var ResolutionMethod = {
404
+ AUTOMATIC: "AUTOMATIC",
405
+ MANUAL: "MANUAL",
406
+ UNRESOLVED: "UNRESOLVED"
407
+ };
408
+ var SeverityLevel = {
409
+ High: "High",
410
+ Informative: "Informative",
411
+ Low: "Low",
412
+ Medium: "Medium"
413
+ };
414
+ var Status = {
415
+ IGNORE: "IGNORE",
416
+ PENDING: "PENDING",
417
+ RECOVERING: "RECOVERING",
418
+ RECURRING: "RECURRING",
419
+ RESOLVED: "RESOLVED"
420
+ };
421
+ var Visibility = {
422
+ IGNORED: "IGNORED",
423
+ VISIBLE: "VISIBLE"
424
+ };
425
+ var _TooManyTagsException = class _TooManyTagsException extends ApplicationInsightsServiceException {
426
+ /**
427
+ * @internal
428
+ */
429
+ constructor(opts) {
430
+ super({
431
+ name: "TooManyTagsException",
432
+ $fault: "client",
433
+ ...opts
434
+ });
435
+ this.name = "TooManyTagsException";
436
+ this.$fault = "client";
437
+ Object.setPrototypeOf(this, _TooManyTagsException.prototype);
438
+ this.Message = opts.Message;
439
+ this.ResourceName = opts.ResourceName;
440
+ }
441
+ };
442
+ __name(_TooManyTagsException, "TooManyTagsException");
443
+ var TooManyTagsException = _TooManyTagsException;
444
+ var UpdateStatus = {
445
+ RESOLVED: "RESOLVED"
446
+ };
447
+
448
+ // src/protocols/Aws_json1_1.ts
449
+ var se_AddWorkloadCommand = /* @__PURE__ */ __name(async (input, context) => {
450
+ const headers = sharedHeaders("AddWorkload");
451
+ let body;
452
+ body = JSON.stringify((0, import_smithy_client._json)(input));
453
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
454
+ }, "se_AddWorkloadCommand");
455
+ var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
456
+ const headers = sharedHeaders("CreateApplication");
457
+ let body;
458
+ body = JSON.stringify((0, import_smithy_client._json)(input));
459
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
460
+ }, "se_CreateApplicationCommand");
461
+ var se_CreateComponentCommand = /* @__PURE__ */ __name(async (input, context) => {
462
+ const headers = sharedHeaders("CreateComponent");
463
+ let body;
464
+ body = JSON.stringify((0, import_smithy_client._json)(input));
465
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
466
+ }, "se_CreateComponentCommand");
467
+ var se_CreateLogPatternCommand = /* @__PURE__ */ __name(async (input, context) => {
468
+ const headers = sharedHeaders("CreateLogPattern");
469
+ let body;
470
+ body = JSON.stringify((0, import_smithy_client._json)(input));
471
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
472
+ }, "se_CreateLogPatternCommand");
473
+ var se_DeleteApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
474
+ const headers = sharedHeaders("DeleteApplication");
475
+ let body;
476
+ body = JSON.stringify((0, import_smithy_client._json)(input));
477
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
478
+ }, "se_DeleteApplicationCommand");
479
+ var se_DeleteComponentCommand = /* @__PURE__ */ __name(async (input, context) => {
480
+ const headers = sharedHeaders("DeleteComponent");
481
+ let body;
482
+ body = JSON.stringify((0, import_smithy_client._json)(input));
483
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
484
+ }, "se_DeleteComponentCommand");
485
+ var se_DeleteLogPatternCommand = /* @__PURE__ */ __name(async (input, context) => {
486
+ const headers = sharedHeaders("DeleteLogPattern");
487
+ let body;
488
+ body = JSON.stringify((0, import_smithy_client._json)(input));
489
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
490
+ }, "se_DeleteLogPatternCommand");
491
+ var se_DescribeApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
492
+ const headers = sharedHeaders("DescribeApplication");
493
+ let body;
494
+ body = JSON.stringify((0, import_smithy_client._json)(input));
495
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
496
+ }, "se_DescribeApplicationCommand");
497
+ var se_DescribeComponentCommand = /* @__PURE__ */ __name(async (input, context) => {
498
+ const headers = sharedHeaders("DescribeComponent");
499
+ let body;
500
+ body = JSON.stringify((0, import_smithy_client._json)(input));
501
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
502
+ }, "se_DescribeComponentCommand");
503
+ var se_DescribeComponentConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
504
+ const headers = sharedHeaders("DescribeComponentConfiguration");
505
+ let body;
506
+ body = JSON.stringify((0, import_smithy_client._json)(input));
507
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
508
+ }, "se_DescribeComponentConfigurationCommand");
509
+ var se_DescribeComponentConfigurationRecommendationCommand = /* @__PURE__ */ __name(async (input, context) => {
510
+ const headers = sharedHeaders("DescribeComponentConfigurationRecommendation");
511
+ let body;
512
+ body = JSON.stringify((0, import_smithy_client._json)(input));
513
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
514
+ }, "se_DescribeComponentConfigurationRecommendationCommand");
515
+ var se_DescribeLogPatternCommand = /* @__PURE__ */ __name(async (input, context) => {
516
+ const headers = sharedHeaders("DescribeLogPattern");
517
+ let body;
518
+ body = JSON.stringify((0, import_smithy_client._json)(input));
519
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
520
+ }, "se_DescribeLogPatternCommand");
521
+ var se_DescribeObservationCommand = /* @__PURE__ */ __name(async (input, context) => {
522
+ const headers = sharedHeaders("DescribeObservation");
523
+ let body;
524
+ body = JSON.stringify((0, import_smithy_client._json)(input));
525
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
526
+ }, "se_DescribeObservationCommand");
527
+ var se_DescribeProblemCommand = /* @__PURE__ */ __name(async (input, context) => {
528
+ const headers = sharedHeaders("DescribeProblem");
529
+ let body;
530
+ body = JSON.stringify((0, import_smithy_client._json)(input));
531
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
532
+ }, "se_DescribeProblemCommand");
533
+ var se_DescribeProblemObservationsCommand = /* @__PURE__ */ __name(async (input, context) => {
534
+ const headers = sharedHeaders("DescribeProblemObservations");
535
+ let body;
536
+ body = JSON.stringify((0, import_smithy_client._json)(input));
537
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
538
+ }, "se_DescribeProblemObservationsCommand");
539
+ var se_DescribeWorkloadCommand = /* @__PURE__ */ __name(async (input, context) => {
540
+ const headers = sharedHeaders("DescribeWorkload");
541
+ let body;
542
+ body = JSON.stringify((0, import_smithy_client._json)(input));
543
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
544
+ }, "se_DescribeWorkloadCommand");
545
+ var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) => {
546
+ const headers = sharedHeaders("ListApplications");
547
+ let body;
548
+ body = JSON.stringify((0, import_smithy_client._json)(input));
549
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
550
+ }, "se_ListApplicationsCommand");
551
+ var se_ListComponentsCommand = /* @__PURE__ */ __name(async (input, context) => {
552
+ const headers = sharedHeaders("ListComponents");
553
+ let body;
554
+ body = JSON.stringify((0, import_smithy_client._json)(input));
555
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
556
+ }, "se_ListComponentsCommand");
557
+ var se_ListConfigurationHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {
558
+ const headers = sharedHeaders("ListConfigurationHistory");
559
+ let body;
560
+ body = JSON.stringify(se_ListConfigurationHistoryRequest(input, context));
561
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
562
+ }, "se_ListConfigurationHistoryCommand");
563
+ var se_ListLogPatternsCommand = /* @__PURE__ */ __name(async (input, context) => {
564
+ const headers = sharedHeaders("ListLogPatterns");
565
+ let body;
566
+ body = JSON.stringify((0, import_smithy_client._json)(input));
567
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
568
+ }, "se_ListLogPatternsCommand");
569
+ var se_ListLogPatternSetsCommand = /* @__PURE__ */ __name(async (input, context) => {
570
+ const headers = sharedHeaders("ListLogPatternSets");
571
+ let body;
572
+ body = JSON.stringify((0, import_smithy_client._json)(input));
573
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
574
+ }, "se_ListLogPatternSetsCommand");
575
+ var se_ListProblemsCommand = /* @__PURE__ */ __name(async (input, context) => {
576
+ const headers = sharedHeaders("ListProblems");
577
+ let body;
578
+ body = JSON.stringify(se_ListProblemsRequest(input, context));
579
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
580
+ }, "se_ListProblemsCommand");
581
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
582
+ const headers = sharedHeaders("ListTagsForResource");
583
+ let body;
584
+ body = JSON.stringify((0, import_smithy_client._json)(input));
585
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
586
+ }, "se_ListTagsForResourceCommand");
587
+ var se_ListWorkloadsCommand = /* @__PURE__ */ __name(async (input, context) => {
588
+ const headers = sharedHeaders("ListWorkloads");
589
+ let body;
590
+ body = JSON.stringify((0, import_smithy_client._json)(input));
591
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
592
+ }, "se_ListWorkloadsCommand");
593
+ var se_RemoveWorkloadCommand = /* @__PURE__ */ __name(async (input, context) => {
594
+ const headers = sharedHeaders("RemoveWorkload");
595
+ let body;
596
+ body = JSON.stringify((0, import_smithy_client._json)(input));
597
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
598
+ }, "se_RemoveWorkloadCommand");
599
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
600
+ const headers = sharedHeaders("TagResource");
601
+ let body;
602
+ body = JSON.stringify((0, import_smithy_client._json)(input));
603
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
604
+ }, "se_TagResourceCommand");
605
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
606
+ const headers = sharedHeaders("UntagResource");
607
+ let body;
608
+ body = JSON.stringify((0, import_smithy_client._json)(input));
609
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
610
+ }, "se_UntagResourceCommand");
611
+ var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
612
+ const headers = sharedHeaders("UpdateApplication");
613
+ let body;
614
+ body = JSON.stringify((0, import_smithy_client._json)(input));
615
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
616
+ }, "se_UpdateApplicationCommand");
617
+ var se_UpdateComponentCommand = /* @__PURE__ */ __name(async (input, context) => {
618
+ const headers = sharedHeaders("UpdateComponent");
619
+ let body;
620
+ body = JSON.stringify((0, import_smithy_client._json)(input));
621
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
622
+ }, "se_UpdateComponentCommand");
623
+ var se_UpdateComponentConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
624
+ const headers = sharedHeaders("UpdateComponentConfiguration");
625
+ let body;
626
+ body = JSON.stringify((0, import_smithy_client._json)(input));
627
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
628
+ }, "se_UpdateComponentConfigurationCommand");
629
+ var se_UpdateLogPatternCommand = /* @__PURE__ */ __name(async (input, context) => {
630
+ const headers = sharedHeaders("UpdateLogPattern");
631
+ let body;
632
+ body = JSON.stringify((0, import_smithy_client._json)(input));
633
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
634
+ }, "se_UpdateLogPatternCommand");
635
+ var se_UpdateProblemCommand = /* @__PURE__ */ __name(async (input, context) => {
636
+ const headers = sharedHeaders("UpdateProblem");
637
+ let body;
638
+ body = JSON.stringify((0, import_smithy_client._json)(input));
639
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
640
+ }, "se_UpdateProblemCommand");
641
+ var se_UpdateWorkloadCommand = /* @__PURE__ */ __name(async (input, context) => {
642
+ const headers = sharedHeaders("UpdateWorkload");
643
+ let body;
644
+ body = JSON.stringify((0, import_smithy_client._json)(input));
645
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
646
+ }, "se_UpdateWorkloadCommand");
647
+ var de_AddWorkloadCommand = /* @__PURE__ */ __name(async (output, context) => {
648
+ if (output.statusCode >= 300) {
649
+ return de_AddWorkloadCommandError(output, context);
650
+ }
651
+ const data = await parseBody(output.body, context);
652
+ let contents = {};
653
+ contents = (0, import_smithy_client._json)(data);
654
+ const response = {
655
+ $metadata: deserializeMetadata(output),
656
+ ...contents
657
+ };
658
+ return response;
659
+ }, "de_AddWorkloadCommand");
660
+ var de_AddWorkloadCommandError = /* @__PURE__ */ __name(async (output, context) => {
661
+ const parsedOutput = {
662
+ ...output,
663
+ body: await parseErrorBody(output.body, context)
664
+ };
665
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
666
+ switch (errorCode) {
667
+ case "InternalServerException":
668
+ case "com.amazonaws.applicationinsights#InternalServerException":
669
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
670
+ case "ResourceInUseException":
671
+ case "com.amazonaws.applicationinsights#ResourceInUseException":
672
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
673
+ case "ResourceNotFoundException":
674
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
675
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
676
+ case "ValidationException":
677
+ case "com.amazonaws.applicationinsights#ValidationException":
678
+ throw await de_ValidationExceptionRes(parsedOutput, context);
679
+ default:
680
+ const parsedBody = parsedOutput.body;
681
+ return throwDefaultError({
682
+ output,
683
+ parsedBody,
684
+ errorCode
685
+ });
686
+ }
687
+ }, "de_AddWorkloadCommandError");
688
+ var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
689
+ if (output.statusCode >= 300) {
690
+ return de_CreateApplicationCommandError(output, context);
691
+ }
692
+ const data = await parseBody(output.body, context);
693
+ let contents = {};
694
+ contents = (0, import_smithy_client._json)(data);
695
+ const response = {
696
+ $metadata: deserializeMetadata(output),
697
+ ...contents
698
+ };
699
+ return response;
700
+ }, "de_CreateApplicationCommand");
701
+ var de_CreateApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
702
+ const parsedOutput = {
703
+ ...output,
704
+ body: await parseErrorBody(output.body, context)
705
+ };
706
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
707
+ switch (errorCode) {
708
+ case "AccessDeniedException":
709
+ case "com.amazonaws.applicationinsights#AccessDeniedException":
710
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
711
+ case "InternalServerException":
712
+ case "com.amazonaws.applicationinsights#InternalServerException":
713
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
714
+ case "ResourceInUseException":
715
+ case "com.amazonaws.applicationinsights#ResourceInUseException":
716
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
717
+ case "ResourceNotFoundException":
718
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
719
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
720
+ case "TagsAlreadyExistException":
721
+ case "com.amazonaws.applicationinsights#TagsAlreadyExistException":
722
+ throw await de_TagsAlreadyExistExceptionRes(parsedOutput, context);
723
+ case "ValidationException":
724
+ case "com.amazonaws.applicationinsights#ValidationException":
725
+ throw await de_ValidationExceptionRes(parsedOutput, context);
726
+ default:
727
+ const parsedBody = parsedOutput.body;
728
+ return throwDefaultError({
729
+ output,
730
+ parsedBody,
731
+ errorCode
732
+ });
733
+ }
734
+ }, "de_CreateApplicationCommandError");
735
+ var de_CreateComponentCommand = /* @__PURE__ */ __name(async (output, context) => {
736
+ if (output.statusCode >= 300) {
737
+ return de_CreateComponentCommandError(output, context);
738
+ }
739
+ const data = await parseBody(output.body, context);
740
+ let contents = {};
741
+ contents = (0, import_smithy_client._json)(data);
742
+ const response = {
743
+ $metadata: deserializeMetadata(output),
744
+ ...contents
745
+ };
746
+ return response;
747
+ }, "de_CreateComponentCommand");
748
+ var de_CreateComponentCommandError = /* @__PURE__ */ __name(async (output, context) => {
749
+ const parsedOutput = {
750
+ ...output,
751
+ body: await parseErrorBody(output.body, context)
752
+ };
753
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
754
+ switch (errorCode) {
755
+ case "InternalServerException":
756
+ case "com.amazonaws.applicationinsights#InternalServerException":
757
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
758
+ case "ResourceInUseException":
759
+ case "com.amazonaws.applicationinsights#ResourceInUseException":
760
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
761
+ case "ResourceNotFoundException":
762
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
763
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
764
+ case "ValidationException":
765
+ case "com.amazonaws.applicationinsights#ValidationException":
766
+ throw await de_ValidationExceptionRes(parsedOutput, context);
767
+ default:
768
+ const parsedBody = parsedOutput.body;
769
+ return throwDefaultError({
770
+ output,
771
+ parsedBody,
772
+ errorCode
773
+ });
774
+ }
775
+ }, "de_CreateComponentCommandError");
776
+ var de_CreateLogPatternCommand = /* @__PURE__ */ __name(async (output, context) => {
777
+ if (output.statusCode >= 300) {
778
+ return de_CreateLogPatternCommandError(output, context);
779
+ }
780
+ const data = await parseBody(output.body, context);
781
+ let contents = {};
782
+ contents = (0, import_smithy_client._json)(data);
783
+ const response = {
784
+ $metadata: deserializeMetadata(output),
785
+ ...contents
786
+ };
787
+ return response;
788
+ }, "de_CreateLogPatternCommand");
789
+ var de_CreateLogPatternCommandError = /* @__PURE__ */ __name(async (output, context) => {
790
+ const parsedOutput = {
791
+ ...output,
792
+ body: await parseErrorBody(output.body, context)
793
+ };
794
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
795
+ switch (errorCode) {
796
+ case "InternalServerException":
797
+ case "com.amazonaws.applicationinsights#InternalServerException":
798
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
799
+ case "ResourceInUseException":
800
+ case "com.amazonaws.applicationinsights#ResourceInUseException":
801
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
802
+ case "ResourceNotFoundException":
803
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
804
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
805
+ case "ValidationException":
806
+ case "com.amazonaws.applicationinsights#ValidationException":
807
+ throw await de_ValidationExceptionRes(parsedOutput, context);
808
+ default:
809
+ const parsedBody = parsedOutput.body;
810
+ return throwDefaultError({
811
+ output,
812
+ parsedBody,
813
+ errorCode
814
+ });
815
+ }
816
+ }, "de_CreateLogPatternCommandError");
817
+ var de_DeleteApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
818
+ if (output.statusCode >= 300) {
819
+ return de_DeleteApplicationCommandError(output, context);
820
+ }
821
+ const data = await parseBody(output.body, context);
822
+ let contents = {};
823
+ contents = (0, import_smithy_client._json)(data);
824
+ const response = {
825
+ $metadata: deserializeMetadata(output),
826
+ ...contents
827
+ };
828
+ return response;
829
+ }, "de_DeleteApplicationCommand");
830
+ var de_DeleteApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
831
+ const parsedOutput = {
832
+ ...output,
833
+ body: await parseErrorBody(output.body, context)
834
+ };
835
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
836
+ switch (errorCode) {
837
+ case "BadRequestException":
838
+ case "com.amazonaws.applicationinsights#BadRequestException":
839
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
840
+ case "InternalServerException":
841
+ case "com.amazonaws.applicationinsights#InternalServerException":
842
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
843
+ case "ResourceNotFoundException":
844
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
845
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
846
+ case "ValidationException":
847
+ case "com.amazonaws.applicationinsights#ValidationException":
848
+ throw await de_ValidationExceptionRes(parsedOutput, context);
849
+ default:
850
+ const parsedBody = parsedOutput.body;
851
+ return throwDefaultError({
852
+ output,
853
+ parsedBody,
854
+ errorCode
855
+ });
856
+ }
857
+ }, "de_DeleteApplicationCommandError");
858
+ var de_DeleteComponentCommand = /* @__PURE__ */ __name(async (output, context) => {
859
+ if (output.statusCode >= 300) {
860
+ return de_DeleteComponentCommandError(output, context);
861
+ }
862
+ const data = await parseBody(output.body, context);
863
+ let contents = {};
864
+ contents = (0, import_smithy_client._json)(data);
865
+ const response = {
866
+ $metadata: deserializeMetadata(output),
867
+ ...contents
868
+ };
869
+ return response;
870
+ }, "de_DeleteComponentCommand");
871
+ var de_DeleteComponentCommandError = /* @__PURE__ */ __name(async (output, context) => {
872
+ const parsedOutput = {
873
+ ...output,
874
+ body: await parseErrorBody(output.body, context)
875
+ };
876
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
877
+ switch (errorCode) {
878
+ case "InternalServerException":
879
+ case "com.amazonaws.applicationinsights#InternalServerException":
880
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
881
+ case "ResourceNotFoundException":
882
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
883
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
884
+ case "ValidationException":
885
+ case "com.amazonaws.applicationinsights#ValidationException":
886
+ throw await de_ValidationExceptionRes(parsedOutput, context);
887
+ default:
888
+ const parsedBody = parsedOutput.body;
889
+ return throwDefaultError({
890
+ output,
891
+ parsedBody,
892
+ errorCode
893
+ });
894
+ }
895
+ }, "de_DeleteComponentCommandError");
896
+ var de_DeleteLogPatternCommand = /* @__PURE__ */ __name(async (output, context) => {
897
+ if (output.statusCode >= 300) {
898
+ return de_DeleteLogPatternCommandError(output, context);
899
+ }
900
+ const data = await parseBody(output.body, context);
901
+ let contents = {};
902
+ contents = (0, import_smithy_client._json)(data);
903
+ const response = {
904
+ $metadata: deserializeMetadata(output),
905
+ ...contents
906
+ };
907
+ return response;
908
+ }, "de_DeleteLogPatternCommand");
909
+ var de_DeleteLogPatternCommandError = /* @__PURE__ */ __name(async (output, context) => {
910
+ const parsedOutput = {
911
+ ...output,
912
+ body: await parseErrorBody(output.body, context)
913
+ };
914
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
915
+ switch (errorCode) {
916
+ case "BadRequestException":
917
+ case "com.amazonaws.applicationinsights#BadRequestException":
918
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
919
+ case "InternalServerException":
920
+ case "com.amazonaws.applicationinsights#InternalServerException":
921
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
922
+ case "ResourceNotFoundException":
923
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
924
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
925
+ case "ValidationException":
926
+ case "com.amazonaws.applicationinsights#ValidationException":
927
+ throw await de_ValidationExceptionRes(parsedOutput, context);
928
+ default:
929
+ const parsedBody = parsedOutput.body;
930
+ return throwDefaultError({
931
+ output,
932
+ parsedBody,
933
+ errorCode
934
+ });
935
+ }
936
+ }, "de_DeleteLogPatternCommandError");
937
+ var de_DescribeApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
938
+ if (output.statusCode >= 300) {
939
+ return de_DescribeApplicationCommandError(output, context);
940
+ }
941
+ const data = await parseBody(output.body, context);
942
+ let contents = {};
943
+ contents = (0, import_smithy_client._json)(data);
944
+ const response = {
945
+ $metadata: deserializeMetadata(output),
946
+ ...contents
947
+ };
948
+ return response;
949
+ }, "de_DescribeApplicationCommand");
950
+ var de_DescribeApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
951
+ const parsedOutput = {
952
+ ...output,
953
+ body: await parseErrorBody(output.body, context)
954
+ };
955
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
956
+ switch (errorCode) {
957
+ case "InternalServerException":
958
+ case "com.amazonaws.applicationinsights#InternalServerException":
959
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
960
+ case "ResourceNotFoundException":
961
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
962
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
963
+ case "ValidationException":
964
+ case "com.amazonaws.applicationinsights#ValidationException":
965
+ throw await de_ValidationExceptionRes(parsedOutput, context);
966
+ default:
967
+ const parsedBody = parsedOutput.body;
968
+ return throwDefaultError({
969
+ output,
970
+ parsedBody,
971
+ errorCode
972
+ });
973
+ }
974
+ }, "de_DescribeApplicationCommandError");
975
+ var de_DescribeComponentCommand = /* @__PURE__ */ __name(async (output, context) => {
976
+ if (output.statusCode >= 300) {
977
+ return de_DescribeComponentCommandError(output, context);
978
+ }
979
+ const data = await parseBody(output.body, context);
980
+ let contents = {};
981
+ contents = (0, import_smithy_client._json)(data);
982
+ const response = {
983
+ $metadata: deserializeMetadata(output),
984
+ ...contents
985
+ };
986
+ return response;
987
+ }, "de_DescribeComponentCommand");
988
+ var de_DescribeComponentCommandError = /* @__PURE__ */ __name(async (output, context) => {
989
+ const parsedOutput = {
990
+ ...output,
991
+ body: await parseErrorBody(output.body, context)
992
+ };
993
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
994
+ switch (errorCode) {
995
+ case "InternalServerException":
996
+ case "com.amazonaws.applicationinsights#InternalServerException":
997
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
998
+ case "ResourceNotFoundException":
999
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1000
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1001
+ case "ValidationException":
1002
+ case "com.amazonaws.applicationinsights#ValidationException":
1003
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1004
+ default:
1005
+ const parsedBody = parsedOutput.body;
1006
+ return throwDefaultError({
1007
+ output,
1008
+ parsedBody,
1009
+ errorCode
1010
+ });
1011
+ }
1012
+ }, "de_DescribeComponentCommandError");
1013
+ var de_DescribeComponentConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1014
+ if (output.statusCode >= 300) {
1015
+ return de_DescribeComponentConfigurationCommandError(output, context);
1016
+ }
1017
+ const data = await parseBody(output.body, context);
1018
+ let contents = {};
1019
+ contents = (0, import_smithy_client._json)(data);
1020
+ const response = {
1021
+ $metadata: deserializeMetadata(output),
1022
+ ...contents
1023
+ };
1024
+ return response;
1025
+ }, "de_DescribeComponentConfigurationCommand");
1026
+ var de_DescribeComponentConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1027
+ const parsedOutput = {
1028
+ ...output,
1029
+ body: await parseErrorBody(output.body, context)
1030
+ };
1031
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1032
+ switch (errorCode) {
1033
+ case "InternalServerException":
1034
+ case "com.amazonaws.applicationinsights#InternalServerException":
1035
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1036
+ case "ResourceNotFoundException":
1037
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1038
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1039
+ case "ValidationException":
1040
+ case "com.amazonaws.applicationinsights#ValidationException":
1041
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1042
+ default:
1043
+ const parsedBody = parsedOutput.body;
1044
+ return throwDefaultError({
1045
+ output,
1046
+ parsedBody,
1047
+ errorCode
1048
+ });
1049
+ }
1050
+ }, "de_DescribeComponentConfigurationCommandError");
1051
+ var de_DescribeComponentConfigurationRecommendationCommand = /* @__PURE__ */ __name(async (output, context) => {
1052
+ if (output.statusCode >= 300) {
1053
+ return de_DescribeComponentConfigurationRecommendationCommandError(output, context);
1054
+ }
1055
+ const data = await parseBody(output.body, context);
1056
+ let contents = {};
1057
+ contents = (0, import_smithy_client._json)(data);
1058
+ const response = {
1059
+ $metadata: deserializeMetadata(output),
1060
+ ...contents
1061
+ };
1062
+ return response;
1063
+ }, "de_DescribeComponentConfigurationRecommendationCommand");
1064
+ var de_DescribeComponentConfigurationRecommendationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1065
+ const parsedOutput = {
1066
+ ...output,
1067
+ body: await parseErrorBody(output.body, context)
1068
+ };
1069
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1070
+ switch (errorCode) {
1071
+ case "InternalServerException":
1072
+ case "com.amazonaws.applicationinsights#InternalServerException":
1073
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1074
+ case "ResourceNotFoundException":
1075
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1076
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1077
+ case "ValidationException":
1078
+ case "com.amazonaws.applicationinsights#ValidationException":
1079
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1080
+ default:
1081
+ const parsedBody = parsedOutput.body;
1082
+ return throwDefaultError({
1083
+ output,
1084
+ parsedBody,
1085
+ errorCode
1086
+ });
1087
+ }
1088
+ }, "de_DescribeComponentConfigurationRecommendationCommandError");
1089
+ var de_DescribeLogPatternCommand = /* @__PURE__ */ __name(async (output, context) => {
1090
+ if (output.statusCode >= 300) {
1091
+ return de_DescribeLogPatternCommandError(output, context);
1092
+ }
1093
+ const data = await parseBody(output.body, context);
1094
+ let contents = {};
1095
+ contents = (0, import_smithy_client._json)(data);
1096
+ const response = {
1097
+ $metadata: deserializeMetadata(output),
1098
+ ...contents
1099
+ };
1100
+ return response;
1101
+ }, "de_DescribeLogPatternCommand");
1102
+ var de_DescribeLogPatternCommandError = /* @__PURE__ */ __name(async (output, context) => {
1103
+ const parsedOutput = {
1104
+ ...output,
1105
+ body: await parseErrorBody(output.body, context)
1106
+ };
1107
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1108
+ switch (errorCode) {
1109
+ case "InternalServerException":
1110
+ case "com.amazonaws.applicationinsights#InternalServerException":
1111
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1112
+ case "ResourceNotFoundException":
1113
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1114
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1115
+ case "ValidationException":
1116
+ case "com.amazonaws.applicationinsights#ValidationException":
1117
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1118
+ default:
1119
+ const parsedBody = parsedOutput.body;
1120
+ return throwDefaultError({
1121
+ output,
1122
+ parsedBody,
1123
+ errorCode
1124
+ });
1125
+ }
1126
+ }, "de_DescribeLogPatternCommandError");
1127
+ var de_DescribeObservationCommand = /* @__PURE__ */ __name(async (output, context) => {
1128
+ if (output.statusCode >= 300) {
1129
+ return de_DescribeObservationCommandError(output, context);
1130
+ }
1131
+ const data = await parseBody(output.body, context);
1132
+ let contents = {};
1133
+ contents = de_DescribeObservationResponse(data, context);
1134
+ const response = {
1135
+ $metadata: deserializeMetadata(output),
1136
+ ...contents
1137
+ };
1138
+ return response;
1139
+ }, "de_DescribeObservationCommand");
1140
+ var de_DescribeObservationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1141
+ const parsedOutput = {
1142
+ ...output,
1143
+ body: await parseErrorBody(output.body, context)
1144
+ };
1145
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1146
+ switch (errorCode) {
1147
+ case "InternalServerException":
1148
+ case "com.amazonaws.applicationinsights#InternalServerException":
1149
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1150
+ case "ResourceNotFoundException":
1151
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1152
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1153
+ case "ValidationException":
1154
+ case "com.amazonaws.applicationinsights#ValidationException":
1155
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1156
+ default:
1157
+ const parsedBody = parsedOutput.body;
1158
+ return throwDefaultError({
1159
+ output,
1160
+ parsedBody,
1161
+ errorCode
1162
+ });
1163
+ }
1164
+ }, "de_DescribeObservationCommandError");
1165
+ var de_DescribeProblemCommand = /* @__PURE__ */ __name(async (output, context) => {
1166
+ if (output.statusCode >= 300) {
1167
+ return de_DescribeProblemCommandError(output, context);
1168
+ }
1169
+ const data = await parseBody(output.body, context);
1170
+ let contents = {};
1171
+ contents = de_DescribeProblemResponse(data, context);
1172
+ const response = {
1173
+ $metadata: deserializeMetadata(output),
1174
+ ...contents
1175
+ };
1176
+ return response;
1177
+ }, "de_DescribeProblemCommand");
1178
+ var de_DescribeProblemCommandError = /* @__PURE__ */ __name(async (output, context) => {
1179
+ const parsedOutput = {
1180
+ ...output,
1181
+ body: await parseErrorBody(output.body, context)
1182
+ };
1183
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1184
+ switch (errorCode) {
1185
+ case "InternalServerException":
1186
+ case "com.amazonaws.applicationinsights#InternalServerException":
1187
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1188
+ case "ResourceNotFoundException":
1189
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1190
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1191
+ case "ValidationException":
1192
+ case "com.amazonaws.applicationinsights#ValidationException":
1193
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1194
+ default:
1195
+ const parsedBody = parsedOutput.body;
1196
+ return throwDefaultError({
1197
+ output,
1198
+ parsedBody,
1199
+ errorCode
1200
+ });
1201
+ }
1202
+ }, "de_DescribeProblemCommandError");
1203
+ var de_DescribeProblemObservationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1204
+ if (output.statusCode >= 300) {
1205
+ return de_DescribeProblemObservationsCommandError(output, context);
1206
+ }
1207
+ const data = await parseBody(output.body, context);
1208
+ let contents = {};
1209
+ contents = de_DescribeProblemObservationsResponse(data, context);
1210
+ const response = {
1211
+ $metadata: deserializeMetadata(output),
1212
+ ...contents
1213
+ };
1214
+ return response;
1215
+ }, "de_DescribeProblemObservationsCommand");
1216
+ var de_DescribeProblemObservationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1217
+ const parsedOutput = {
1218
+ ...output,
1219
+ body: await parseErrorBody(output.body, context)
1220
+ };
1221
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1222
+ switch (errorCode) {
1223
+ case "InternalServerException":
1224
+ case "com.amazonaws.applicationinsights#InternalServerException":
1225
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1226
+ case "ResourceNotFoundException":
1227
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1228
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1229
+ case "ValidationException":
1230
+ case "com.amazonaws.applicationinsights#ValidationException":
1231
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1232
+ default:
1233
+ const parsedBody = parsedOutput.body;
1234
+ return throwDefaultError({
1235
+ output,
1236
+ parsedBody,
1237
+ errorCode
1238
+ });
1239
+ }
1240
+ }, "de_DescribeProblemObservationsCommandError");
1241
+ var de_DescribeWorkloadCommand = /* @__PURE__ */ __name(async (output, context) => {
1242
+ if (output.statusCode >= 300) {
1243
+ return de_DescribeWorkloadCommandError(output, context);
1244
+ }
1245
+ const data = await parseBody(output.body, context);
1246
+ let contents = {};
1247
+ contents = (0, import_smithy_client._json)(data);
1248
+ const response = {
1249
+ $metadata: deserializeMetadata(output),
1250
+ ...contents
1251
+ };
1252
+ return response;
1253
+ }, "de_DescribeWorkloadCommand");
1254
+ var de_DescribeWorkloadCommandError = /* @__PURE__ */ __name(async (output, context) => {
1255
+ const parsedOutput = {
1256
+ ...output,
1257
+ body: await parseErrorBody(output.body, context)
1258
+ };
1259
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1260
+ switch (errorCode) {
1261
+ case "InternalServerException":
1262
+ case "com.amazonaws.applicationinsights#InternalServerException":
1263
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1264
+ case "ResourceNotFoundException":
1265
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1266
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1267
+ case "ValidationException":
1268
+ case "com.amazonaws.applicationinsights#ValidationException":
1269
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1270
+ default:
1271
+ const parsedBody = parsedOutput.body;
1272
+ return throwDefaultError({
1273
+ output,
1274
+ parsedBody,
1275
+ errorCode
1276
+ });
1277
+ }
1278
+ }, "de_DescribeWorkloadCommandError");
1279
+ var de_ListApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1280
+ if (output.statusCode >= 300) {
1281
+ return de_ListApplicationsCommandError(output, context);
1282
+ }
1283
+ const data = await parseBody(output.body, context);
1284
+ let contents = {};
1285
+ contents = (0, import_smithy_client._json)(data);
1286
+ const response = {
1287
+ $metadata: deserializeMetadata(output),
1288
+ ...contents
1289
+ };
1290
+ return response;
1291
+ }, "de_ListApplicationsCommand");
1292
+ var de_ListApplicationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1293
+ const parsedOutput = {
1294
+ ...output,
1295
+ body: await parseErrorBody(output.body, context)
1296
+ };
1297
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1298
+ switch (errorCode) {
1299
+ case "InternalServerException":
1300
+ case "com.amazonaws.applicationinsights#InternalServerException":
1301
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1302
+ case "ValidationException":
1303
+ case "com.amazonaws.applicationinsights#ValidationException":
1304
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1305
+ default:
1306
+ const parsedBody = parsedOutput.body;
1307
+ return throwDefaultError({
1308
+ output,
1309
+ parsedBody,
1310
+ errorCode
1311
+ });
1312
+ }
1313
+ }, "de_ListApplicationsCommandError");
1314
+ var de_ListComponentsCommand = /* @__PURE__ */ __name(async (output, context) => {
1315
+ if (output.statusCode >= 300) {
1316
+ return de_ListComponentsCommandError(output, context);
1317
+ }
1318
+ const data = await parseBody(output.body, context);
1319
+ let contents = {};
1320
+ contents = (0, import_smithy_client._json)(data);
1321
+ const response = {
1322
+ $metadata: deserializeMetadata(output),
1323
+ ...contents
1324
+ };
1325
+ return response;
1326
+ }, "de_ListComponentsCommand");
1327
+ var de_ListComponentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1328
+ const parsedOutput = {
1329
+ ...output,
1330
+ body: await parseErrorBody(output.body, context)
1331
+ };
1332
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1333
+ switch (errorCode) {
1334
+ case "InternalServerException":
1335
+ case "com.amazonaws.applicationinsights#InternalServerException":
1336
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1337
+ case "ResourceNotFoundException":
1338
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1339
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1340
+ case "ValidationException":
1341
+ case "com.amazonaws.applicationinsights#ValidationException":
1342
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1343
+ default:
1344
+ const parsedBody = parsedOutput.body;
1345
+ return throwDefaultError({
1346
+ output,
1347
+ parsedBody,
1348
+ errorCode
1349
+ });
1350
+ }
1351
+ }, "de_ListComponentsCommandError");
1352
+ var de_ListConfigurationHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {
1353
+ if (output.statusCode >= 300) {
1354
+ return de_ListConfigurationHistoryCommandError(output, context);
1355
+ }
1356
+ const data = await parseBody(output.body, context);
1357
+ let contents = {};
1358
+ contents = de_ListConfigurationHistoryResponse(data, context);
1359
+ const response = {
1360
+ $metadata: deserializeMetadata(output),
1361
+ ...contents
1362
+ };
1363
+ return response;
1364
+ }, "de_ListConfigurationHistoryCommand");
1365
+ var de_ListConfigurationHistoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
1366
+ const parsedOutput = {
1367
+ ...output,
1368
+ body: await parseErrorBody(output.body, context)
1369
+ };
1370
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1371
+ switch (errorCode) {
1372
+ case "InternalServerException":
1373
+ case "com.amazonaws.applicationinsights#InternalServerException":
1374
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1375
+ case "ResourceNotFoundException":
1376
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1377
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1378
+ case "ValidationException":
1379
+ case "com.amazonaws.applicationinsights#ValidationException":
1380
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1381
+ default:
1382
+ const parsedBody = parsedOutput.body;
1383
+ return throwDefaultError({
1384
+ output,
1385
+ parsedBody,
1386
+ errorCode
1387
+ });
1388
+ }
1389
+ }, "de_ListConfigurationHistoryCommandError");
1390
+ var de_ListLogPatternsCommand = /* @__PURE__ */ __name(async (output, context) => {
1391
+ if (output.statusCode >= 300) {
1392
+ return de_ListLogPatternsCommandError(output, context);
1393
+ }
1394
+ const data = await parseBody(output.body, context);
1395
+ let contents = {};
1396
+ contents = (0, import_smithy_client._json)(data);
1397
+ const response = {
1398
+ $metadata: deserializeMetadata(output),
1399
+ ...contents
1400
+ };
1401
+ return response;
1402
+ }, "de_ListLogPatternsCommand");
1403
+ var de_ListLogPatternsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1404
+ const parsedOutput = {
1405
+ ...output,
1406
+ body: await parseErrorBody(output.body, context)
1407
+ };
1408
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1409
+ switch (errorCode) {
1410
+ case "InternalServerException":
1411
+ case "com.amazonaws.applicationinsights#InternalServerException":
1412
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1413
+ case "ResourceNotFoundException":
1414
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1415
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1416
+ case "ValidationException":
1417
+ case "com.amazonaws.applicationinsights#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_ListLogPatternsCommandError");
1428
+ var de_ListLogPatternSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
1429
+ if (output.statusCode >= 300) {
1430
+ return de_ListLogPatternSetsCommandError(output, context);
1431
+ }
1432
+ const data = await parseBody(output.body, context);
1433
+ let contents = {};
1434
+ contents = (0, import_smithy_client._json)(data);
1435
+ const response = {
1436
+ $metadata: deserializeMetadata(output),
1437
+ ...contents
1438
+ };
1439
+ return response;
1440
+ }, "de_ListLogPatternSetsCommand");
1441
+ var de_ListLogPatternSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1442
+ const parsedOutput = {
1443
+ ...output,
1444
+ body: await parseErrorBody(output.body, context)
1445
+ };
1446
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1447
+ switch (errorCode) {
1448
+ case "InternalServerException":
1449
+ case "com.amazonaws.applicationinsights#InternalServerException":
1450
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1451
+ case "ResourceNotFoundException":
1452
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1453
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1454
+ case "ValidationException":
1455
+ case "com.amazonaws.applicationinsights#ValidationException":
1456
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1457
+ default:
1458
+ const parsedBody = parsedOutput.body;
1459
+ return throwDefaultError({
1460
+ output,
1461
+ parsedBody,
1462
+ errorCode
1463
+ });
1464
+ }
1465
+ }, "de_ListLogPatternSetsCommandError");
1466
+ var de_ListProblemsCommand = /* @__PURE__ */ __name(async (output, context) => {
1467
+ if (output.statusCode >= 300) {
1468
+ return de_ListProblemsCommandError(output, context);
1469
+ }
1470
+ const data = await parseBody(output.body, context);
1471
+ let contents = {};
1472
+ contents = de_ListProblemsResponse(data, context);
1473
+ const response = {
1474
+ $metadata: deserializeMetadata(output),
1475
+ ...contents
1476
+ };
1477
+ return response;
1478
+ }, "de_ListProblemsCommand");
1479
+ var de_ListProblemsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1480
+ const parsedOutput = {
1481
+ ...output,
1482
+ body: await parseErrorBody(output.body, context)
1483
+ };
1484
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1485
+ switch (errorCode) {
1486
+ case "InternalServerException":
1487
+ case "com.amazonaws.applicationinsights#InternalServerException":
1488
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1489
+ case "ResourceNotFoundException":
1490
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1491
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1492
+ case "ValidationException":
1493
+ case "com.amazonaws.applicationinsights#ValidationException":
1494
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1495
+ default:
1496
+ const parsedBody = parsedOutput.body;
1497
+ return throwDefaultError({
1498
+ output,
1499
+ parsedBody,
1500
+ errorCode
1501
+ });
1502
+ }
1503
+ }, "de_ListProblemsCommandError");
1504
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1505
+ if (output.statusCode >= 300) {
1506
+ return de_ListTagsForResourceCommandError(output, context);
1507
+ }
1508
+ const data = await parseBody(output.body, context);
1509
+ let contents = {};
1510
+ contents = (0, import_smithy_client._json)(data);
1511
+ const response = {
1512
+ $metadata: deserializeMetadata(output),
1513
+ ...contents
1514
+ };
1515
+ return response;
1516
+ }, "de_ListTagsForResourceCommand");
1517
+ var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1518
+ const parsedOutput = {
1519
+ ...output,
1520
+ body: await parseErrorBody(output.body, context)
1521
+ };
1522
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1523
+ switch (errorCode) {
1524
+ case "ResourceNotFoundException":
1525
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1526
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1527
+ case "ValidationException":
1528
+ case "com.amazonaws.applicationinsights#ValidationException":
1529
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1530
+ default:
1531
+ const parsedBody = parsedOutput.body;
1532
+ return throwDefaultError({
1533
+ output,
1534
+ parsedBody,
1535
+ errorCode
1536
+ });
1537
+ }
1538
+ }, "de_ListTagsForResourceCommandError");
1539
+ var de_ListWorkloadsCommand = /* @__PURE__ */ __name(async (output, context) => {
1540
+ if (output.statusCode >= 300) {
1541
+ return de_ListWorkloadsCommandError(output, context);
1542
+ }
1543
+ const data = await parseBody(output.body, context);
1544
+ let contents = {};
1545
+ contents = (0, import_smithy_client._json)(data);
1546
+ const response = {
1547
+ $metadata: deserializeMetadata(output),
1548
+ ...contents
1549
+ };
1550
+ return response;
1551
+ }, "de_ListWorkloadsCommand");
1552
+ var de_ListWorkloadsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1553
+ const parsedOutput = {
1554
+ ...output,
1555
+ body: await parseErrorBody(output.body, context)
1556
+ };
1557
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1558
+ switch (errorCode) {
1559
+ case "InternalServerException":
1560
+ case "com.amazonaws.applicationinsights#InternalServerException":
1561
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1562
+ case "ResourceNotFoundException":
1563
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1564
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1565
+ case "ValidationException":
1566
+ case "com.amazonaws.applicationinsights#ValidationException":
1567
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1568
+ default:
1569
+ const parsedBody = parsedOutput.body;
1570
+ return throwDefaultError({
1571
+ output,
1572
+ parsedBody,
1573
+ errorCode
1574
+ });
1575
+ }
1576
+ }, "de_ListWorkloadsCommandError");
1577
+ var de_RemoveWorkloadCommand = /* @__PURE__ */ __name(async (output, context) => {
1578
+ if (output.statusCode >= 300) {
1579
+ return de_RemoveWorkloadCommandError(output, context);
1580
+ }
1581
+ const data = await parseBody(output.body, context);
1582
+ let contents = {};
1583
+ contents = (0, import_smithy_client._json)(data);
1584
+ const response = {
1585
+ $metadata: deserializeMetadata(output),
1586
+ ...contents
1587
+ };
1588
+ return response;
1589
+ }, "de_RemoveWorkloadCommand");
1590
+ var de_RemoveWorkloadCommandError = /* @__PURE__ */ __name(async (output, context) => {
1591
+ const parsedOutput = {
1592
+ ...output,
1593
+ body: await parseErrorBody(output.body, context)
1594
+ };
1595
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1596
+ switch (errorCode) {
1597
+ case "InternalServerException":
1598
+ case "com.amazonaws.applicationinsights#InternalServerException":
1599
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1600
+ case "ResourceNotFoundException":
1601
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1602
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1603
+ case "ValidationException":
1604
+ case "com.amazonaws.applicationinsights#ValidationException":
1605
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1606
+ default:
1607
+ const parsedBody = parsedOutput.body;
1608
+ return throwDefaultError({
1609
+ output,
1610
+ parsedBody,
1611
+ errorCode
1612
+ });
1613
+ }
1614
+ }, "de_RemoveWorkloadCommandError");
1615
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1616
+ if (output.statusCode >= 300) {
1617
+ return de_TagResourceCommandError(output, context);
1618
+ }
1619
+ const data = await parseBody(output.body, context);
1620
+ let contents = {};
1621
+ contents = (0, import_smithy_client._json)(data);
1622
+ const response = {
1623
+ $metadata: deserializeMetadata(output),
1624
+ ...contents
1625
+ };
1626
+ return response;
1627
+ }, "de_TagResourceCommand");
1628
+ var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1629
+ const parsedOutput = {
1630
+ ...output,
1631
+ body: await parseErrorBody(output.body, context)
1632
+ };
1633
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1634
+ switch (errorCode) {
1635
+ case "ResourceNotFoundException":
1636
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1637
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1638
+ case "TooManyTagsException":
1639
+ case "com.amazonaws.applicationinsights#TooManyTagsException":
1640
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1641
+ case "ValidationException":
1642
+ case "com.amazonaws.applicationinsights#ValidationException":
1643
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1644
+ default:
1645
+ const parsedBody = parsedOutput.body;
1646
+ return throwDefaultError({
1647
+ output,
1648
+ parsedBody,
1649
+ errorCode
1650
+ });
1651
+ }
1652
+ }, "de_TagResourceCommandError");
1653
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1654
+ if (output.statusCode >= 300) {
1655
+ return de_UntagResourceCommandError(output, context);
1656
+ }
1657
+ const data = await parseBody(output.body, context);
1658
+ let contents = {};
1659
+ contents = (0, import_smithy_client._json)(data);
1660
+ const response = {
1661
+ $metadata: deserializeMetadata(output),
1662
+ ...contents
1663
+ };
1664
+ return response;
1665
+ }, "de_UntagResourceCommand");
1666
+ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1667
+ const parsedOutput = {
1668
+ ...output,
1669
+ body: await parseErrorBody(output.body, context)
1670
+ };
1671
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1672
+ switch (errorCode) {
1673
+ case "ResourceNotFoundException":
1674
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1675
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1676
+ case "ValidationException":
1677
+ case "com.amazonaws.applicationinsights#ValidationException":
1678
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1679
+ default:
1680
+ const parsedBody = parsedOutput.body;
1681
+ return throwDefaultError({
1682
+ output,
1683
+ parsedBody,
1684
+ errorCode
1685
+ });
1686
+ }
1687
+ }, "de_UntagResourceCommandError");
1688
+ var de_UpdateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
1689
+ if (output.statusCode >= 300) {
1690
+ return de_UpdateApplicationCommandError(output, context);
1691
+ }
1692
+ const data = await parseBody(output.body, context);
1693
+ let contents = {};
1694
+ contents = (0, import_smithy_client._json)(data);
1695
+ const response = {
1696
+ $metadata: deserializeMetadata(output),
1697
+ ...contents
1698
+ };
1699
+ return response;
1700
+ }, "de_UpdateApplicationCommand");
1701
+ var de_UpdateApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1702
+ const parsedOutput = {
1703
+ ...output,
1704
+ body: await parseErrorBody(output.body, context)
1705
+ };
1706
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1707
+ switch (errorCode) {
1708
+ case "InternalServerException":
1709
+ case "com.amazonaws.applicationinsights#InternalServerException":
1710
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1711
+ case "ResourceNotFoundException":
1712
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1713
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1714
+ case "ValidationException":
1715
+ case "com.amazonaws.applicationinsights#ValidationException":
1716
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1717
+ default:
1718
+ const parsedBody = parsedOutput.body;
1719
+ return throwDefaultError({
1720
+ output,
1721
+ parsedBody,
1722
+ errorCode
1723
+ });
1724
+ }
1725
+ }, "de_UpdateApplicationCommandError");
1726
+ var de_UpdateComponentCommand = /* @__PURE__ */ __name(async (output, context) => {
1727
+ if (output.statusCode >= 300) {
1728
+ return de_UpdateComponentCommandError(output, context);
1729
+ }
1730
+ const data = await parseBody(output.body, context);
1731
+ let contents = {};
1732
+ contents = (0, import_smithy_client._json)(data);
1733
+ const response = {
1734
+ $metadata: deserializeMetadata(output),
1735
+ ...contents
1736
+ };
1737
+ return response;
1738
+ }, "de_UpdateComponentCommand");
1739
+ var de_UpdateComponentCommandError = /* @__PURE__ */ __name(async (output, context) => {
1740
+ const parsedOutput = {
1741
+ ...output,
1742
+ body: await parseErrorBody(output.body, context)
1743
+ };
1744
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1745
+ switch (errorCode) {
1746
+ case "InternalServerException":
1747
+ case "com.amazonaws.applicationinsights#InternalServerException":
1748
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1749
+ case "ResourceInUseException":
1750
+ case "com.amazonaws.applicationinsights#ResourceInUseException":
1751
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
1752
+ case "ResourceNotFoundException":
1753
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1754
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1755
+ case "ValidationException":
1756
+ case "com.amazonaws.applicationinsights#ValidationException":
1757
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1758
+ default:
1759
+ const parsedBody = parsedOutput.body;
1760
+ return throwDefaultError({
1761
+ output,
1762
+ parsedBody,
1763
+ errorCode
1764
+ });
1765
+ }
1766
+ }, "de_UpdateComponentCommandError");
1767
+ var de_UpdateComponentConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1768
+ if (output.statusCode >= 300) {
1769
+ return de_UpdateComponentConfigurationCommandError(output, context);
1770
+ }
1771
+ const data = await parseBody(output.body, context);
1772
+ let contents = {};
1773
+ contents = (0, import_smithy_client._json)(data);
1774
+ const response = {
1775
+ $metadata: deserializeMetadata(output),
1776
+ ...contents
1777
+ };
1778
+ return response;
1779
+ }, "de_UpdateComponentConfigurationCommand");
1780
+ var de_UpdateComponentConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1781
+ const parsedOutput = {
1782
+ ...output,
1783
+ body: await parseErrorBody(output.body, context)
1784
+ };
1785
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1786
+ switch (errorCode) {
1787
+ case "InternalServerException":
1788
+ case "com.amazonaws.applicationinsights#InternalServerException":
1789
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1790
+ case "ResourceInUseException":
1791
+ case "com.amazonaws.applicationinsights#ResourceInUseException":
1792
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
1793
+ case "ResourceNotFoundException":
1794
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1795
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1796
+ case "ValidationException":
1797
+ case "com.amazonaws.applicationinsights#ValidationException":
1798
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1799
+ default:
1800
+ const parsedBody = parsedOutput.body;
1801
+ return throwDefaultError({
1802
+ output,
1803
+ parsedBody,
1804
+ errorCode
1805
+ });
1806
+ }
1807
+ }, "de_UpdateComponentConfigurationCommandError");
1808
+ var de_UpdateLogPatternCommand = /* @__PURE__ */ __name(async (output, context) => {
1809
+ if (output.statusCode >= 300) {
1810
+ return de_UpdateLogPatternCommandError(output, context);
1811
+ }
1812
+ const data = await parseBody(output.body, context);
1813
+ let contents = {};
1814
+ contents = (0, import_smithy_client._json)(data);
1815
+ const response = {
1816
+ $metadata: deserializeMetadata(output),
1817
+ ...contents
1818
+ };
1819
+ return response;
1820
+ }, "de_UpdateLogPatternCommand");
1821
+ var de_UpdateLogPatternCommandError = /* @__PURE__ */ __name(async (output, context) => {
1822
+ const parsedOutput = {
1823
+ ...output,
1824
+ body: await parseErrorBody(output.body, context)
1825
+ };
1826
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1827
+ switch (errorCode) {
1828
+ case "InternalServerException":
1829
+ case "com.amazonaws.applicationinsights#InternalServerException":
1830
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1831
+ case "ResourceInUseException":
1832
+ case "com.amazonaws.applicationinsights#ResourceInUseException":
1833
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
1834
+ case "ResourceNotFoundException":
1835
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1836
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1837
+ case "ValidationException":
1838
+ case "com.amazonaws.applicationinsights#ValidationException":
1839
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1840
+ default:
1841
+ const parsedBody = parsedOutput.body;
1842
+ return throwDefaultError({
1843
+ output,
1844
+ parsedBody,
1845
+ errorCode
1846
+ });
1847
+ }
1848
+ }, "de_UpdateLogPatternCommandError");
1849
+ var de_UpdateProblemCommand = /* @__PURE__ */ __name(async (output, context) => {
1850
+ if (output.statusCode >= 300) {
1851
+ return de_UpdateProblemCommandError(output, context);
1852
+ }
1853
+ const data = await parseBody(output.body, context);
1854
+ let contents = {};
1855
+ contents = (0, import_smithy_client._json)(data);
1856
+ const response = {
1857
+ $metadata: deserializeMetadata(output),
1858
+ ...contents
1859
+ };
1860
+ return response;
1861
+ }, "de_UpdateProblemCommand");
1862
+ var de_UpdateProblemCommandError = /* @__PURE__ */ __name(async (output, context) => {
1863
+ const parsedOutput = {
1864
+ ...output,
1865
+ body: await parseErrorBody(output.body, context)
1866
+ };
1867
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1868
+ switch (errorCode) {
1869
+ case "InternalServerException":
1870
+ case "com.amazonaws.applicationinsights#InternalServerException":
1871
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1872
+ case "ResourceNotFoundException":
1873
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1874
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1875
+ case "ValidationException":
1876
+ case "com.amazonaws.applicationinsights#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_UpdateProblemCommandError");
1887
+ var de_UpdateWorkloadCommand = /* @__PURE__ */ __name(async (output, context) => {
1888
+ if (output.statusCode >= 300) {
1889
+ return de_UpdateWorkloadCommandError(output, context);
1890
+ }
1891
+ const data = await parseBody(output.body, context);
1892
+ let contents = {};
1893
+ contents = (0, import_smithy_client._json)(data);
1894
+ const response = {
1895
+ $metadata: deserializeMetadata(output),
1896
+ ...contents
1897
+ };
1898
+ return response;
1899
+ }, "de_UpdateWorkloadCommand");
1900
+ var de_UpdateWorkloadCommandError = /* @__PURE__ */ __name(async (output, context) => {
1901
+ const parsedOutput = {
1902
+ ...output,
1903
+ body: await parseErrorBody(output.body, context)
1904
+ };
1905
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1906
+ switch (errorCode) {
1907
+ case "InternalServerException":
1908
+ case "com.amazonaws.applicationinsights#InternalServerException":
1909
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1910
+ case "ResourceNotFoundException":
1911
+ case "com.amazonaws.applicationinsights#ResourceNotFoundException":
1912
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1913
+ case "ValidationException":
1914
+ case "com.amazonaws.applicationinsights#ValidationException":
1915
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1916
+ default:
1917
+ const parsedBody = parsedOutput.body;
1918
+ return throwDefaultError({
1919
+ output,
1920
+ parsedBody,
1921
+ errorCode
1922
+ });
1923
+ }
1924
+ }, "de_UpdateWorkloadCommandError");
1925
+ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1926
+ const body = parsedOutput.body;
1927
+ const deserialized = (0, import_smithy_client._json)(body);
1928
+ const exception = new AccessDeniedException({
1929
+ $metadata: deserializeMetadata(parsedOutput),
1930
+ ...deserialized
1931
+ });
1932
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1933
+ }, "de_AccessDeniedExceptionRes");
1934
+ var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1935
+ const body = parsedOutput.body;
1936
+ const deserialized = (0, import_smithy_client._json)(body);
1937
+ const exception = new BadRequestException({
1938
+ $metadata: deserializeMetadata(parsedOutput),
1939
+ ...deserialized
1940
+ });
1941
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1942
+ }, "de_BadRequestExceptionRes");
1943
+ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1944
+ const body = parsedOutput.body;
1945
+ const deserialized = (0, import_smithy_client._json)(body);
1946
+ const exception = new InternalServerException({
1947
+ $metadata: deserializeMetadata(parsedOutput),
1948
+ ...deserialized
1949
+ });
1950
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1951
+ }, "de_InternalServerExceptionRes");
1952
+ var de_ResourceInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1953
+ const body = parsedOutput.body;
1954
+ const deserialized = (0, import_smithy_client._json)(body);
1955
+ const exception = new ResourceInUseException({
1956
+ $metadata: deserializeMetadata(parsedOutput),
1957
+ ...deserialized
1958
+ });
1959
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1960
+ }, "de_ResourceInUseExceptionRes");
1961
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1962
+ const body = parsedOutput.body;
1963
+ const deserialized = (0, import_smithy_client._json)(body);
1964
+ const exception = new ResourceNotFoundException({
1965
+ $metadata: deserializeMetadata(parsedOutput),
1966
+ ...deserialized
1967
+ });
1968
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1969
+ }, "de_ResourceNotFoundExceptionRes");
1970
+ var de_TagsAlreadyExistExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1971
+ const body = parsedOutput.body;
1972
+ const deserialized = (0, import_smithy_client._json)(body);
1973
+ const exception = new TagsAlreadyExistException({
1974
+ $metadata: deserializeMetadata(parsedOutput),
1975
+ ...deserialized
1976
+ });
1977
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1978
+ }, "de_TagsAlreadyExistExceptionRes");
1979
+ var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1980
+ const body = parsedOutput.body;
1981
+ const deserialized = (0, import_smithy_client._json)(body);
1982
+ const exception = new TooManyTagsException({
1983
+ $metadata: deserializeMetadata(parsedOutput),
1984
+ ...deserialized
1985
+ });
1986
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1987
+ }, "de_TooManyTagsExceptionRes");
1988
+ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1989
+ const body = parsedOutput.body;
1990
+ const deserialized = (0, import_smithy_client._json)(body);
1991
+ const exception = new ValidationException({
1992
+ $metadata: deserializeMetadata(parsedOutput),
1993
+ ...deserialized
1994
+ });
1995
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1996
+ }, "de_ValidationExceptionRes");
1997
+ var se_ListConfigurationHistoryRequest = /* @__PURE__ */ __name((input, context) => {
1998
+ return (0, import_smithy_client.take)(input, {
1999
+ AccountId: [],
2000
+ EndTime: (_) => Math.round(_.getTime() / 1e3),
2001
+ EventStatus: [],
2002
+ MaxResults: [],
2003
+ NextToken: [],
2004
+ ResourceGroupName: [],
2005
+ StartTime: (_) => Math.round(_.getTime() / 1e3)
2006
+ });
2007
+ }, "se_ListConfigurationHistoryRequest");
2008
+ var se_ListProblemsRequest = /* @__PURE__ */ __name((input, context) => {
2009
+ return (0, import_smithy_client.take)(input, {
2010
+ AccountId: [],
2011
+ ComponentName: [],
2012
+ EndTime: (_) => Math.round(_.getTime() / 1e3),
2013
+ MaxResults: [],
2014
+ NextToken: [],
2015
+ ResourceGroupName: [],
2016
+ StartTime: (_) => Math.round(_.getTime() / 1e3),
2017
+ Visibility: []
2018
+ });
2019
+ }, "se_ListProblemsRequest");
2020
+ var de_ConfigurationEvent = /* @__PURE__ */ __name((output, context) => {
2021
+ return (0, import_smithy_client.take)(output, {
2022
+ AccountId: import_smithy_client.expectString,
2023
+ EventDetail: import_smithy_client.expectString,
2024
+ EventResourceName: import_smithy_client.expectString,
2025
+ EventResourceType: import_smithy_client.expectString,
2026
+ EventStatus: import_smithy_client.expectString,
2027
+ EventTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2028
+ MonitoredResourceARN: import_smithy_client.expectString,
2029
+ ResourceGroupName: import_smithy_client.expectString
2030
+ });
2031
+ }, "de_ConfigurationEvent");
2032
+ var de_ConfigurationEventList = /* @__PURE__ */ __name((output, context) => {
2033
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2034
+ return de_ConfigurationEvent(entry, context);
2035
+ });
2036
+ return retVal;
2037
+ }, "de_ConfigurationEventList");
2038
+ var de_DescribeObservationResponse = /* @__PURE__ */ __name((output, context) => {
2039
+ return (0, import_smithy_client.take)(output, {
2040
+ Observation: (_) => de_Observation(_, context)
2041
+ });
2042
+ }, "de_DescribeObservationResponse");
2043
+ var de_DescribeProblemObservationsResponse = /* @__PURE__ */ __name((output, context) => {
2044
+ return (0, import_smithy_client.take)(output, {
2045
+ RelatedObservations: (_) => de_RelatedObservations(_, context)
2046
+ });
2047
+ }, "de_DescribeProblemObservationsResponse");
2048
+ var de_DescribeProblemResponse = /* @__PURE__ */ __name((output, context) => {
2049
+ return (0, import_smithy_client.take)(output, {
2050
+ Problem: (_) => de_Problem(_, context)
2051
+ });
2052
+ }, "de_DescribeProblemResponse");
2053
+ var de_ListConfigurationHistoryResponse = /* @__PURE__ */ __name((output, context) => {
2054
+ return (0, import_smithy_client.take)(output, {
2055
+ EventList: (_) => de_ConfigurationEventList(_, context),
2056
+ NextToken: import_smithy_client.expectString
2057
+ });
2058
+ }, "de_ListConfigurationHistoryResponse");
2059
+ var de_ListProblemsResponse = /* @__PURE__ */ __name((output, context) => {
2060
+ return (0, import_smithy_client.take)(output, {
2061
+ AccountId: import_smithy_client.expectString,
2062
+ NextToken: import_smithy_client.expectString,
2063
+ ProblemList: (_) => de_ProblemList(_, context),
2064
+ ResourceGroupName: import_smithy_client.expectString
2065
+ });
2066
+ }, "de_ListProblemsResponse");
2067
+ var de_Observation = /* @__PURE__ */ __name((output, context) => {
2068
+ return (0, import_smithy_client.take)(output, {
2069
+ CloudWatchEventDetailType: import_smithy_client.expectString,
2070
+ CloudWatchEventId: import_smithy_client.expectString,
2071
+ CloudWatchEventSource: import_smithy_client.expectString,
2072
+ CodeDeployApplication: import_smithy_client.expectString,
2073
+ CodeDeployDeploymentGroup: import_smithy_client.expectString,
2074
+ CodeDeployDeploymentId: import_smithy_client.expectString,
2075
+ CodeDeployInstanceGroupId: import_smithy_client.expectString,
2076
+ CodeDeployState: import_smithy_client.expectString,
2077
+ EbsCause: import_smithy_client.expectString,
2078
+ EbsEvent: import_smithy_client.expectString,
2079
+ EbsRequestId: import_smithy_client.expectString,
2080
+ EbsResult: import_smithy_client.expectString,
2081
+ Ec2State: import_smithy_client.expectString,
2082
+ EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2083
+ HealthEventArn: import_smithy_client.expectString,
2084
+ HealthEventDescription: import_smithy_client.expectString,
2085
+ HealthEventTypeCategory: import_smithy_client.expectString,
2086
+ HealthEventTypeCode: import_smithy_client.expectString,
2087
+ HealthService: import_smithy_client.expectString,
2088
+ Id: import_smithy_client.expectString,
2089
+ LineTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2090
+ LogFilter: import_smithy_client.expectString,
2091
+ LogGroup: import_smithy_client.expectString,
2092
+ LogText: import_smithy_client.expectString,
2093
+ MetricName: import_smithy_client.expectString,
2094
+ MetricNamespace: import_smithy_client.expectString,
2095
+ RdsEventCategories: import_smithy_client.expectString,
2096
+ RdsEventMessage: import_smithy_client.expectString,
2097
+ S3EventName: import_smithy_client.expectString,
2098
+ SourceARN: import_smithy_client.expectString,
2099
+ SourceType: import_smithy_client.expectString,
2100
+ StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2101
+ StatesArn: import_smithy_client.expectString,
2102
+ StatesExecutionArn: import_smithy_client.expectString,
2103
+ StatesInput: import_smithy_client.expectString,
2104
+ StatesStatus: import_smithy_client.expectString,
2105
+ Unit: import_smithy_client.expectString,
2106
+ Value: import_smithy_client.limitedParseDouble,
2107
+ XRayErrorPercent: import_smithy_client.expectInt32,
2108
+ XRayFaultPercent: import_smithy_client.expectInt32,
2109
+ XRayNodeName: import_smithy_client.expectString,
2110
+ XRayNodeType: import_smithy_client.expectString,
2111
+ XRayRequestAverageLatency: import_smithy_client.expectLong,
2112
+ XRayRequestCount: import_smithy_client.expectInt32,
2113
+ XRayThrottlePercent: import_smithy_client.expectInt32
2114
+ });
2115
+ }, "de_Observation");
2116
+ var de_ObservationList = /* @__PURE__ */ __name((output, context) => {
2117
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2118
+ return de_Observation(entry, context);
2119
+ });
2120
+ return retVal;
2121
+ }, "de_ObservationList");
2122
+ var de_Problem = /* @__PURE__ */ __name((output, context) => {
2123
+ return (0, import_smithy_client.take)(output, {
2124
+ AccountId: import_smithy_client.expectString,
2125
+ AffectedResource: import_smithy_client.expectString,
2126
+ EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2127
+ Feedback: import_smithy_client._json,
2128
+ Id: import_smithy_client.expectString,
2129
+ Insights: import_smithy_client.expectString,
2130
+ LastRecurrenceTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2131
+ RecurringCount: import_smithy_client.expectLong,
2132
+ ResolutionMethod: import_smithy_client.expectString,
2133
+ ResourceGroupName: import_smithy_client.expectString,
2134
+ SeverityLevel: import_smithy_client.expectString,
2135
+ StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2136
+ Status: import_smithy_client.expectString,
2137
+ Title: import_smithy_client.expectString,
2138
+ Visibility: import_smithy_client.expectString
2139
+ });
2140
+ }, "de_Problem");
2141
+ var de_ProblemList = /* @__PURE__ */ __name((output, context) => {
2142
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2143
+ return de_Problem(entry, context);
2144
+ });
2145
+ return retVal;
2146
+ }, "de_ProblemList");
2147
+ var de_RelatedObservations = /* @__PURE__ */ __name((output, context) => {
2148
+ return (0, import_smithy_client.take)(output, {
2149
+ ObservationList: (_) => de_ObservationList(_, context)
2150
+ });
2151
+ }, "de_RelatedObservations");
2152
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2153
+ httpStatusCode: output.statusCode,
2154
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2155
+ extendedRequestId: output.headers["x-amz-id-2"],
2156
+ cfId: output.headers["x-amz-cf-id"]
2157
+ }), "deserializeMetadata");
2158
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
2159
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(ApplicationInsightsServiceException);
2160
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
2161
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2162
+ const contents = {
2163
+ protocol,
2164
+ hostname,
2165
+ port,
2166
+ method: "POST",
2167
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
2168
+ headers
2169
+ };
2170
+ if (resolvedHostname !== void 0) {
2171
+ contents.hostname = resolvedHostname;
2172
+ }
2173
+ if (body !== void 0) {
2174
+ contents.body = body;
2175
+ }
2176
+ return new import_protocol_http.HttpRequest(contents);
2177
+ }, "buildHttpRpcRequest");
2178
+ function sharedHeaders(operation) {
2179
+ return {
2180
+ "content-type": "application/x-amz-json-1.1",
2181
+ "x-amz-target": `EC2WindowsBarleyService.${operation}`
2182
+ };
2183
+ }
2184
+ __name(sharedHeaders, "sharedHeaders");
2185
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
2186
+ if (encoded.length) {
2187
+ return JSON.parse(encoded);
2188
+ }
2189
+ return {};
2190
+ }), "parseBody");
2191
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
2192
+ const value = await parseBody(errorBody, context);
2193
+ value.message = value.message ?? value.Message;
2194
+ return value;
2195
+ }, "parseErrorBody");
2196
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
2197
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
2198
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
2199
+ let cleanValue = rawValue;
2200
+ if (typeof cleanValue === "number") {
2201
+ cleanValue = cleanValue.toString();
2202
+ }
2203
+ if (cleanValue.indexOf(",") >= 0) {
2204
+ cleanValue = cleanValue.split(",")[0];
2205
+ }
2206
+ if (cleanValue.indexOf(":") >= 0) {
2207
+ cleanValue = cleanValue.split(":")[0];
2208
+ }
2209
+ if (cleanValue.indexOf("#") >= 0) {
2210
+ cleanValue = cleanValue.split("#")[1];
2211
+ }
2212
+ return cleanValue;
2213
+ }, "sanitizeErrorCode");
2214
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
2215
+ if (headerKey !== void 0) {
2216
+ return sanitizeErrorCode(output.headers[headerKey]);
2217
+ }
2218
+ if (data.code !== void 0) {
2219
+ return sanitizeErrorCode(data.code);
2220
+ }
2221
+ if (data["__type"] !== void 0) {
2222
+ return sanitizeErrorCode(data["__type"]);
2223
+ }
2224
+ }, "loadRestJsonErrorCode");
2225
+
2226
+ // src/commands/AddWorkloadCommand.ts
2227
+ var _AddWorkloadCommand = class _AddWorkloadCommand extends import_smithy_client.Command.classBuilder().ep({
2228
+ ...commonParams
2229
+ }).m(function(Command, cs, config, o) {
2230
+ return [
2231
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2232
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2233
+ ];
2234
+ }).s("EC2WindowsBarleyService", "AddWorkload", {}).n("ApplicationInsightsClient", "AddWorkloadCommand").f(void 0, void 0).ser(se_AddWorkloadCommand).de(de_AddWorkloadCommand).build() {
2235
+ };
2236
+ __name(_AddWorkloadCommand, "AddWorkloadCommand");
2237
+ var AddWorkloadCommand = _AddWorkloadCommand;
2238
+
2239
+ // src/commands/CreateApplicationCommand.ts
2240
+
2241
+
2242
+
2243
+
2244
+ var _CreateApplicationCommand = class _CreateApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
2245
+ ...commonParams
2246
+ }).m(function(Command, cs, config, o) {
2247
+ return [
2248
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2249
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2250
+ ];
2251
+ }).s("EC2WindowsBarleyService", "CreateApplication", {}).n("ApplicationInsightsClient", "CreateApplicationCommand").f(void 0, void 0).ser(se_CreateApplicationCommand).de(de_CreateApplicationCommand).build() {
2252
+ };
2253
+ __name(_CreateApplicationCommand, "CreateApplicationCommand");
2254
+ var CreateApplicationCommand = _CreateApplicationCommand;
2255
+
2256
+ // src/commands/CreateComponentCommand.ts
2257
+
2258
+
2259
+
2260
+
2261
+ var _CreateComponentCommand = class _CreateComponentCommand extends import_smithy_client.Command.classBuilder().ep({
2262
+ ...commonParams
2263
+ }).m(function(Command, cs, config, o) {
2264
+ return [
2265
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2266
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2267
+ ];
2268
+ }).s("EC2WindowsBarleyService", "CreateComponent", {}).n("ApplicationInsightsClient", "CreateComponentCommand").f(void 0, void 0).ser(se_CreateComponentCommand).de(de_CreateComponentCommand).build() {
2269
+ };
2270
+ __name(_CreateComponentCommand, "CreateComponentCommand");
2271
+ var CreateComponentCommand = _CreateComponentCommand;
2272
+
2273
+ // src/commands/CreateLogPatternCommand.ts
2274
+
2275
+
2276
+
2277
+
2278
+ var _CreateLogPatternCommand = class _CreateLogPatternCommand extends import_smithy_client.Command.classBuilder().ep({
2279
+ ...commonParams
2280
+ }).m(function(Command, cs, config, o) {
2281
+ return [
2282
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2283
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2284
+ ];
2285
+ }).s("EC2WindowsBarleyService", "CreateLogPattern", {}).n("ApplicationInsightsClient", "CreateLogPatternCommand").f(void 0, void 0).ser(se_CreateLogPatternCommand).de(de_CreateLogPatternCommand).build() {
2286
+ };
2287
+ __name(_CreateLogPatternCommand, "CreateLogPatternCommand");
2288
+ var CreateLogPatternCommand = _CreateLogPatternCommand;
2289
+
2290
+ // src/commands/DeleteApplicationCommand.ts
2291
+
2292
+
2293
+
2294
+
2295
+ var _DeleteApplicationCommand = class _DeleteApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
2296
+ ...commonParams
2297
+ }).m(function(Command, cs, config, o) {
2298
+ return [
2299
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2300
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2301
+ ];
2302
+ }).s("EC2WindowsBarleyService", "DeleteApplication", {}).n("ApplicationInsightsClient", "DeleteApplicationCommand").f(void 0, void 0).ser(se_DeleteApplicationCommand).de(de_DeleteApplicationCommand).build() {
2303
+ };
2304
+ __name(_DeleteApplicationCommand, "DeleteApplicationCommand");
2305
+ var DeleteApplicationCommand = _DeleteApplicationCommand;
2306
+
2307
+ // src/commands/DeleteComponentCommand.ts
2308
+
2309
+
2310
+
2311
+
2312
+ var _DeleteComponentCommand = class _DeleteComponentCommand extends import_smithy_client.Command.classBuilder().ep({
2313
+ ...commonParams
2314
+ }).m(function(Command, cs, config, o) {
2315
+ return [
2316
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2317
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2318
+ ];
2319
+ }).s("EC2WindowsBarleyService", "DeleteComponent", {}).n("ApplicationInsightsClient", "DeleteComponentCommand").f(void 0, void 0).ser(se_DeleteComponentCommand).de(de_DeleteComponentCommand).build() {
2320
+ };
2321
+ __name(_DeleteComponentCommand, "DeleteComponentCommand");
2322
+ var DeleteComponentCommand = _DeleteComponentCommand;
2323
+
2324
+ // src/commands/DeleteLogPatternCommand.ts
2325
+
2326
+
2327
+
2328
+
2329
+ var _DeleteLogPatternCommand = class _DeleteLogPatternCommand extends import_smithy_client.Command.classBuilder().ep({
2330
+ ...commonParams
2331
+ }).m(function(Command, cs, config, o) {
2332
+ return [
2333
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2334
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2335
+ ];
2336
+ }).s("EC2WindowsBarleyService", "DeleteLogPattern", {}).n("ApplicationInsightsClient", "DeleteLogPatternCommand").f(void 0, void 0).ser(se_DeleteLogPatternCommand).de(de_DeleteLogPatternCommand).build() {
2337
+ };
2338
+ __name(_DeleteLogPatternCommand, "DeleteLogPatternCommand");
2339
+ var DeleteLogPatternCommand = _DeleteLogPatternCommand;
2340
+
2341
+ // src/commands/DescribeApplicationCommand.ts
2342
+
2343
+
2344
+
2345
+
2346
+ var _DescribeApplicationCommand = class _DescribeApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
2347
+ ...commonParams
2348
+ }).m(function(Command, cs, config, o) {
2349
+ return [
2350
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2351
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2352
+ ];
2353
+ }).s("EC2WindowsBarleyService", "DescribeApplication", {}).n("ApplicationInsightsClient", "DescribeApplicationCommand").f(void 0, void 0).ser(se_DescribeApplicationCommand).de(de_DescribeApplicationCommand).build() {
2354
+ };
2355
+ __name(_DescribeApplicationCommand, "DescribeApplicationCommand");
2356
+ var DescribeApplicationCommand = _DescribeApplicationCommand;
2357
+
2358
+ // src/commands/DescribeComponentCommand.ts
2359
+
2360
+
2361
+
2362
+
2363
+ var _DescribeComponentCommand = class _DescribeComponentCommand extends import_smithy_client.Command.classBuilder().ep({
2364
+ ...commonParams
2365
+ }).m(function(Command, cs, config, o) {
2366
+ return [
2367
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2368
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2369
+ ];
2370
+ }).s("EC2WindowsBarleyService", "DescribeComponent", {}).n("ApplicationInsightsClient", "DescribeComponentCommand").f(void 0, void 0).ser(se_DescribeComponentCommand).de(de_DescribeComponentCommand).build() {
2371
+ };
2372
+ __name(_DescribeComponentCommand, "DescribeComponentCommand");
2373
+ var DescribeComponentCommand = _DescribeComponentCommand;
2374
+
2375
+ // src/commands/DescribeComponentConfigurationCommand.ts
2376
+
2377
+
2378
+
2379
+
2380
+ var _DescribeComponentConfigurationCommand = class _DescribeComponentConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
2381
+ ...commonParams
2382
+ }).m(function(Command, cs, config, o) {
2383
+ return [
2384
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2385
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2386
+ ];
2387
+ }).s("EC2WindowsBarleyService", "DescribeComponentConfiguration", {}).n("ApplicationInsightsClient", "DescribeComponentConfigurationCommand").f(void 0, void 0).ser(se_DescribeComponentConfigurationCommand).de(de_DescribeComponentConfigurationCommand).build() {
2388
+ };
2389
+ __name(_DescribeComponentConfigurationCommand, "DescribeComponentConfigurationCommand");
2390
+ var DescribeComponentConfigurationCommand = _DescribeComponentConfigurationCommand;
2391
+
2392
+ // src/commands/DescribeComponentConfigurationRecommendationCommand.ts
2393
+
2394
+
2395
+
2396
+
2397
+ var _DescribeComponentConfigurationRecommendationCommand = class _DescribeComponentConfigurationRecommendationCommand extends import_smithy_client.Command.classBuilder().ep({
2398
+ ...commonParams
2399
+ }).m(function(Command, cs, config, o) {
2400
+ return [
2401
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2402
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2403
+ ];
2404
+ }).s("EC2WindowsBarleyService", "DescribeComponentConfigurationRecommendation", {}).n("ApplicationInsightsClient", "DescribeComponentConfigurationRecommendationCommand").f(void 0, void 0).ser(se_DescribeComponentConfigurationRecommendationCommand).de(de_DescribeComponentConfigurationRecommendationCommand).build() {
2405
+ };
2406
+ __name(_DescribeComponentConfigurationRecommendationCommand, "DescribeComponentConfigurationRecommendationCommand");
2407
+ var DescribeComponentConfigurationRecommendationCommand = _DescribeComponentConfigurationRecommendationCommand;
2408
+
2409
+ // src/commands/DescribeLogPatternCommand.ts
2410
+
2411
+
2412
+
2413
+
2414
+ var _DescribeLogPatternCommand = class _DescribeLogPatternCommand extends import_smithy_client.Command.classBuilder().ep({
2415
+ ...commonParams
2416
+ }).m(function(Command, cs, config, o) {
2417
+ return [
2418
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2419
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2420
+ ];
2421
+ }).s("EC2WindowsBarleyService", "DescribeLogPattern", {}).n("ApplicationInsightsClient", "DescribeLogPatternCommand").f(void 0, void 0).ser(se_DescribeLogPatternCommand).de(de_DescribeLogPatternCommand).build() {
2422
+ };
2423
+ __name(_DescribeLogPatternCommand, "DescribeLogPatternCommand");
2424
+ var DescribeLogPatternCommand = _DescribeLogPatternCommand;
2425
+
2426
+ // src/commands/DescribeObservationCommand.ts
2427
+
2428
+
2429
+
2430
+
2431
+ var _DescribeObservationCommand = class _DescribeObservationCommand extends import_smithy_client.Command.classBuilder().ep({
2432
+ ...commonParams
2433
+ }).m(function(Command, cs, config, o) {
2434
+ return [
2435
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2436
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2437
+ ];
2438
+ }).s("EC2WindowsBarleyService", "DescribeObservation", {}).n("ApplicationInsightsClient", "DescribeObservationCommand").f(void 0, void 0).ser(se_DescribeObservationCommand).de(de_DescribeObservationCommand).build() {
2439
+ };
2440
+ __name(_DescribeObservationCommand, "DescribeObservationCommand");
2441
+ var DescribeObservationCommand = _DescribeObservationCommand;
2442
+
2443
+ // src/commands/DescribeProblemCommand.ts
2444
+
2445
+
2446
+
2447
+
2448
+ var _DescribeProblemCommand = class _DescribeProblemCommand extends import_smithy_client.Command.classBuilder().ep({
2449
+ ...commonParams
2450
+ }).m(function(Command, cs, config, o) {
2451
+ return [
2452
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2453
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2454
+ ];
2455
+ }).s("EC2WindowsBarleyService", "DescribeProblem", {}).n("ApplicationInsightsClient", "DescribeProblemCommand").f(void 0, void 0).ser(se_DescribeProblemCommand).de(de_DescribeProblemCommand).build() {
2456
+ };
2457
+ __name(_DescribeProblemCommand, "DescribeProblemCommand");
2458
+ var DescribeProblemCommand = _DescribeProblemCommand;
2459
+
2460
+ // src/commands/DescribeProblemObservationsCommand.ts
2461
+
2462
+
2463
+
2464
+
2465
+ var _DescribeProblemObservationsCommand = class _DescribeProblemObservationsCommand extends import_smithy_client.Command.classBuilder().ep({
2466
+ ...commonParams
2467
+ }).m(function(Command, cs, config, o) {
2468
+ return [
2469
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2470
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2471
+ ];
2472
+ }).s("EC2WindowsBarleyService", "DescribeProblemObservations", {}).n("ApplicationInsightsClient", "DescribeProblemObservationsCommand").f(void 0, void 0).ser(se_DescribeProblemObservationsCommand).de(de_DescribeProblemObservationsCommand).build() {
2473
+ };
2474
+ __name(_DescribeProblemObservationsCommand, "DescribeProblemObservationsCommand");
2475
+ var DescribeProblemObservationsCommand = _DescribeProblemObservationsCommand;
2476
+
2477
+ // src/commands/DescribeWorkloadCommand.ts
2478
+
2479
+
2480
+
2481
+
2482
+ var _DescribeWorkloadCommand = class _DescribeWorkloadCommand extends import_smithy_client.Command.classBuilder().ep({
2483
+ ...commonParams
2484
+ }).m(function(Command, cs, config, o) {
2485
+ return [
2486
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2487
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2488
+ ];
2489
+ }).s("EC2WindowsBarleyService", "DescribeWorkload", {}).n("ApplicationInsightsClient", "DescribeWorkloadCommand").f(void 0, void 0).ser(se_DescribeWorkloadCommand).de(de_DescribeWorkloadCommand).build() {
2490
+ };
2491
+ __name(_DescribeWorkloadCommand, "DescribeWorkloadCommand");
2492
+ var DescribeWorkloadCommand = _DescribeWorkloadCommand;
2493
+
2494
+ // src/commands/ListApplicationsCommand.ts
2495
+
2496
+
2497
+
2498
+
2499
+ var _ListApplicationsCommand = class _ListApplicationsCommand extends import_smithy_client.Command.classBuilder().ep({
2500
+ ...commonParams
2501
+ }).m(function(Command, cs, config, o) {
2502
+ return [
2503
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2504
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2505
+ ];
2506
+ }).s("EC2WindowsBarleyService", "ListApplications", {}).n("ApplicationInsightsClient", "ListApplicationsCommand").f(void 0, void 0).ser(se_ListApplicationsCommand).de(de_ListApplicationsCommand).build() {
2507
+ };
2508
+ __name(_ListApplicationsCommand, "ListApplicationsCommand");
2509
+ var ListApplicationsCommand = _ListApplicationsCommand;
2510
+
2511
+ // src/commands/ListComponentsCommand.ts
2512
+
2513
+
2514
+
2515
+
2516
+ var _ListComponentsCommand = class _ListComponentsCommand extends import_smithy_client.Command.classBuilder().ep({
2517
+ ...commonParams
2518
+ }).m(function(Command, cs, config, o) {
2519
+ return [
2520
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2521
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2522
+ ];
2523
+ }).s("EC2WindowsBarleyService", "ListComponents", {}).n("ApplicationInsightsClient", "ListComponentsCommand").f(void 0, void 0).ser(se_ListComponentsCommand).de(de_ListComponentsCommand).build() {
2524
+ };
2525
+ __name(_ListComponentsCommand, "ListComponentsCommand");
2526
+ var ListComponentsCommand = _ListComponentsCommand;
2527
+
2528
+ // src/commands/ListConfigurationHistoryCommand.ts
2529
+
2530
+
2531
+
2532
+
2533
+ var _ListConfigurationHistoryCommand = class _ListConfigurationHistoryCommand extends import_smithy_client.Command.classBuilder().ep({
2534
+ ...commonParams
2535
+ }).m(function(Command, cs, config, o) {
2536
+ return [
2537
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2538
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2539
+ ];
2540
+ }).s("EC2WindowsBarleyService", "ListConfigurationHistory", {}).n("ApplicationInsightsClient", "ListConfigurationHistoryCommand").f(void 0, void 0).ser(se_ListConfigurationHistoryCommand).de(de_ListConfigurationHistoryCommand).build() {
2541
+ };
2542
+ __name(_ListConfigurationHistoryCommand, "ListConfigurationHistoryCommand");
2543
+ var ListConfigurationHistoryCommand = _ListConfigurationHistoryCommand;
2544
+
2545
+ // src/commands/ListLogPatternsCommand.ts
2546
+
2547
+
2548
+
2549
+
2550
+ var _ListLogPatternsCommand = class _ListLogPatternsCommand extends import_smithy_client.Command.classBuilder().ep({
2551
+ ...commonParams
2552
+ }).m(function(Command, cs, config, o) {
2553
+ return [
2554
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2555
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2556
+ ];
2557
+ }).s("EC2WindowsBarleyService", "ListLogPatterns", {}).n("ApplicationInsightsClient", "ListLogPatternsCommand").f(void 0, void 0).ser(se_ListLogPatternsCommand).de(de_ListLogPatternsCommand).build() {
2558
+ };
2559
+ __name(_ListLogPatternsCommand, "ListLogPatternsCommand");
2560
+ var ListLogPatternsCommand = _ListLogPatternsCommand;
2561
+
2562
+ // src/commands/ListLogPatternSetsCommand.ts
2563
+
2564
+
2565
+
2566
+
2567
+ var _ListLogPatternSetsCommand = class _ListLogPatternSetsCommand extends import_smithy_client.Command.classBuilder().ep({
2568
+ ...commonParams
2569
+ }).m(function(Command, cs, config, o) {
2570
+ return [
2571
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2572
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2573
+ ];
2574
+ }).s("EC2WindowsBarleyService", "ListLogPatternSets", {}).n("ApplicationInsightsClient", "ListLogPatternSetsCommand").f(void 0, void 0).ser(se_ListLogPatternSetsCommand).de(de_ListLogPatternSetsCommand).build() {
2575
+ };
2576
+ __name(_ListLogPatternSetsCommand, "ListLogPatternSetsCommand");
2577
+ var ListLogPatternSetsCommand = _ListLogPatternSetsCommand;
2578
+
2579
+ // src/commands/ListProblemsCommand.ts
2580
+
2581
+
2582
+
2583
+
2584
+ var _ListProblemsCommand = class _ListProblemsCommand extends import_smithy_client.Command.classBuilder().ep({
2585
+ ...commonParams
2586
+ }).m(function(Command, cs, config, o) {
2587
+ return [
2588
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2589
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2590
+ ];
2591
+ }).s("EC2WindowsBarleyService", "ListProblems", {}).n("ApplicationInsightsClient", "ListProblemsCommand").f(void 0, void 0).ser(se_ListProblemsCommand).de(de_ListProblemsCommand).build() {
2592
+ };
2593
+ __name(_ListProblemsCommand, "ListProblemsCommand");
2594
+ var ListProblemsCommand = _ListProblemsCommand;
2595
+
2596
+ // src/commands/ListTagsForResourceCommand.ts
2597
+
2598
+
2599
+
2600
+
2601
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2602
+ ...commonParams
2603
+ }).m(function(Command, cs, config, o) {
2604
+ return [
2605
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2606
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2607
+ ];
2608
+ }).s("EC2WindowsBarleyService", "ListTagsForResource", {}).n("ApplicationInsightsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2609
+ };
2610
+ __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
2611
+ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
2612
+
2613
+ // src/commands/ListWorkloadsCommand.ts
2614
+
2615
+
2616
+
2617
+
2618
+ var _ListWorkloadsCommand = class _ListWorkloadsCommand extends import_smithy_client.Command.classBuilder().ep({
2619
+ ...commonParams
2620
+ }).m(function(Command, cs, config, o) {
2621
+ return [
2622
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2623
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2624
+ ];
2625
+ }).s("EC2WindowsBarleyService", "ListWorkloads", {}).n("ApplicationInsightsClient", "ListWorkloadsCommand").f(void 0, void 0).ser(se_ListWorkloadsCommand).de(de_ListWorkloadsCommand).build() {
2626
+ };
2627
+ __name(_ListWorkloadsCommand, "ListWorkloadsCommand");
2628
+ var ListWorkloadsCommand = _ListWorkloadsCommand;
2629
+
2630
+ // src/commands/RemoveWorkloadCommand.ts
2631
+
2632
+
2633
+
2634
+
2635
+ var _RemoveWorkloadCommand = class _RemoveWorkloadCommand extends import_smithy_client.Command.classBuilder().ep({
2636
+ ...commonParams
2637
+ }).m(function(Command, cs, config, o) {
2638
+ return [
2639
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2640
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2641
+ ];
2642
+ }).s("EC2WindowsBarleyService", "RemoveWorkload", {}).n("ApplicationInsightsClient", "RemoveWorkloadCommand").f(void 0, void 0).ser(se_RemoveWorkloadCommand).de(de_RemoveWorkloadCommand).build() {
2643
+ };
2644
+ __name(_RemoveWorkloadCommand, "RemoveWorkloadCommand");
2645
+ var RemoveWorkloadCommand = _RemoveWorkloadCommand;
2646
+
2647
+ // src/commands/TagResourceCommand.ts
2648
+
2649
+
2650
+
2651
+
2652
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2653
+ ...commonParams
2654
+ }).m(function(Command, cs, config, o) {
2655
+ return [
2656
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2657
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2658
+ ];
2659
+ }).s("EC2WindowsBarleyService", "TagResource", {}).n("ApplicationInsightsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2660
+ };
2661
+ __name(_TagResourceCommand, "TagResourceCommand");
2662
+ var TagResourceCommand = _TagResourceCommand;
2663
+
2664
+ // src/commands/UntagResourceCommand.ts
2665
+
2666
+
2667
+
2668
+
2669
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2670
+ ...commonParams
2671
+ }).m(function(Command, cs, config, o) {
2672
+ return [
2673
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2674
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2675
+ ];
2676
+ }).s("EC2WindowsBarleyService", "UntagResource", {}).n("ApplicationInsightsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2677
+ };
2678
+ __name(_UntagResourceCommand, "UntagResourceCommand");
2679
+ var UntagResourceCommand = _UntagResourceCommand;
2680
+
2681
+ // src/commands/UpdateApplicationCommand.ts
2682
+
2683
+
2684
+
2685
+
2686
+ var _UpdateApplicationCommand = class _UpdateApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
2687
+ ...commonParams
2688
+ }).m(function(Command, cs, config, o) {
2689
+ return [
2690
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2691
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2692
+ ];
2693
+ }).s("EC2WindowsBarleyService", "UpdateApplication", {}).n("ApplicationInsightsClient", "UpdateApplicationCommand").f(void 0, void 0).ser(se_UpdateApplicationCommand).de(de_UpdateApplicationCommand).build() {
2694
+ };
2695
+ __name(_UpdateApplicationCommand, "UpdateApplicationCommand");
2696
+ var UpdateApplicationCommand = _UpdateApplicationCommand;
2697
+
2698
+ // src/commands/UpdateComponentCommand.ts
2699
+
2700
+
2701
+
2702
+
2703
+ var _UpdateComponentCommand = class _UpdateComponentCommand extends import_smithy_client.Command.classBuilder().ep({
2704
+ ...commonParams
2705
+ }).m(function(Command, cs, config, o) {
2706
+ return [
2707
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2708
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2709
+ ];
2710
+ }).s("EC2WindowsBarleyService", "UpdateComponent", {}).n("ApplicationInsightsClient", "UpdateComponentCommand").f(void 0, void 0).ser(se_UpdateComponentCommand).de(de_UpdateComponentCommand).build() {
2711
+ };
2712
+ __name(_UpdateComponentCommand, "UpdateComponentCommand");
2713
+ var UpdateComponentCommand = _UpdateComponentCommand;
2714
+
2715
+ // src/commands/UpdateComponentConfigurationCommand.ts
2716
+
2717
+
2718
+
2719
+
2720
+ var _UpdateComponentConfigurationCommand = class _UpdateComponentConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
2721
+ ...commonParams
2722
+ }).m(function(Command, cs, config, o) {
2723
+ return [
2724
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2725
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2726
+ ];
2727
+ }).s("EC2WindowsBarleyService", "UpdateComponentConfiguration", {}).n("ApplicationInsightsClient", "UpdateComponentConfigurationCommand").f(void 0, void 0).ser(se_UpdateComponentConfigurationCommand).de(de_UpdateComponentConfigurationCommand).build() {
2728
+ };
2729
+ __name(_UpdateComponentConfigurationCommand, "UpdateComponentConfigurationCommand");
2730
+ var UpdateComponentConfigurationCommand = _UpdateComponentConfigurationCommand;
2731
+
2732
+ // src/commands/UpdateLogPatternCommand.ts
2733
+
2734
+
2735
+
2736
+
2737
+ var _UpdateLogPatternCommand = class _UpdateLogPatternCommand extends import_smithy_client.Command.classBuilder().ep({
2738
+ ...commonParams
2739
+ }).m(function(Command, cs, config, o) {
2740
+ return [
2741
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2742
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2743
+ ];
2744
+ }).s("EC2WindowsBarleyService", "UpdateLogPattern", {}).n("ApplicationInsightsClient", "UpdateLogPatternCommand").f(void 0, void 0).ser(se_UpdateLogPatternCommand).de(de_UpdateLogPatternCommand).build() {
2745
+ };
2746
+ __name(_UpdateLogPatternCommand, "UpdateLogPatternCommand");
2747
+ var UpdateLogPatternCommand = _UpdateLogPatternCommand;
2748
+
2749
+ // src/commands/UpdateProblemCommand.ts
2750
+
2751
+
2752
+
2753
+
2754
+ var _UpdateProblemCommand = class _UpdateProblemCommand extends import_smithy_client.Command.classBuilder().ep({
2755
+ ...commonParams
2756
+ }).m(function(Command, cs, config, o) {
2757
+ return [
2758
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2759
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2760
+ ];
2761
+ }).s("EC2WindowsBarleyService", "UpdateProblem", {}).n("ApplicationInsightsClient", "UpdateProblemCommand").f(void 0, void 0).ser(se_UpdateProblemCommand).de(de_UpdateProblemCommand).build() {
2762
+ };
2763
+ __name(_UpdateProblemCommand, "UpdateProblemCommand");
2764
+ var UpdateProblemCommand = _UpdateProblemCommand;
2765
+
2766
+ // src/commands/UpdateWorkloadCommand.ts
2767
+
2768
+
2769
+
2770
+
2771
+ var _UpdateWorkloadCommand = class _UpdateWorkloadCommand extends import_smithy_client.Command.classBuilder().ep({
2772
+ ...commonParams
2773
+ }).m(function(Command, cs, config, o) {
2774
+ return [
2775
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2776
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2777
+ ];
2778
+ }).s("EC2WindowsBarleyService", "UpdateWorkload", {}).n("ApplicationInsightsClient", "UpdateWorkloadCommand").f(void 0, void 0).ser(se_UpdateWorkloadCommand).de(de_UpdateWorkloadCommand).build() {
2779
+ };
2780
+ __name(_UpdateWorkloadCommand, "UpdateWorkloadCommand");
2781
+ var UpdateWorkloadCommand = _UpdateWorkloadCommand;
2782
+
2783
+ // src/ApplicationInsights.ts
2784
+ var commands = {
2785
+ AddWorkloadCommand,
2786
+ CreateApplicationCommand,
2787
+ CreateComponentCommand,
2788
+ CreateLogPatternCommand,
2789
+ DeleteApplicationCommand,
2790
+ DeleteComponentCommand,
2791
+ DeleteLogPatternCommand,
2792
+ DescribeApplicationCommand,
2793
+ DescribeComponentCommand,
2794
+ DescribeComponentConfigurationCommand,
2795
+ DescribeComponentConfigurationRecommendationCommand,
2796
+ DescribeLogPatternCommand,
2797
+ DescribeObservationCommand,
2798
+ DescribeProblemCommand,
2799
+ DescribeProblemObservationsCommand,
2800
+ DescribeWorkloadCommand,
2801
+ ListApplicationsCommand,
2802
+ ListComponentsCommand,
2803
+ ListConfigurationHistoryCommand,
2804
+ ListLogPatternsCommand,
2805
+ ListLogPatternSetsCommand,
2806
+ ListProblemsCommand,
2807
+ ListTagsForResourceCommand,
2808
+ ListWorkloadsCommand,
2809
+ RemoveWorkloadCommand,
2810
+ TagResourceCommand,
2811
+ UntagResourceCommand,
2812
+ UpdateApplicationCommand,
2813
+ UpdateComponentCommand,
2814
+ UpdateComponentConfigurationCommand,
2815
+ UpdateLogPatternCommand,
2816
+ UpdateProblemCommand,
2817
+ UpdateWorkloadCommand
2818
+ };
2819
+ var _ApplicationInsights = class _ApplicationInsights extends ApplicationInsightsClient {
2820
+ };
2821
+ __name(_ApplicationInsights, "ApplicationInsights");
2822
+ var ApplicationInsights = _ApplicationInsights;
2823
+ (0, import_smithy_client.createAggregatedClient)(commands, ApplicationInsights);
2824
+
2825
+ // src/pagination/ListApplicationsPaginator.ts
2826
+ var import_core = require("@smithy/core");
2827
+ var paginateListApplications = (0, import_core.createPaginator)(ApplicationInsightsClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
2828
+
2829
+ // src/pagination/ListComponentsPaginator.ts
2830
+
2831
+ var paginateListComponents = (0, import_core.createPaginator)(ApplicationInsightsClient, ListComponentsCommand, "NextToken", "NextToken", "MaxResults");
2832
+
2833
+ // src/pagination/ListConfigurationHistoryPaginator.ts
2834
+
2835
+ var paginateListConfigurationHistory = (0, import_core.createPaginator)(ApplicationInsightsClient, ListConfigurationHistoryCommand, "NextToken", "NextToken", "MaxResults");
2836
+
2837
+ // src/pagination/ListLogPatternSetsPaginator.ts
2838
+
2839
+ var paginateListLogPatternSets = (0, import_core.createPaginator)(ApplicationInsightsClient, ListLogPatternSetsCommand, "NextToken", "NextToken", "MaxResults");
2840
+
2841
+ // src/pagination/ListLogPatternsPaginator.ts
2842
+
2843
+ var paginateListLogPatterns = (0, import_core.createPaginator)(ApplicationInsightsClient, ListLogPatternsCommand, "NextToken", "NextToken", "MaxResults");
2844
+
2845
+ // src/pagination/ListProblemsPaginator.ts
2846
+
2847
+ var paginateListProblems = (0, import_core.createPaginator)(ApplicationInsightsClient, ListProblemsCommand, "NextToken", "NextToken", "MaxResults");
2848
+
2849
+ // src/pagination/ListWorkloadsPaginator.ts
2850
+
2851
+ var paginateListWorkloads = (0, import_core.createPaginator)(ApplicationInsightsClient, ListWorkloadsCommand, "NextToken", "NextToken", "MaxResults");
2852
+
2853
+ // src/index.ts
2854
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
2855
+ // Annotate the CommonJS export names for ESM import in node:
2856
+ 0 && (module.exports = {
2857
+ AccessDeniedException,
2858
+ AddWorkloadCommand,
2859
+ ApplicationInsights,
2860
+ ApplicationInsightsClient,
2861
+ ApplicationInsightsServiceException,
2862
+ BadRequestException,
2863
+ CloudWatchEventSource,
2864
+ ConfigurationEventResourceType,
2865
+ ConfigurationEventStatus,
2866
+ CreateApplicationCommand,
2867
+ CreateComponentCommand,
2868
+ CreateLogPatternCommand,
2869
+ DeleteApplicationCommand,
2870
+ DeleteComponentCommand,
2871
+ DeleteLogPatternCommand,
2872
+ DescribeApplicationCommand,
2873
+ DescribeComponentCommand,
2874
+ DescribeComponentConfigurationCommand,
2875
+ DescribeComponentConfigurationRecommendationCommand,
2876
+ DescribeLogPatternCommand,
2877
+ DescribeObservationCommand,
2878
+ DescribeProblemCommand,
2879
+ DescribeProblemObservationsCommand,
2880
+ DescribeWorkloadCommand,
2881
+ DiscoveryType,
2882
+ FeedbackKey,
2883
+ FeedbackValue,
2884
+ GroupingType,
2885
+ InternalServerException,
2886
+ ListApplicationsCommand,
2887
+ ListComponentsCommand,
2888
+ ListConfigurationHistoryCommand,
2889
+ ListLogPatternSetsCommand,
2890
+ ListLogPatternsCommand,
2891
+ ListProblemsCommand,
2892
+ ListTagsForResourceCommand,
2893
+ ListWorkloadsCommand,
2894
+ LogFilter,
2895
+ OsType,
2896
+ RecommendationType,
2897
+ RemoveWorkloadCommand,
2898
+ ResolutionMethod,
2899
+ ResourceInUseException,
2900
+ ResourceNotFoundException,
2901
+ SeverityLevel,
2902
+ Status,
2903
+ TagResourceCommand,
2904
+ TagsAlreadyExistException,
2905
+ Tier,
2906
+ TooManyTagsException,
2907
+ UntagResourceCommand,
2908
+ UpdateApplicationCommand,
2909
+ UpdateComponentCommand,
2910
+ UpdateComponentConfigurationCommand,
2911
+ UpdateLogPatternCommand,
2912
+ UpdateProblemCommand,
2913
+ UpdateStatus,
2914
+ UpdateWorkloadCommand,
2915
+ ValidationException,
2916
+ Visibility,
2917
+ __Client,
2918
+ paginateListApplications,
2919
+ paginateListComponents,
2920
+ paginateListConfigurationHistory,
2921
+ paginateListLogPatternSets,
2922
+ paginateListLogPatterns,
2923
+ paginateListProblems,
2924
+ paginateListWorkloads
2925
+ });