@aws-sdk/client-application-insights 3.927.0 → 3.928.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/index.js +1048 -1190
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ApplicationInsightsClient.js +2 -0
  4. package/dist-es/commands/AddWorkloadCommand.js +3 -9
  5. package/dist-es/commands/CreateApplicationCommand.js +3 -9
  6. package/dist-es/commands/CreateComponentCommand.js +3 -9
  7. package/dist-es/commands/CreateLogPatternCommand.js +3 -9
  8. package/dist-es/commands/DeleteApplicationCommand.js +3 -9
  9. package/dist-es/commands/DeleteComponentCommand.js +3 -9
  10. package/dist-es/commands/DeleteLogPatternCommand.js +3 -9
  11. package/dist-es/commands/DescribeApplicationCommand.js +3 -9
  12. package/dist-es/commands/DescribeComponentCommand.js +3 -9
  13. package/dist-es/commands/DescribeComponentConfigurationCommand.js +3 -9
  14. package/dist-es/commands/DescribeComponentConfigurationRecommendationCommand.js +3 -9
  15. package/dist-es/commands/DescribeLogPatternCommand.js +3 -9
  16. package/dist-es/commands/DescribeObservationCommand.js +3 -9
  17. package/dist-es/commands/DescribeProblemCommand.js +3 -9
  18. package/dist-es/commands/DescribeProblemObservationsCommand.js +3 -9
  19. package/dist-es/commands/DescribeWorkloadCommand.js +3 -9
  20. package/dist-es/commands/ListApplicationsCommand.js +3 -9
  21. package/dist-es/commands/ListComponentsCommand.js +3 -9
  22. package/dist-es/commands/ListConfigurationHistoryCommand.js +3 -9
  23. package/dist-es/commands/ListLogPatternSetsCommand.js +3 -9
  24. package/dist-es/commands/ListLogPatternsCommand.js +3 -9
  25. package/dist-es/commands/ListProblemsCommand.js +3 -9
  26. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  27. package/dist-es/commands/ListWorkloadsCommand.js +3 -9
  28. package/dist-es/commands/RemoveWorkloadCommand.js +3 -9
  29. package/dist-es/commands/TagResourceCommand.js +3 -9
  30. package/dist-es/commands/UntagResourceCommand.js +3 -9
  31. package/dist-es/commands/UpdateApplicationCommand.js +3 -9
  32. package/dist-es/commands/UpdateComponentCommand.js +3 -9
  33. package/dist-es/commands/UpdateComponentConfigurationCommand.js +3 -9
  34. package/dist-es/commands/UpdateLogPatternCommand.js +3 -9
  35. package/dist-es/commands/UpdateProblemCommand.js +3 -9
  36. package/dist-es/commands/UpdateWorkloadCommand.js +3 -9
  37. package/dist-es/runtimeConfig.shared.js +7 -0
  38. package/dist-es/schemas/schemas_0.js +963 -0
  39. package/dist-types/ApplicationInsightsClient.d.ts +10 -1
  40. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  41. package/dist-types/runtimeConfig.d.ts +1 -0
  42. package/dist-types/runtimeConfig.native.d.ts +1 -0
  43. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  44. package/dist-types/schemas/schemas_0.d.ts +134 -0
  45. package/dist-types/ts3.4/ApplicationInsightsClient.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  50. package/dist-types/ts3.4/schemas/schemas_0.d.ts +140 -0
  51. package/package.json +5 -5
  52. package/dist-es/protocols/Aws_json1_1.js +0 -939
  53. package/dist-types/protocols/Aws_json1_1.d.ts +0 -299
  54. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -401
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class ApplicationInsightsClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class ApplicationInsightsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class ApplicationInsightsServiceException extends smithyClient.ServiceException {
113
+ let ApplicationInsightsServiceException$1 = class ApplicationInsightsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, ApplicationInsightsServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends ApplicationInsightsServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends ApplicationInsightsServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  Message;
@@ -130,7 +130,7 @@ class AccessDeniedException extends ApplicationInsightsServiceException {
130
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
131
  this.Message = opts.Message;
132
132
  }
133
- }
133
+ };
134
134
  const Tier = {
135
135
  ACTIVE_DIRECTORY: "ACTIVE_DIRECTORY",
136
136
  CUSTOM: "CUSTOM",
@@ -156,7 +156,7 @@ const Tier = {
156
156
  SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP: "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP",
157
157
  SQL_SERVER_FAILOVER_CLUSTER_INSTANCE: "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE",
158
158
  };
159
- class InternalServerException extends ApplicationInsightsServiceException {
159
+ let InternalServerException$1 = class InternalServerException extends ApplicationInsightsServiceException$1 {
160
160
  name = "InternalServerException";
161
161
  $fault = "server";
162
162
  Message;
@@ -169,8 +169,8 @@ class InternalServerException extends ApplicationInsightsServiceException {
169
169
  Object.setPrototypeOf(this, InternalServerException.prototype);
170
170
  this.Message = opts.Message;
171
171
  }
172
- }
173
- class ResourceInUseException extends ApplicationInsightsServiceException {
172
+ };
173
+ let ResourceInUseException$1 = class ResourceInUseException extends ApplicationInsightsServiceException$1 {
174
174
  name = "ResourceInUseException";
175
175
  $fault = "client";
176
176
  Message;
@@ -183,8 +183,8 @@ class ResourceInUseException extends ApplicationInsightsServiceException {
183
183
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
184
184
  this.Message = opts.Message;
185
185
  }
186
- }
187
- class ResourceNotFoundException extends ApplicationInsightsServiceException {
186
+ };
187
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends ApplicationInsightsServiceException$1 {
188
188
  name = "ResourceNotFoundException";
189
189
  $fault = "client";
190
190
  Message;
@@ -197,8 +197,8 @@ class ResourceNotFoundException extends ApplicationInsightsServiceException {
197
197
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
198
198
  this.Message = opts.Message;
199
199
  }
200
- }
201
- class ValidationException extends ApplicationInsightsServiceException {
200
+ };
201
+ let ValidationException$1 = class ValidationException extends ApplicationInsightsServiceException$1 {
202
202
  name = "ValidationException";
203
203
  $fault = "client";
204
204
  Message;
@@ -211,7 +211,7 @@ class ValidationException extends ApplicationInsightsServiceException {
211
211
  Object.setPrototypeOf(this, ValidationException.prototype);
212
212
  this.Message = opts.Message;
213
213
  }
214
- }
214
+ };
215
215
  const OsType = {
216
216
  LINUX: "LINUX",
217
217
  WINDOWS: "WINDOWS",
@@ -220,7 +220,7 @@ const DiscoveryType = {
220
220
  ACCOUNT_BASED: "ACCOUNT_BASED",
221
221
  RESOURCE_GROUP_BASED: "RESOURCE_GROUP_BASED",
222
222
  };
223
- class BadRequestException extends ApplicationInsightsServiceException {
223
+ let BadRequestException$1 = class BadRequestException extends ApplicationInsightsServiceException$1 {
224
224
  name = "BadRequestException";
225
225
  $fault = "client";
226
226
  Message;
@@ -233,7 +233,7 @@ class BadRequestException extends ApplicationInsightsServiceException {
233
233
  Object.setPrototypeOf(this, BadRequestException.prototype);
234
234
  this.Message = opts.Message;
235
235
  }
236
- }
236
+ };
237
237
  const CloudWatchEventSource = {
238
238
  CODE_DEPLOY: "CODE_DEPLOY",
239
239
  EC2: "EC2",
@@ -254,7 +254,7 @@ const ConfigurationEventStatus = {
254
254
  const GroupingType = {
255
255
  ACCOUNT_BASED: "ACCOUNT_BASED",
256
256
  };
257
- class TagsAlreadyExistException extends ApplicationInsightsServiceException {
257
+ let TagsAlreadyExistException$1 = class TagsAlreadyExistException extends ApplicationInsightsServiceException$1 {
258
258
  name = "TagsAlreadyExistException";
259
259
  $fault = "client";
260
260
  Message;
@@ -267,7 +267,7 @@ class TagsAlreadyExistException extends ApplicationInsightsServiceException {
267
267
  Object.setPrototypeOf(this, TagsAlreadyExistException.prototype);
268
268
  this.Message = opts.Message;
269
269
  }
270
- }
270
+ };
271
271
  const RecommendationType = {
272
272
  ALL: "ALL",
273
273
  INFRA_ONLY: "INFRA_ONLY",
@@ -308,7 +308,7 @@ const Visibility = {
308
308
  IGNORED: "IGNORED",
309
309
  VISIBLE: "VISIBLE",
310
310
  };
311
- class TooManyTagsException extends ApplicationInsightsServiceException {
311
+ let TooManyTagsException$1 = class TooManyTagsException extends ApplicationInsightsServiceException$1 {
312
312
  name = "TooManyTagsException";
313
313
  $fault = "client";
314
314
  Message;
@@ -323,956 +323,974 @@ class TooManyTagsException extends ApplicationInsightsServiceException {
323
323
  this.Message = opts.Message;
324
324
  this.ResourceName = opts.ResourceName;
325
325
  }
326
- }
326
+ };
327
327
  const UpdateStatus = {
328
328
  RESOLVED: "RESOLVED",
329
329
  };
330
330
 
331
- const se_AddWorkloadCommand = async (input, context) => {
332
- const headers = sharedHeaders("AddWorkload");
333
- let body;
334
- body = JSON.stringify(smithyClient._json(input));
335
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
336
- };
337
- const se_CreateApplicationCommand = async (input, context) => {
338
- const headers = sharedHeaders("CreateApplication");
339
- let body;
340
- body = JSON.stringify(smithyClient._json(input));
341
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
342
- };
343
- const se_CreateComponentCommand = async (input, context) => {
344
- const headers = sharedHeaders("CreateComponent");
345
- let body;
346
- body = JSON.stringify(smithyClient._json(input));
347
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
348
- };
349
- const se_CreateLogPatternCommand = async (input, context) => {
350
- const headers = sharedHeaders("CreateLogPattern");
351
- let body;
352
- body = JSON.stringify(smithyClient._json(input));
353
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
354
- };
355
- const se_DeleteApplicationCommand = async (input, context) => {
356
- const headers = sharedHeaders("DeleteApplication");
357
- let body;
358
- body = JSON.stringify(smithyClient._json(input));
359
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
360
- };
361
- const se_DeleteComponentCommand = async (input, context) => {
362
- const headers = sharedHeaders("DeleteComponent");
363
- let body;
364
- body = JSON.stringify(smithyClient._json(input));
365
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
366
- };
367
- const se_DeleteLogPatternCommand = async (input, context) => {
368
- const headers = sharedHeaders("DeleteLogPattern");
369
- let body;
370
- body = JSON.stringify(smithyClient._json(input));
371
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
372
- };
373
- const se_DescribeApplicationCommand = async (input, context) => {
374
- const headers = sharedHeaders("DescribeApplication");
375
- let body;
376
- body = JSON.stringify(smithyClient._json(input));
377
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
378
- };
379
- const se_DescribeComponentCommand = async (input, context) => {
380
- const headers = sharedHeaders("DescribeComponent");
381
- let body;
382
- body = JSON.stringify(smithyClient._json(input));
383
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
384
- };
385
- const se_DescribeComponentConfigurationCommand = async (input, context) => {
386
- const headers = sharedHeaders("DescribeComponentConfiguration");
387
- let body;
388
- body = JSON.stringify(smithyClient._json(input));
389
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
390
- };
391
- const se_DescribeComponentConfigurationRecommendationCommand = async (input, context) => {
392
- const headers = sharedHeaders("DescribeComponentConfigurationRecommendation");
393
- let body;
394
- body = JSON.stringify(smithyClient._json(input));
395
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
396
- };
397
- const se_DescribeLogPatternCommand = async (input, context) => {
398
- const headers = sharedHeaders("DescribeLogPattern");
399
- let body;
400
- body = JSON.stringify(smithyClient._json(input));
401
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
402
- };
403
- const se_DescribeObservationCommand = async (input, context) => {
404
- const headers = sharedHeaders("DescribeObservation");
405
- let body;
406
- body = JSON.stringify(smithyClient._json(input));
407
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
408
- };
409
- const se_DescribeProblemCommand = async (input, context) => {
410
- const headers = sharedHeaders("DescribeProblem");
411
- let body;
412
- body = JSON.stringify(smithyClient._json(input));
413
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
414
- };
415
- const se_DescribeProblemObservationsCommand = async (input, context) => {
416
- const headers = sharedHeaders("DescribeProblemObservations");
417
- let body;
418
- body = JSON.stringify(smithyClient._json(input));
419
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
420
- };
421
- const se_DescribeWorkloadCommand = async (input, context) => {
422
- const headers = sharedHeaders("DescribeWorkload");
423
- let body;
424
- body = JSON.stringify(smithyClient._json(input));
425
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
426
- };
427
- const se_ListApplicationsCommand = async (input, context) => {
428
- const headers = sharedHeaders("ListApplications");
429
- let body;
430
- body = JSON.stringify(smithyClient._json(input));
431
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
432
- };
433
- const se_ListComponentsCommand = async (input, context) => {
434
- const headers = sharedHeaders("ListComponents");
435
- let body;
436
- body = JSON.stringify(smithyClient._json(input));
437
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
438
- };
439
- const se_ListConfigurationHistoryCommand = async (input, context) => {
440
- const headers = sharedHeaders("ListConfigurationHistory");
441
- let body;
442
- body = JSON.stringify(se_ListConfigurationHistoryRequest(input));
443
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
444
- };
445
- const se_ListLogPatternsCommand = async (input, context) => {
446
- const headers = sharedHeaders("ListLogPatterns");
447
- let body;
448
- body = JSON.stringify(smithyClient._json(input));
449
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
450
- };
451
- const se_ListLogPatternSetsCommand = async (input, context) => {
452
- const headers = sharedHeaders("ListLogPatternSets");
453
- let body;
454
- body = JSON.stringify(smithyClient._json(input));
455
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
456
- };
457
- const se_ListProblemsCommand = async (input, context) => {
458
- const headers = sharedHeaders("ListProblems");
459
- let body;
460
- body = JSON.stringify(se_ListProblemsRequest(input));
461
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
462
- };
463
- const se_ListTagsForResourceCommand = async (input, context) => {
464
- const headers = sharedHeaders("ListTagsForResource");
465
- let body;
466
- body = JSON.stringify(smithyClient._json(input));
467
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
468
- };
469
- const se_ListWorkloadsCommand = async (input, context) => {
470
- const headers = sharedHeaders("ListWorkloads");
471
- let body;
472
- body = JSON.stringify(smithyClient._json(input));
473
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
474
- };
475
- const se_RemoveWorkloadCommand = async (input, context) => {
476
- const headers = sharedHeaders("RemoveWorkload");
477
- let body;
478
- body = JSON.stringify(smithyClient._json(input));
479
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
480
- };
481
- const se_TagResourceCommand = async (input, context) => {
482
- const headers = sharedHeaders("TagResource");
483
- let body;
484
- body = JSON.stringify(smithyClient._json(input));
485
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
486
- };
487
- const se_UntagResourceCommand = async (input, context) => {
488
- const headers = sharedHeaders("UntagResource");
489
- let body;
490
- body = JSON.stringify(smithyClient._json(input));
491
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
492
- };
493
- const se_UpdateApplicationCommand = async (input, context) => {
494
- const headers = sharedHeaders("UpdateApplication");
495
- let body;
496
- body = JSON.stringify(smithyClient._json(input));
497
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
498
- };
499
- const se_UpdateComponentCommand = async (input, context) => {
500
- const headers = sharedHeaders("UpdateComponent");
501
- let body;
502
- body = JSON.stringify(smithyClient._json(input));
503
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
504
- };
505
- const se_UpdateComponentConfigurationCommand = async (input, context) => {
506
- const headers = sharedHeaders("UpdateComponentConfiguration");
507
- let body;
508
- body = JSON.stringify(smithyClient._json(input));
509
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
510
- };
511
- const se_UpdateLogPatternCommand = async (input, context) => {
512
- const headers = sharedHeaders("UpdateLogPattern");
513
- let body;
514
- body = JSON.stringify(smithyClient._json(input));
515
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
516
- };
517
- const se_UpdateProblemCommand = async (input, context) => {
518
- const headers = sharedHeaders("UpdateProblem");
519
- let body;
520
- body = JSON.stringify(smithyClient._json(input));
521
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
522
- };
523
- const se_UpdateWorkloadCommand = async (input, context) => {
524
- const headers = sharedHeaders("UpdateWorkload");
525
- let body;
526
- body = JSON.stringify(smithyClient._json(input));
527
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
528
- };
529
- const de_AddWorkloadCommand = async (output, context) => {
530
- if (output.statusCode >= 300) {
531
- return de_CommandError(output, context);
532
- }
533
- const data = await core$1.parseJsonBody(output.body, context);
534
- let contents = {};
535
- contents = smithyClient._json(data);
536
- const response = {
537
- $metadata: deserializeMetadata(output),
538
- ...contents,
539
- };
540
- return response;
541
- };
542
- const de_CreateApplicationCommand = async (output, context) => {
543
- if (output.statusCode >= 300) {
544
- return de_CommandError(output, context);
545
- }
546
- const data = await core$1.parseJsonBody(output.body, context);
547
- let contents = {};
548
- contents = smithyClient._json(data);
549
- const response = {
550
- $metadata: deserializeMetadata(output),
551
- ...contents,
552
- };
553
- return response;
554
- };
555
- const de_CreateComponentCommand = async (output, context) => {
556
- if (output.statusCode >= 300) {
557
- return de_CommandError(output, context);
558
- }
559
- const data = await core$1.parseJsonBody(output.body, context);
560
- let contents = {};
561
- contents = smithyClient._json(data);
562
- const response = {
563
- $metadata: deserializeMetadata(output),
564
- ...contents,
565
- };
566
- return response;
567
- };
568
- const de_CreateLogPatternCommand = async (output, context) => {
569
- if (output.statusCode >= 300) {
570
- return de_CommandError(output, context);
571
- }
572
- const data = await core$1.parseJsonBody(output.body, context);
573
- let contents = {};
574
- contents = smithyClient._json(data);
575
- const response = {
576
- $metadata: deserializeMetadata(output),
577
- ...contents,
578
- };
579
- return response;
580
- };
581
- const de_DeleteApplicationCommand = async (output, context) => {
582
- if (output.statusCode >= 300) {
583
- return de_CommandError(output, context);
584
- }
585
- const data = await core$1.parseJsonBody(output.body, context);
586
- let contents = {};
587
- contents = smithyClient._json(data);
588
- const response = {
589
- $metadata: deserializeMetadata(output),
590
- ...contents,
591
- };
592
- return response;
593
- };
594
- const de_DeleteComponentCommand = async (output, context) => {
595
- if (output.statusCode >= 300) {
596
- return de_CommandError(output, context);
597
- }
598
- const data = await core$1.parseJsonBody(output.body, context);
599
- let contents = {};
600
- contents = smithyClient._json(data);
601
- const response = {
602
- $metadata: deserializeMetadata(output),
603
- ...contents,
604
- };
605
- return response;
606
- };
607
- const de_DeleteLogPatternCommand = async (output, context) => {
608
- if (output.statusCode >= 300) {
609
- return de_CommandError(output, context);
610
- }
611
- const data = await core$1.parseJsonBody(output.body, context);
612
- let contents = {};
613
- contents = smithyClient._json(data);
614
- const response = {
615
- $metadata: deserializeMetadata(output),
616
- ...contents,
617
- };
618
- return response;
619
- };
620
- const de_DescribeApplicationCommand = async (output, context) => {
621
- if (output.statusCode >= 300) {
622
- return de_CommandError(output, context);
623
- }
624
- const data = await core$1.parseJsonBody(output.body, context);
625
- let contents = {};
626
- contents = smithyClient._json(data);
627
- const response = {
628
- $metadata: deserializeMetadata(output),
629
- ...contents,
630
- };
631
- return response;
632
- };
633
- const de_DescribeComponentCommand = async (output, context) => {
634
- if (output.statusCode >= 300) {
635
- return de_CommandError(output, context);
636
- }
637
- const data = await core$1.parseJsonBody(output.body, context);
638
- let contents = {};
639
- contents = smithyClient._json(data);
640
- const response = {
641
- $metadata: deserializeMetadata(output),
642
- ...contents,
643
- };
644
- return response;
645
- };
646
- const de_DescribeComponentConfigurationCommand = async (output, context) => {
647
- if (output.statusCode >= 300) {
648
- return de_CommandError(output, context);
649
- }
650
- const data = await core$1.parseJsonBody(output.body, context);
651
- let contents = {};
652
- contents = smithyClient._json(data);
653
- const response = {
654
- $metadata: deserializeMetadata(output),
655
- ...contents,
656
- };
657
- return response;
658
- };
659
- const de_DescribeComponentConfigurationRecommendationCommand = async (output, context) => {
660
- if (output.statusCode >= 300) {
661
- return de_CommandError(output, context);
662
- }
663
- const data = await core$1.parseJsonBody(output.body, context);
664
- let contents = {};
665
- contents = smithyClient._json(data);
666
- const response = {
667
- $metadata: deserializeMetadata(output),
668
- ...contents,
669
- };
670
- return response;
671
- };
672
- const de_DescribeLogPatternCommand = async (output, context) => {
673
- if (output.statusCode >= 300) {
674
- return de_CommandError(output, context);
675
- }
676
- const data = await core$1.parseJsonBody(output.body, context);
677
- let contents = {};
678
- contents = smithyClient._json(data);
679
- const response = {
680
- $metadata: deserializeMetadata(output),
681
- ...contents,
682
- };
683
- return response;
684
- };
685
- const de_DescribeObservationCommand = async (output, context) => {
686
- if (output.statusCode >= 300) {
687
- return de_CommandError(output, context);
688
- }
689
- const data = await core$1.parseJsonBody(output.body, context);
690
- let contents = {};
691
- contents = de_DescribeObservationResponse(data);
692
- const response = {
693
- $metadata: deserializeMetadata(output),
694
- ...contents,
695
- };
696
- return response;
697
- };
698
- const de_DescribeProblemCommand = async (output, context) => {
699
- if (output.statusCode >= 300) {
700
- return de_CommandError(output, context);
701
- }
702
- const data = await core$1.parseJsonBody(output.body, context);
703
- let contents = {};
704
- contents = de_DescribeProblemResponse(data);
705
- const response = {
706
- $metadata: deserializeMetadata(output),
707
- ...contents,
708
- };
709
- return response;
710
- };
711
- const de_DescribeProblemObservationsCommand = async (output, context) => {
712
- if (output.statusCode >= 300) {
713
- return de_CommandError(output, context);
714
- }
715
- const data = await core$1.parseJsonBody(output.body, context);
716
- let contents = {};
717
- contents = de_DescribeProblemObservationsResponse(data);
718
- const response = {
719
- $metadata: deserializeMetadata(output),
720
- ...contents,
721
- };
722
- return response;
723
- };
724
- const de_DescribeWorkloadCommand = async (output, context) => {
725
- if (output.statusCode >= 300) {
726
- return de_CommandError(output, context);
727
- }
728
- const data = await core$1.parseJsonBody(output.body, context);
729
- let contents = {};
730
- contents = smithyClient._json(data);
731
- const response = {
732
- $metadata: deserializeMetadata(output),
733
- ...contents,
734
- };
735
- return response;
736
- };
737
- const de_ListApplicationsCommand = async (output, context) => {
738
- if (output.statusCode >= 300) {
739
- return de_CommandError(output, context);
740
- }
741
- const data = await core$1.parseJsonBody(output.body, context);
742
- let contents = {};
743
- contents = smithyClient._json(data);
744
- const response = {
745
- $metadata: deserializeMetadata(output),
746
- ...contents,
747
- };
748
- return response;
749
- };
750
- const de_ListComponentsCommand = async (output, context) => {
751
- if (output.statusCode >= 300) {
752
- return de_CommandError(output, context);
753
- }
754
- const data = await core$1.parseJsonBody(output.body, context);
755
- let contents = {};
756
- contents = smithyClient._json(data);
757
- const response = {
758
- $metadata: deserializeMetadata(output),
759
- ...contents,
760
- };
761
- return response;
762
- };
763
- const de_ListConfigurationHistoryCommand = async (output, context) => {
764
- if (output.statusCode >= 300) {
765
- return de_CommandError(output, context);
766
- }
767
- const data = await core$1.parseJsonBody(output.body, context);
768
- let contents = {};
769
- contents = de_ListConfigurationHistoryResponse(data);
770
- const response = {
771
- $metadata: deserializeMetadata(output),
772
- ...contents,
773
- };
774
- return response;
775
- };
776
- const de_ListLogPatternsCommand = async (output, context) => {
777
- if (output.statusCode >= 300) {
778
- return de_CommandError(output, context);
779
- }
780
- const data = await core$1.parseJsonBody(output.body, context);
781
- let contents = {};
782
- contents = smithyClient._json(data);
783
- const response = {
784
- $metadata: deserializeMetadata(output),
785
- ...contents,
786
- };
787
- return response;
788
- };
789
- const de_ListLogPatternSetsCommand = async (output, context) => {
790
- if (output.statusCode >= 300) {
791
- return de_CommandError(output, context);
792
- }
793
- const data = await core$1.parseJsonBody(output.body, context);
794
- let contents = {};
795
- contents = smithyClient._json(data);
796
- const response = {
797
- $metadata: deserializeMetadata(output),
798
- ...contents,
799
- };
800
- return response;
801
- };
802
- const de_ListProblemsCommand = async (output, context) => {
803
- if (output.statusCode >= 300) {
804
- return de_CommandError(output, context);
805
- }
806
- const data = await core$1.parseJsonBody(output.body, context);
807
- let contents = {};
808
- contents = de_ListProblemsResponse(data);
809
- const response = {
810
- $metadata: deserializeMetadata(output),
811
- ...contents,
812
- };
813
- return response;
814
- };
815
- const de_ListTagsForResourceCommand = async (output, context) => {
816
- if (output.statusCode >= 300) {
817
- return de_CommandError(output, context);
818
- }
819
- const data = await core$1.parseJsonBody(output.body, context);
820
- let contents = {};
821
- contents = smithyClient._json(data);
822
- const response = {
823
- $metadata: deserializeMetadata(output),
824
- ...contents,
825
- };
826
- return response;
827
- };
828
- const de_ListWorkloadsCommand = async (output, context) => {
829
- if (output.statusCode >= 300) {
830
- return de_CommandError(output, context);
831
- }
832
- const data = await core$1.parseJsonBody(output.body, context);
833
- let contents = {};
834
- contents = smithyClient._json(data);
835
- const response = {
836
- $metadata: deserializeMetadata(output),
837
- ...contents,
838
- };
839
- return response;
840
- };
841
- const de_RemoveWorkloadCommand = async (output, context) => {
842
- if (output.statusCode >= 300) {
843
- return de_CommandError(output, context);
844
- }
845
- const data = await core$1.parseJsonBody(output.body, context);
846
- let contents = {};
847
- contents = smithyClient._json(data);
848
- const response = {
849
- $metadata: deserializeMetadata(output),
850
- ...contents,
851
- };
852
- return response;
853
- };
854
- const de_TagResourceCommand = async (output, context) => {
855
- if (output.statusCode >= 300) {
856
- return de_CommandError(output, context);
857
- }
858
- const data = await core$1.parseJsonBody(output.body, context);
859
- let contents = {};
860
- contents = smithyClient._json(data);
861
- const response = {
862
- $metadata: deserializeMetadata(output),
863
- ...contents,
864
- };
865
- return response;
866
- };
867
- const de_UntagResourceCommand = async (output, context) => {
868
- if (output.statusCode >= 300) {
869
- return de_CommandError(output, context);
870
- }
871
- const data = await core$1.parseJsonBody(output.body, context);
872
- let contents = {};
873
- contents = smithyClient._json(data);
874
- const response = {
875
- $metadata: deserializeMetadata(output),
876
- ...contents,
877
- };
878
- return response;
879
- };
880
- const de_UpdateApplicationCommand = async (output, context) => {
881
- if (output.statusCode >= 300) {
882
- return de_CommandError(output, context);
883
- }
884
- const data = await core$1.parseJsonBody(output.body, context);
885
- let contents = {};
886
- contents = smithyClient._json(data);
887
- const response = {
888
- $metadata: deserializeMetadata(output),
889
- ...contents,
890
- };
891
- return response;
892
- };
893
- const de_UpdateComponentCommand = async (output, context) => {
894
- if (output.statusCode >= 300) {
895
- return de_CommandError(output, context);
896
- }
897
- const data = await core$1.parseJsonBody(output.body, context);
898
- let contents = {};
899
- contents = smithyClient._json(data);
900
- const response = {
901
- $metadata: deserializeMetadata(output),
902
- ...contents,
903
- };
904
- return response;
905
- };
906
- const de_UpdateComponentConfigurationCommand = async (output, context) => {
907
- if (output.statusCode >= 300) {
908
- return de_CommandError(output, context);
909
- }
910
- const data = await core$1.parseJsonBody(output.body, context);
911
- let contents = {};
912
- contents = smithyClient._json(data);
913
- const response = {
914
- $metadata: deserializeMetadata(output),
915
- ...contents,
916
- };
917
- return response;
918
- };
919
- const de_UpdateLogPatternCommand = async (output, context) => {
920
- if (output.statusCode >= 300) {
921
- return de_CommandError(output, context);
922
- }
923
- const data = await core$1.parseJsonBody(output.body, context);
924
- let contents = {};
925
- contents = smithyClient._json(data);
926
- const response = {
927
- $metadata: deserializeMetadata(output),
928
- ...contents,
929
- };
930
- return response;
931
- };
932
- const de_UpdateProblemCommand = async (output, context) => {
933
- if (output.statusCode >= 300) {
934
- return de_CommandError(output, context);
935
- }
936
- const data = await core$1.parseJsonBody(output.body, context);
937
- let contents = {};
938
- contents = smithyClient._json(data);
939
- const response = {
940
- $metadata: deserializeMetadata(output),
941
- ...contents,
942
- };
943
- return response;
944
- };
945
- const de_UpdateWorkloadCommand = async (output, context) => {
946
- if (output.statusCode >= 300) {
947
- return de_CommandError(output, context);
948
- }
949
- const data = await core$1.parseJsonBody(output.body, context);
950
- let contents = {};
951
- contents = smithyClient._json(data);
952
- const response = {
953
- $metadata: deserializeMetadata(output),
954
- ...contents,
955
- };
956
- return response;
957
- };
958
- const de_CommandError = async (output, context) => {
959
- const parsedOutput = {
960
- ...output,
961
- body: await core$1.parseJsonErrorBody(output.body, context),
962
- };
963
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
964
- switch (errorCode) {
965
- case "InternalServerException":
966
- case "com.amazonaws.applicationinsights#InternalServerException":
967
- throw await de_InternalServerExceptionRes(parsedOutput);
968
- case "ResourceInUseException":
969
- case "com.amazonaws.applicationinsights#ResourceInUseException":
970
- throw await de_ResourceInUseExceptionRes(parsedOutput);
971
- case "ResourceNotFoundException":
972
- case "com.amazonaws.applicationinsights#ResourceNotFoundException":
973
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
974
- case "ValidationException":
975
- case "com.amazonaws.applicationinsights#ValidationException":
976
- throw await de_ValidationExceptionRes(parsedOutput);
977
- case "AccessDeniedException":
978
- case "com.amazonaws.applicationinsights#AccessDeniedException":
979
- throw await de_AccessDeniedExceptionRes(parsedOutput);
980
- case "TagsAlreadyExistException":
981
- case "com.amazonaws.applicationinsights#TagsAlreadyExistException":
982
- throw await de_TagsAlreadyExistExceptionRes(parsedOutput);
983
- case "BadRequestException":
984
- case "com.amazonaws.applicationinsights#BadRequestException":
985
- throw await de_BadRequestExceptionRes(parsedOutput);
986
- case "TooManyTagsException":
987
- case "com.amazonaws.applicationinsights#TooManyTagsException":
988
- throw await de_TooManyTagsExceptionRes(parsedOutput);
989
- default:
990
- const parsedBody = parsedOutput.body;
991
- return throwDefaultError({
992
- output,
993
- parsedBody,
994
- errorCode,
995
- });
996
- }
997
- };
998
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
999
- const body = parsedOutput.body;
1000
- const deserialized = smithyClient._json(body);
1001
- const exception = new AccessDeniedException({
1002
- $metadata: deserializeMetadata(parsedOutput),
1003
- ...deserialized,
1004
- });
1005
- return smithyClient.decorateServiceException(exception, body);
1006
- };
1007
- const de_BadRequestExceptionRes = async (parsedOutput, context) => {
1008
- const body = parsedOutput.body;
1009
- const deserialized = smithyClient._json(body);
1010
- const exception = new BadRequestException({
1011
- $metadata: deserializeMetadata(parsedOutput),
1012
- ...deserialized,
1013
- });
1014
- return smithyClient.decorateServiceException(exception, body);
1015
- };
1016
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1017
- const body = parsedOutput.body;
1018
- const deserialized = smithyClient._json(body);
1019
- const exception = new InternalServerException({
1020
- $metadata: deserializeMetadata(parsedOutput),
1021
- ...deserialized,
1022
- });
1023
- return smithyClient.decorateServiceException(exception, body);
1024
- };
1025
- const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
1026
- const body = parsedOutput.body;
1027
- const deserialized = smithyClient._json(body);
1028
- const exception = new ResourceInUseException({
1029
- $metadata: deserializeMetadata(parsedOutput),
1030
- ...deserialized,
1031
- });
1032
- return smithyClient.decorateServiceException(exception, body);
1033
- };
1034
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1035
- const body = parsedOutput.body;
1036
- const deserialized = smithyClient._json(body);
1037
- const exception = new ResourceNotFoundException({
1038
- $metadata: deserializeMetadata(parsedOutput),
1039
- ...deserialized,
1040
- });
1041
- return smithyClient.decorateServiceException(exception, body);
1042
- };
1043
- const de_TagsAlreadyExistExceptionRes = async (parsedOutput, context) => {
1044
- const body = parsedOutput.body;
1045
- const deserialized = smithyClient._json(body);
1046
- const exception = new TagsAlreadyExistException({
1047
- $metadata: deserializeMetadata(parsedOutput),
1048
- ...deserialized,
1049
- });
1050
- return smithyClient.decorateServiceException(exception, body);
1051
- };
1052
- const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1053
- const body = parsedOutput.body;
1054
- const deserialized = smithyClient._json(body);
1055
- const exception = new TooManyTagsException({
1056
- $metadata: deserializeMetadata(parsedOutput),
1057
- ...deserialized,
1058
- });
1059
- return smithyClient.decorateServiceException(exception, body);
1060
- };
1061
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1062
- const body = parsedOutput.body;
1063
- const deserialized = smithyClient._json(body);
1064
- const exception = new ValidationException({
1065
- $metadata: deserializeMetadata(parsedOutput),
1066
- ...deserialized,
1067
- });
1068
- return smithyClient.decorateServiceException(exception, body);
1069
- };
1070
- const se_ListConfigurationHistoryRequest = (input, context) => {
1071
- return smithyClient.take(input, {
1072
- AccountId: [],
1073
- EndTime: (_) => _.getTime() / 1_000,
1074
- EventStatus: [],
1075
- MaxResults: [],
1076
- NextToken: [],
1077
- ResourceGroupName: [],
1078
- StartTime: (_) => _.getTime() / 1_000,
1079
- });
1080
- };
1081
- const se_ListProblemsRequest = (input, context) => {
1082
- return smithyClient.take(input, {
1083
- AccountId: [],
1084
- ComponentName: [],
1085
- EndTime: (_) => _.getTime() / 1_000,
1086
- MaxResults: [],
1087
- NextToken: [],
1088
- ResourceGroupName: [],
1089
- StartTime: (_) => _.getTime() / 1_000,
1090
- Visibility: [],
1091
- });
1092
- };
1093
- const de_ConfigurationEvent = (output, context) => {
1094
- return smithyClient.take(output, {
1095
- AccountId: smithyClient.expectString,
1096
- EventDetail: smithyClient.expectString,
1097
- EventResourceName: smithyClient.expectString,
1098
- EventResourceType: smithyClient.expectString,
1099
- EventStatus: smithyClient.expectString,
1100
- EventTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1101
- MonitoredResourceARN: smithyClient.expectString,
1102
- ResourceGroupName: smithyClient.expectString,
1103
- });
1104
- };
1105
- const de_ConfigurationEventList = (output, context) => {
1106
- const retVal = (output || [])
1107
- .filter((e) => e != null)
1108
- .map((entry) => {
1109
- return de_ConfigurationEvent(entry);
1110
- });
1111
- return retVal;
1112
- };
1113
- const de_DescribeObservationResponse = (output, context) => {
1114
- return smithyClient.take(output, {
1115
- Observation: (_) => de_Observation(_),
1116
- });
1117
- };
1118
- const de_DescribeProblemObservationsResponse = (output, context) => {
1119
- return smithyClient.take(output, {
1120
- RelatedObservations: (_) => de_RelatedObservations(_),
1121
- });
1122
- };
1123
- const de_DescribeProblemResponse = (output, context) => {
1124
- return smithyClient.take(output, {
1125
- Problem: (_) => de_Problem(_),
1126
- SNSNotificationArn: smithyClient.expectString,
1127
- });
1128
- };
1129
- const de_ListConfigurationHistoryResponse = (output, context) => {
1130
- return smithyClient.take(output, {
1131
- EventList: (_) => de_ConfigurationEventList(_),
1132
- NextToken: smithyClient.expectString,
1133
- });
1134
- };
1135
- const de_ListProblemsResponse = (output, context) => {
1136
- return smithyClient.take(output, {
1137
- AccountId: smithyClient.expectString,
1138
- NextToken: smithyClient.expectString,
1139
- ProblemList: (_) => de_ProblemList(_),
1140
- ResourceGroupName: smithyClient.expectString,
1141
- });
1142
- };
1143
- const de_Observation = (output, context) => {
1144
- return smithyClient.take(output, {
1145
- CloudWatchEventDetailType: smithyClient.expectString,
1146
- CloudWatchEventId: smithyClient.expectString,
1147
- CloudWatchEventSource: smithyClient.expectString,
1148
- CodeDeployApplication: smithyClient.expectString,
1149
- CodeDeployDeploymentGroup: smithyClient.expectString,
1150
- CodeDeployDeploymentId: smithyClient.expectString,
1151
- CodeDeployInstanceGroupId: smithyClient.expectString,
1152
- CodeDeployState: smithyClient.expectString,
1153
- EbsCause: smithyClient.expectString,
1154
- EbsEvent: smithyClient.expectString,
1155
- EbsRequestId: smithyClient.expectString,
1156
- EbsResult: smithyClient.expectString,
1157
- Ec2State: smithyClient.expectString,
1158
- EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1159
- HealthEventArn: smithyClient.expectString,
1160
- HealthEventDescription: smithyClient.expectString,
1161
- HealthEventTypeCategory: smithyClient.expectString,
1162
- HealthEventTypeCode: smithyClient.expectString,
1163
- HealthService: smithyClient.expectString,
1164
- Id: smithyClient.expectString,
1165
- LineTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1166
- LogFilter: smithyClient.expectString,
1167
- LogGroup: smithyClient.expectString,
1168
- LogText: smithyClient.expectString,
1169
- MetricName: smithyClient.expectString,
1170
- MetricNamespace: smithyClient.expectString,
1171
- RdsEventCategories: smithyClient.expectString,
1172
- RdsEventMessage: smithyClient.expectString,
1173
- S3EventName: smithyClient.expectString,
1174
- SourceARN: smithyClient.expectString,
1175
- SourceType: smithyClient.expectString,
1176
- StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1177
- StatesArn: smithyClient.expectString,
1178
- StatesExecutionArn: smithyClient.expectString,
1179
- StatesInput: smithyClient.expectString,
1180
- StatesStatus: smithyClient.expectString,
1181
- Unit: smithyClient.expectString,
1182
- Value: smithyClient.limitedParseDouble,
1183
- XRayErrorPercent: smithyClient.expectInt32,
1184
- XRayFaultPercent: smithyClient.expectInt32,
1185
- XRayNodeName: smithyClient.expectString,
1186
- XRayNodeType: smithyClient.expectString,
1187
- XRayRequestAverageLatency: smithyClient.expectLong,
1188
- XRayRequestCount: smithyClient.expectInt32,
1189
- XRayThrottlePercent: smithyClient.expectInt32,
1190
- });
1191
- };
1192
- const de_ObservationList = (output, context) => {
1193
- const retVal = (output || [])
1194
- .filter((e) => e != null)
1195
- .map((entry) => {
1196
- return de_Observation(entry);
1197
- });
1198
- return retVal;
1199
- };
1200
- const de_Problem = (output, context) => {
1201
- return smithyClient.take(output, {
1202
- AccountId: smithyClient.expectString,
1203
- AffectedResource: smithyClient.expectString,
1204
- EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1205
- Feedback: smithyClient._json,
1206
- Id: smithyClient.expectString,
1207
- Insights: smithyClient.expectString,
1208
- LastRecurrenceTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1209
- RecurringCount: smithyClient.expectLong,
1210
- ResolutionMethod: smithyClient.expectString,
1211
- ResourceGroupName: smithyClient.expectString,
1212
- SeverityLevel: smithyClient.expectString,
1213
- ShortName: smithyClient.expectString,
1214
- StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1215
- Status: smithyClient.expectString,
1216
- Title: smithyClient.expectString,
1217
- Visibility: smithyClient.expectString,
1218
- });
1219
- };
1220
- const de_ProblemList = (output, context) => {
1221
- const retVal = (output || [])
1222
- .filter((e) => e != null)
1223
- .map((entry) => {
1224
- return de_Problem(entry);
1225
- });
1226
- return retVal;
1227
- };
1228
- const de_RelatedObservations = (output, context) => {
1229
- return smithyClient.take(output, {
1230
- ObservationList: (_) => de_ObservationList(_),
1231
- });
1232
- };
1233
- const deserializeMetadata = (output) => ({
1234
- httpStatusCode: output.statusCode,
1235
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1236
- extendedRequestId: output.headers["x-amz-id-2"],
1237
- cfId: output.headers["x-amz-cf-id"],
1238
- });
1239
- const throwDefaultError = smithyClient.withBaseException(ApplicationInsightsServiceException);
1240
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1241
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1242
- const contents = {
1243
- protocol,
1244
- hostname,
1245
- port,
1246
- method: "POST",
1247
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1248
- headers,
1249
- };
1250
- if (body !== undefined) {
1251
- contents.body = body;
1252
- }
1253
- return new protocolHttp.HttpRequest(contents);
1254
- };
1255
- function sharedHeaders(operation) {
1256
- return {
1257
- "content-type": "application/x-amz-json-1.1",
1258
- "x-amz-target": `EC2WindowsBarleyService.${operation}`,
1259
- };
1260
- }
331
+ const _AC = "ApplicationComponent";
332
+ const _ACE = "AutoConfigEnabled";
333
+ const _ACL = "ApplicationComponentList";
334
+ const _ACu = "AutoCreate";
335
+ const _ADE = "AccessDeniedException";
336
+ const _AI = "ApplicationInfo";
337
+ const _AIL = "ApplicationInfoList";
338
+ const _AIc = "AccountId";
339
+ const _AMP = "AttachMissingPermission";
340
+ const _AR = "AffectedResource";
341
+ const _AW = "AddWorkload";
342
+ const _AWR = "AddWorkloadRequest";
343
+ const _AWRd = "AddWorkloadResponse";
344
+ const _BRE = "BadRequestException";
345
+ const _C = "Configuration";
346
+ const _CA = "CreateApplication";
347
+ const _CAR = "CreateApplicationRequest";
348
+ const _CARr = "CreateApplicationResponse";
349
+ const _CC = "ComponentConfiguration";
350
+ const _CCR = "CreateComponentRequest";
351
+ const _CCRr = "CreateComponentResponse";
352
+ const _CCr = "CreateComponent";
353
+ const _CDA = "CodeDeployApplication";
354
+ const _CDDG = "CodeDeployDeploymentGroup";
355
+ const _CDDI = "CodeDeployDeploymentId";
356
+ const _CDIGI = "CodeDeployInstanceGroupId";
357
+ const _CDS = "CodeDeployState";
358
+ const _CE = "ConfigurationEvent";
359
+ const _CEL = "ConfigurationEventList";
360
+ const _CLP = "CreateLogPattern";
361
+ const _CLPR = "CreateLogPatternRequest";
362
+ const _CLPRr = "CreateLogPatternResponse";
363
+ const _CN = "ComponentName";
364
+ const _CR = "ComponentRemarks";
365
+ const _CWEDT = "CloudWatchEventDetailType";
366
+ const _CWEI = "CloudWatchEventId";
367
+ const _CWEME = "CWEMonitorEnabled";
368
+ const _CWES = "CloudWatchEventSource";
369
+ const _DA = "DeleteApplication";
370
+ const _DAR = "DeleteApplicationRequest";
371
+ const _DARe = "DeleteApplicationResponse";
372
+ const _DARes = "DescribeApplicationRequest";
373
+ const _DAResc = "DescribeApplicationResponse";
374
+ const _DAe = "DescribeApplication";
375
+ const _DC = "DeleteComponent";
376
+ const _DCC = "DescribeComponentConfiguration";
377
+ const _DCCR = "DescribeComponentConfigurationRequest";
378
+ const _DCCRR = "DescribeComponentConfigurationRecommendationRequest";
379
+ const _DCCRRe = "DescribeComponentConfigurationRecommendationResponse";
380
+ const _DCCRe = "DescribeComponentConfigurationResponse";
381
+ const _DCCRes = "DescribeComponentConfigurationRecommendation";
382
+ const _DCR = "DeleteComponentRequest";
383
+ const _DCRe = "DeleteComponentResponse";
384
+ const _DCRes = "DescribeComponentRequest";
385
+ const _DCResc = "DescribeComponentResponse";
386
+ const _DCe = "DescribeComponent";
387
+ const _DLP = "DeleteLogPattern";
388
+ const _DLPR = "DeleteLogPatternRequest";
389
+ const _DLPRe = "DeleteLogPatternResponse";
390
+ const _DLPRes = "DescribeLogPatternRequest";
391
+ const _DLPResc = "DescribeLogPatternResponse";
392
+ const _DLPe = "DescribeLogPattern";
393
+ const _DO = "DescribeObservation";
394
+ const _DOR = "DescribeObservationRequest";
395
+ const _DORe = "DescribeObservationResponse";
396
+ const _DP = "DescribeProblem";
397
+ const _DPO = "DescribeProblemObservations";
398
+ const _DPOR = "DescribeProblemObservationsRequest";
399
+ const _DPORe = "DescribeProblemObservationsResponse";
400
+ const _DPR = "DescribeProblemRequest";
401
+ const _DPRe = "DescribeProblemResponse";
402
+ const _DT = "DiscoveryType";
403
+ const _DW = "DetectedWorkload";
404
+ const _DWR = "DescribeWorkloadRequest";
405
+ const _DWRe = "DescribeWorkloadResponse";
406
+ const _DWe = "DescribeWorkload";
407
+ const _EC = "EbsCause";
408
+ const _ED = "EventDetail";
409
+ const _EE = "EbsEvent";
410
+ const _EL = "EventList";
411
+ const _ER = "EbsResult";
412
+ const _ERI = "EbsRequestId";
413
+ const _ERN = "EventResourceName";
414
+ const _ERT = "EventResourceType";
415
+ const _ES = "EventStatus";
416
+ const _ESc = "Ec2State";
417
+ const _ET = "EventTime";
418
+ const _ETn = "EndTime";
419
+ const _F = "Feedback";
420
+ const _GT = "GroupingType";
421
+ const _HEA = "HealthEventArn";
422
+ const _HED = "HealthEventDescription";
423
+ const _HETC = "HealthEventTypeCode";
424
+ const _HETCe = "HealthEventTypeCategory";
425
+ const _HS = "HealthService";
426
+ const _I = "Id";
427
+ const _ISE = "InternalServerException";
428
+ const _In = "Insights";
429
+ const _K = "Key";
430
+ const _LA = "ListApplications";
431
+ const _LAR = "ListApplicationsRequest";
432
+ const _LARi = "ListApplicationsResponse";
433
+ const _LC = "LifeCycle";
434
+ const _LCH = "ListConfigurationHistory";
435
+ const _LCHR = "ListConfigurationHistoryRequest";
436
+ const _LCHRi = "ListConfigurationHistoryResponse";
437
+ const _LCR = "ListComponentsRequest";
438
+ const _LCRi = "ListComponentsResponse";
439
+ const _LCi = "ListComponents";
440
+ const _LF = "LogFilter";
441
+ const _LG = "LogGroup";
442
+ const _LLP = "ListLogPatterns";
443
+ const _LLPR = "ListLogPatternsRequest";
444
+ const _LLPRi = "ListLogPatternsResponse";
445
+ const _LLPS = "ListLogPatternSets";
446
+ const _LLPSR = "ListLogPatternSetsRequest";
447
+ const _LLPSRi = "ListLogPatternSetsResponse";
448
+ const _LP = "LogPattern";
449
+ const _LPL = "LogPatternList";
450
+ const _LPR = "ListProblemsRequest";
451
+ const _LPRi = "ListProblemsResponse";
452
+ const _LPS = "LogPatternSets";
453
+ const _LPi = "ListProblems";
454
+ const _LPo = "LogPatterns";
455
+ const _LRT = "LastRecurrenceTime";
456
+ const _LT = "LineTime";
457
+ const _LTFR = "ListTagsForResource";
458
+ const _LTFRR = "ListTagsForResourceRequest";
459
+ const _LTFRRi = "ListTagsForResourceResponse";
460
+ const _LTo = "LogText";
461
+ const _LW = "ListWorkloads";
462
+ const _LWR = "ListWorkloadsRequest";
463
+ const _LWRi = "ListWorkloadsResponse";
464
+ const _M = "Message";
465
+ const _MN = "MetricNamespace";
466
+ const _MNe = "MetricName";
467
+ const _MR = "MaxResults";
468
+ const _MRARN = "MonitoredResourceARN";
469
+ const _MWC = "MissingWorkloadConfig";
470
+ const _Mo = "Monitor";
471
+ const _NCN = "NewComponentName";
472
+ const _NT = "NextToken";
473
+ const _O = "Observation";
474
+ const _OCE = "OpsCenterEnabled";
475
+ const _OI = "ObservationId";
476
+ const _OISNSTA = "OpsItemSNSTopicArn";
477
+ const _OL = "ObservationList";
478
+ const _OT = "OsType";
479
+ const _P = "Pattern";
480
+ const _PI = "ProblemId";
481
+ const _PL = "ProblemList";
482
+ const _PN = "PatternName";
483
+ const _PSN = "PatternSetName";
484
+ const _Pr = "Problem";
485
+ const _R = "Remarks";
486
+ const _RARN = "ResourceARN";
487
+ const _RC = "RecurringCount";
488
+ const _REC = "RdsEventCategories";
489
+ const _REM = "RdsEventMessage";
490
+ const _RGN = "ResourceGroupName";
491
+ const _RIUE = "ResourceInUseException";
492
+ const _RL = "ResourceList";
493
+ const _RM = "ResolutionMethod";
494
+ const _RN = "ResourceName";
495
+ const _RNFE = "ResourceNotFoundException";
496
+ const _RO = "RelatedObservations";
497
+ const _RSNST = "RemoveSNSTopic";
498
+ const _RT = "ResourceType";
499
+ const _RTe = "RecommendationType";
500
+ const _RW = "RemoveWorkload";
501
+ const _RWR = "RemoveWorkloadRequest";
502
+ const _RWRe = "RemoveWorkloadResponse";
503
+ const _Ra = "Rank";
504
+ const _S = "Status";
505
+ const _SA = "StatesArn";
506
+ const _SARN = "SourceARN";
507
+ const _SEA = "StatesExecutionArn";
508
+ const _SEN = "S3EventName";
509
+ const _SI = "StatesInput";
510
+ const _SL = "SeverityLevel";
511
+ const _SN = "ShortName";
512
+ const _SNSNA = "SNSNotificationArn";
513
+ const _SS = "StatesStatus";
514
+ const _ST = "StartTime";
515
+ const _STo = "SourceType";
516
+ const _T = "Tier";
517
+ const _TAEE = "TagsAlreadyExistException";
518
+ const _TK = "TagKeys";
519
+ const _TL = "TagList";
520
+ const _TMTE = "TooManyTagsException";
521
+ const _TR = "TagResource";
522
+ const _TRR = "TagResourceRequest";
523
+ const _TRRa = "TagResourceResponse";
524
+ const _Ta = "Tags";
525
+ const _Tag = "Tag";
526
+ const _Ti = "Title";
527
+ const _U = "Unit";
528
+ const _UA = "UpdateApplication";
529
+ const _UAR = "UpdateApplicationRequest";
530
+ const _UARp = "UpdateApplicationResponse";
531
+ const _UC = "UpdateComponent";
532
+ const _UCC = "UpdateComponentConfiguration";
533
+ const _UCCR = "UpdateComponentConfigurationRequest";
534
+ const _UCCRp = "UpdateComponentConfigurationResponse";
535
+ const _UCR = "UpdateComponentRequest";
536
+ const _UCRp = "UpdateComponentResponse";
537
+ const _ULP = "UpdateLogPattern";
538
+ const _ULPR = "UpdateLogPatternRequest";
539
+ const _ULPRp = "UpdateLogPatternResponse";
540
+ const _UP = "UpdateProblem";
541
+ const _UPR = "UpdateProblemRequest";
542
+ const _UPRp = "UpdateProblemResponse";
543
+ const _UR = "UntagResource";
544
+ const _URR = "UntagResourceRequest";
545
+ const _URRn = "UntagResourceResponse";
546
+ const _US = "UpdateStatus";
547
+ const _UW = "UpdateWorkload";
548
+ const _UWR = "UpdateWorkloadRequest";
549
+ const _UWRp = "UpdateWorkloadResponse";
550
+ const _V = "Visibility";
551
+ const _VE = "ValidationException";
552
+ const _Va = "Value";
553
+ const _W = "Workload";
554
+ const _WC = "WorkloadConfiguration";
555
+ const _WI = "WorkloadId";
556
+ const _WL = "WorkloadList";
557
+ const _WN = "WorkloadName";
558
+ const _WR = "WorkloadRemarks";
559
+ const _XREP = "XRayErrorPercent";
560
+ const _XRFP = "XRayFaultPercent";
561
+ const _XRNN = "XRayNodeName";
562
+ const _XRNT = "XRayNodeType";
563
+ const _XRRAL = "XRayRequestAverageLatency";
564
+ const _XRRC = "XRayRequestCount";
565
+ const _XRTP = "XRayThrottlePercent";
566
+ const _aQE = "awsQueryError";
567
+ const _c = "client";
568
+ const _e = "error";
569
+ const _hE = "httpError";
570
+ const _s = "server";
571
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.applicationinsights";
572
+ const n0 = "com.amazonaws.applicationinsights";
573
+ var AccessDeniedException = [
574
+ -3,
575
+ n0,
576
+ _ADE,
577
+ {
578
+ [_e]: _c,
579
+ [_hE]: 403,
580
+ [_aQE]: [`AccessDeniedException`, 403],
581
+ },
582
+ [_M],
583
+ [0],
584
+ ];
585
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
586
+ var AddWorkloadRequest = [
587
+ 3,
588
+ n0,
589
+ _AWR,
590
+ 0,
591
+ [_RGN, _CN, _WC],
592
+ [0, 0, () => WorkloadConfiguration],
593
+ ];
594
+ var AddWorkloadResponse = [3, n0, _AWRd, 0, [_WI, _WC], [0, () => WorkloadConfiguration]];
595
+ var ApplicationComponent = [
596
+ 3,
597
+ n0,
598
+ _AC,
599
+ 0,
600
+ [_CN, _CR, _RT, _OT, _T, _Mo, _DW],
601
+ [0, 0, 0, 0, 0, 2, [2, n0, _DW, 0, 0, 128 | 0]],
602
+ ];
603
+ var ApplicationInfo = [
604
+ 3,
605
+ n0,
606
+ _AI,
607
+ 0,
608
+ [_AIc, _RGN, _LC, _OISNSTA, _SNSNA, _OCE, _CWEME, _R, _ACE, _DT, _AMP],
609
+ [0, 0, 0, 0, 0, 2, 2, 0, 2, 0, 2],
610
+ ];
611
+ var BadRequestException = [
612
+ -3,
613
+ n0,
614
+ _BRE,
615
+ {
616
+ [_e]: _c,
617
+ [_hE]: 400,
618
+ [_aQE]: [`BadRequestException`, 400],
619
+ },
620
+ [_M],
621
+ [0],
622
+ ];
623
+ schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
624
+ var ConfigurationEvent = [
625
+ 3,
626
+ n0,
627
+ _CE,
628
+ 0,
629
+ [_RGN, _AIc, _MRARN, _ES, _ERT, _ET, _ED, _ERN],
630
+ [0, 0, 0, 0, 0, 4, 0, 0],
631
+ ];
632
+ var CreateApplicationRequest = [
633
+ 3,
634
+ n0,
635
+ _CAR,
636
+ 0,
637
+ [_RGN, _OCE, _CWEME, _OISNSTA, _SNSNA, _Ta, _ACE, _ACu, _GT, _AMP],
638
+ [0, 2, 2, 0, 0, () => TagList, 2, 2, 0, 2],
639
+ ];
640
+ var CreateApplicationResponse = [3, n0, _CARr, 0, [_AI], [() => ApplicationInfo]];
641
+ var CreateComponentRequest = [3, n0, _CCR, 0, [_RGN, _CN, _RL], [0, 0, 64 | 0]];
642
+ var CreateComponentResponse = [3, n0, _CCRr, 0, [], []];
643
+ var CreateLogPatternRequest = [
644
+ 3,
645
+ n0,
646
+ _CLPR,
647
+ 0,
648
+ [_RGN, _PSN, _PN, _P, _Ra],
649
+ [0, 0, 0, 0, 1],
650
+ ];
651
+ var CreateLogPatternResponse = [3, n0, _CLPRr, 0, [_LP, _RGN], [() => LogPattern, 0]];
652
+ var DeleteApplicationRequest = [3, n0, _DAR, 0, [_RGN], [0]];
653
+ var DeleteApplicationResponse = [3, n0, _DARe, 0, [], []];
654
+ var DeleteComponentRequest = [3, n0, _DCR, 0, [_RGN, _CN], [0, 0]];
655
+ var DeleteComponentResponse = [3, n0, _DCRe, 0, [], []];
656
+ var DeleteLogPatternRequest = [3, n0, _DLPR, 0, [_RGN, _PSN, _PN], [0, 0, 0]];
657
+ var DeleteLogPatternResponse = [3, n0, _DLPRe, 0, [], []];
658
+ var DescribeApplicationRequest = [3, n0, _DARes, 0, [_RGN, _AIc], [0, 0]];
659
+ var DescribeApplicationResponse = [3, n0, _DAResc, 0, [_AI], [() => ApplicationInfo]];
660
+ var DescribeComponentConfigurationRecommendationRequest = [
661
+ 3,
662
+ n0,
663
+ _DCCRR,
664
+ 0,
665
+ [_RGN, _CN, _T, _WN, _RTe],
666
+ [0, 0, 0, 0, 0],
667
+ ];
668
+ var DescribeComponentConfigurationRecommendationResponse = [
669
+ 3,
670
+ n0,
671
+ _DCCRRe,
672
+ 0,
673
+ [_CC],
674
+ [0],
675
+ ];
676
+ var DescribeComponentConfigurationRequest = [
677
+ 3,
678
+ n0,
679
+ _DCCR,
680
+ 0,
681
+ [_RGN, _CN, _AIc],
682
+ [0, 0, 0],
683
+ ];
684
+ var DescribeComponentConfigurationResponse = [
685
+ 3,
686
+ n0,
687
+ _DCCRe,
688
+ 0,
689
+ [_Mo, _T, _CC],
690
+ [2, 0, 0],
691
+ ];
692
+ var DescribeComponentRequest = [3, n0, _DCRes, 0, [_RGN, _CN, _AIc], [0, 0, 0]];
693
+ var DescribeComponentResponse = [
694
+ 3,
695
+ n0,
696
+ _DCResc,
697
+ 0,
698
+ [_AC, _RL],
699
+ [() => ApplicationComponent, 64 | 0],
700
+ ];
701
+ var DescribeLogPatternRequest = [
702
+ 3,
703
+ n0,
704
+ _DLPRes,
705
+ 0,
706
+ [_RGN, _PSN, _PN, _AIc],
707
+ [0, 0, 0, 0],
708
+ ];
709
+ var DescribeLogPatternResponse = [
710
+ 3,
711
+ n0,
712
+ _DLPResc,
713
+ 0,
714
+ [_RGN, _AIc, _LP],
715
+ [0, 0, () => LogPattern],
716
+ ];
717
+ var DescribeObservationRequest = [3, n0, _DOR, 0, [_OI, _AIc], [0, 0]];
718
+ var DescribeObservationResponse = [3, n0, _DORe, 0, [_O], [() => Observation]];
719
+ var DescribeProblemObservationsRequest = [3, n0, _DPOR, 0, [_PI, _AIc], [0, 0]];
720
+ var DescribeProblemObservationsResponse = [
721
+ 3,
722
+ n0,
723
+ _DPORe,
724
+ 0,
725
+ [_RO],
726
+ [() => RelatedObservations],
727
+ ];
728
+ var DescribeProblemRequest = [3, n0, _DPR, 0, [_PI, _AIc], [0, 0]];
729
+ var DescribeProblemResponse = [3, n0, _DPRe, 0, [_Pr, _SNSNA], [() => Problem, 0]];
730
+ var DescribeWorkloadRequest = [3, n0, _DWR, 0, [_RGN, _CN, _WI, _AIc], [0, 0, 0, 0]];
731
+ var DescribeWorkloadResponse = [
732
+ 3,
733
+ n0,
734
+ _DWRe,
735
+ 0,
736
+ [_WI, _WR, _WC],
737
+ [0, 0, () => WorkloadConfiguration],
738
+ ];
739
+ var InternalServerException = [
740
+ -3,
741
+ n0,
742
+ _ISE,
743
+ {
744
+ [_e]: _s,
745
+ [_hE]: 500,
746
+ [_aQE]: [`InternalServerException`, 500],
747
+ },
748
+ [_M],
749
+ [0],
750
+ ];
751
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
752
+ var ListApplicationsRequest = [3, n0, _LAR, 0, [_MR, _NT, _AIc], [1, 0, 0]];
753
+ var ListApplicationsResponse = [
754
+ 3,
755
+ n0,
756
+ _LARi,
757
+ 0,
758
+ [_AIL, _NT],
759
+ [() => ApplicationInfoList, 0],
760
+ ];
761
+ var ListComponentsRequest = [3, n0, _LCR, 0, [_RGN, _MR, _NT, _AIc], [0, 1, 0, 0]];
762
+ var ListComponentsResponse = [
763
+ 3,
764
+ n0,
765
+ _LCRi,
766
+ 0,
767
+ [_ACL, _NT],
768
+ [() => ApplicationComponentList, 0],
769
+ ];
770
+ var ListConfigurationHistoryRequest = [
771
+ 3,
772
+ n0,
773
+ _LCHR,
774
+ 0,
775
+ [_RGN, _ST, _ETn, _ES, _MR, _NT, _AIc],
776
+ [0, 4, 4, 0, 1, 0, 0],
777
+ ];
778
+ var ListConfigurationHistoryResponse = [
779
+ 3,
780
+ n0,
781
+ _LCHRi,
782
+ 0,
783
+ [_EL, _NT],
784
+ [() => ConfigurationEventList, 0],
785
+ ];
786
+ var ListLogPatternSetsRequest = [3, n0, _LLPSR, 0, [_RGN, _MR, _NT, _AIc], [0, 1, 0, 0]];
787
+ var ListLogPatternSetsResponse = [
788
+ 3,
789
+ n0,
790
+ _LLPSRi,
791
+ 0,
792
+ [_RGN, _AIc, _LPS, _NT],
793
+ [0, 0, 64 | 0, 0],
794
+ ];
795
+ var ListLogPatternsRequest = [
796
+ 3,
797
+ n0,
798
+ _LLPR,
799
+ 0,
800
+ [_RGN, _PSN, _MR, _NT, _AIc],
801
+ [0, 0, 1, 0, 0],
802
+ ];
803
+ var ListLogPatternsResponse = [
804
+ 3,
805
+ n0,
806
+ _LLPRi,
807
+ 0,
808
+ [_RGN, _AIc, _LPo, _NT],
809
+ [0, 0, () => LogPatternList, 0],
810
+ ];
811
+ var ListProblemsRequest = [
812
+ 3,
813
+ n0,
814
+ _LPR,
815
+ 0,
816
+ [_AIc, _RGN, _ST, _ETn, _MR, _NT, _CN, _V],
817
+ [0, 0, 4, 4, 1, 0, 0, 0],
818
+ ];
819
+ var ListProblemsResponse = [
820
+ 3,
821
+ n0,
822
+ _LPRi,
823
+ 0,
824
+ [_PL, _NT, _RGN, _AIc],
825
+ [() => ProblemList, 0, 0, 0],
826
+ ];
827
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RARN], [0]];
828
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_Ta], [() => TagList]];
829
+ var ListWorkloadsRequest = [3, n0, _LWR, 0, [_RGN, _CN, _MR, _NT, _AIc], [0, 0, 1, 0, 0]];
830
+ var ListWorkloadsResponse = [3, n0, _LWRi, 0, [_WL, _NT], [() => WorkloadList, 0]];
831
+ var LogPattern = [3, n0, _LP, 0, [_PSN, _PN, _P, _Ra], [0, 0, 0, 1]];
832
+ var Observation = [
833
+ 3,
834
+ n0,
835
+ _O,
836
+ 0,
837
+ [
838
+ _I,
839
+ _ST,
840
+ _ETn,
841
+ _STo,
842
+ _SARN,
843
+ _LG,
844
+ _LT,
845
+ _LTo,
846
+ _LF,
847
+ _MN,
848
+ _MNe,
849
+ _U,
850
+ _Va,
851
+ _CWEI,
852
+ _CWES,
853
+ _CWEDT,
854
+ _HEA,
855
+ _HS,
856
+ _HETC,
857
+ _HETCe,
858
+ _HED,
859
+ _CDDI,
860
+ _CDDG,
861
+ _CDS,
862
+ _CDA,
863
+ _CDIGI,
864
+ _ESc,
865
+ _REC,
866
+ _REM,
867
+ _SEN,
868
+ _SEA,
869
+ _SA,
870
+ _SS,
871
+ _SI,
872
+ _EE,
873
+ _ER,
874
+ _EC,
875
+ _ERI,
876
+ _XRFP,
877
+ _XRTP,
878
+ _XREP,
879
+ _XRRC,
880
+ _XRRAL,
881
+ _XRNN,
882
+ _XRNT,
883
+ ],
884
+ [
885
+ 0, 4, 4, 0, 0, 0, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
886
+ 1, 1, 1, 1, 0, 0,
887
+ ],
888
+ ];
889
+ var Problem = [
890
+ 3,
891
+ n0,
892
+ _Pr,
893
+ 0,
894
+ [_I, _Ti, _SN, _In, _S, _AR, _ST, _ETn, _SL, _AIc, _RGN, _F, _RC, _LRT, _V, _RM],
895
+ [0, 0, 0, 0, 0, 0, 4, 4, 0, 0, 0, 128 | 0, 1, 4, 0, 0],
896
+ ];
897
+ var RelatedObservations = [3, n0, _RO, 0, [_OL], [() => ObservationList]];
898
+ var RemoveWorkloadRequest = [3, n0, _RWR, 0, [_RGN, _CN, _WI], [0, 0, 0]];
899
+ var RemoveWorkloadResponse = [3, n0, _RWRe, 0, [], []];
900
+ var ResourceInUseException = [
901
+ -3,
902
+ n0,
903
+ _RIUE,
904
+ {
905
+ [_e]: _c,
906
+ [_hE]: 400,
907
+ [_aQE]: [`ResourceInUseException`, 400],
908
+ },
909
+ [_M],
910
+ [0],
911
+ ];
912
+ schema.TypeRegistry.for(n0).registerError(ResourceInUseException, ResourceInUseException$1);
913
+ var ResourceNotFoundException = [
914
+ -3,
915
+ n0,
916
+ _RNFE,
917
+ {
918
+ [_e]: _c,
919
+ [_hE]: 404,
920
+ [_aQE]: [`ResourceNotFoundException`, 404],
921
+ },
922
+ [_M],
923
+ [0],
924
+ ];
925
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
926
+ var Tag = [3, n0, _Tag, 0, [_K, _Va], [0, 0]];
927
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RARN, _Ta], [0, () => TagList]];
928
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
929
+ var TagsAlreadyExistException = [
930
+ -3,
931
+ n0,
932
+ _TAEE,
933
+ {
934
+ [_e]: _c,
935
+ [_hE]: 400,
936
+ },
937
+ [_M],
938
+ [0],
939
+ ];
940
+ schema.TypeRegistry.for(n0).registerError(TagsAlreadyExistException, TagsAlreadyExistException$1);
941
+ var TooManyTagsException = [
942
+ -3,
943
+ n0,
944
+ _TMTE,
945
+ {
946
+ [_e]: _c,
947
+ [_hE]: 400,
948
+ },
949
+ [_M, _RN],
950
+ [0, 0],
951
+ ];
952
+ schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
953
+ var UntagResourceRequest = [3, n0, _URR, 0, [_RARN, _TK], [0, 64 | 0]];
954
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
955
+ var UpdateApplicationRequest = [
956
+ 3,
957
+ n0,
958
+ _UAR,
959
+ 0,
960
+ [_RGN, _OCE, _CWEME, _OISNSTA, _SNSNA, _RSNST, _ACE, _AMP],
961
+ [0, 2, 2, 0, 0, 2, 2, 2],
962
+ ];
963
+ var UpdateApplicationResponse = [3, n0, _UARp, 0, [_AI], [() => ApplicationInfo]];
964
+ var UpdateComponentConfigurationRequest = [
965
+ 3,
966
+ n0,
967
+ _UCCR,
968
+ 0,
969
+ [_RGN, _CN, _Mo, _T, _CC, _ACE],
970
+ [0, 0, 2, 0, 0, 2],
971
+ ];
972
+ var UpdateComponentConfigurationResponse = [3, n0, _UCCRp, 0, [], []];
973
+ var UpdateComponentRequest = [3, n0, _UCR, 0, [_RGN, _CN, _NCN, _RL], [0, 0, 0, 64 | 0]];
974
+ var UpdateComponentResponse = [3, n0, _UCRp, 0, [], []];
975
+ var UpdateLogPatternRequest = [
976
+ 3,
977
+ n0,
978
+ _ULPR,
979
+ 0,
980
+ [_RGN, _PSN, _PN, _P, _Ra],
981
+ [0, 0, 0, 0, 1],
982
+ ];
983
+ var UpdateLogPatternResponse = [3, n0, _ULPRp, 0, [_RGN, _LP], [0, () => LogPattern]];
984
+ var UpdateProblemRequest = [3, n0, _UPR, 0, [_PI, _US, _V], [0, 0, 0]];
985
+ var UpdateProblemResponse = [3, n0, _UPRp, 0, [], []];
986
+ var UpdateWorkloadRequest = [
987
+ 3,
988
+ n0,
989
+ _UWR,
990
+ 0,
991
+ [_RGN, _CN, _WI, _WC],
992
+ [0, 0, 0, () => WorkloadConfiguration],
993
+ ];
994
+ var UpdateWorkloadResponse = [
995
+ 3,
996
+ n0,
997
+ _UWRp,
998
+ 0,
999
+ [_WI, _WC],
1000
+ [0, () => WorkloadConfiguration],
1001
+ ];
1002
+ var ValidationException = [
1003
+ -3,
1004
+ n0,
1005
+ _VE,
1006
+ {
1007
+ [_e]: _c,
1008
+ [_hE]: 400,
1009
+ [_aQE]: [`ValidationException`, 400],
1010
+ },
1011
+ [_M],
1012
+ [0],
1013
+ ];
1014
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1015
+ var Workload = [3, n0, _W, 0, [_WI, _CN, _WN, _T, _WR, _MWC], [0, 0, 0, 0, 0, 2]];
1016
+ var WorkloadConfiguration = [3, n0, _WC, 0, [_WN, _T, _C], [0, 0, 0]];
1017
+ var ApplicationInsightsServiceException = [
1018
+ -3,
1019
+ _sm,
1020
+ "ApplicationInsightsServiceException",
1021
+ 0,
1022
+ [],
1023
+ [],
1024
+ ];
1025
+ schema.TypeRegistry.for(_sm).registerError(ApplicationInsightsServiceException, ApplicationInsightsServiceException$1);
1026
+ var ApplicationComponentList = [1, n0, _ACL, 0, () => ApplicationComponent];
1027
+ var ApplicationInfoList = [1, n0, _AIL, 0, () => ApplicationInfo];
1028
+ var ConfigurationEventList = [1, n0, _CEL, 0, () => ConfigurationEvent];
1029
+ var LogPatternList = [1, n0, _LPL, 0, () => LogPattern];
1030
+ var ObservationList = [1, n0, _OL, 0, () => Observation];
1031
+ var ProblemList = [1, n0, _PL, 0, () => Problem];
1032
+ var TagList = [1, n0, _TL, 0, () => Tag];
1033
+ var WorkloadList = [1, n0, _WL, 0, () => Workload];
1034
+ var AddWorkload = [9, n0, _AW, 0, () => AddWorkloadRequest, () => AddWorkloadResponse];
1035
+ var CreateApplication = [
1036
+ 9,
1037
+ n0,
1038
+ _CA,
1039
+ 0,
1040
+ () => CreateApplicationRequest,
1041
+ () => CreateApplicationResponse,
1042
+ ];
1043
+ var CreateComponent = [
1044
+ 9,
1045
+ n0,
1046
+ _CCr,
1047
+ 0,
1048
+ () => CreateComponentRequest,
1049
+ () => CreateComponentResponse,
1050
+ ];
1051
+ var CreateLogPattern = [
1052
+ 9,
1053
+ n0,
1054
+ _CLP,
1055
+ 0,
1056
+ () => CreateLogPatternRequest,
1057
+ () => CreateLogPatternResponse,
1058
+ ];
1059
+ var DeleteApplication = [
1060
+ 9,
1061
+ n0,
1062
+ _DA,
1063
+ 0,
1064
+ () => DeleteApplicationRequest,
1065
+ () => DeleteApplicationResponse,
1066
+ ];
1067
+ var DeleteComponent = [
1068
+ 9,
1069
+ n0,
1070
+ _DC,
1071
+ 0,
1072
+ () => DeleteComponentRequest,
1073
+ () => DeleteComponentResponse,
1074
+ ];
1075
+ var DeleteLogPattern = [
1076
+ 9,
1077
+ n0,
1078
+ _DLP,
1079
+ 0,
1080
+ () => DeleteLogPatternRequest,
1081
+ () => DeleteLogPatternResponse,
1082
+ ];
1083
+ var DescribeApplication = [
1084
+ 9,
1085
+ n0,
1086
+ _DAe,
1087
+ 0,
1088
+ () => DescribeApplicationRequest,
1089
+ () => DescribeApplicationResponse,
1090
+ ];
1091
+ var DescribeComponent = [
1092
+ 9,
1093
+ n0,
1094
+ _DCe,
1095
+ 0,
1096
+ () => DescribeComponentRequest,
1097
+ () => DescribeComponentResponse,
1098
+ ];
1099
+ var DescribeComponentConfiguration = [
1100
+ 9,
1101
+ n0,
1102
+ _DCC,
1103
+ 0,
1104
+ () => DescribeComponentConfigurationRequest,
1105
+ () => DescribeComponentConfigurationResponse,
1106
+ ];
1107
+ var DescribeComponentConfigurationRecommendation = [
1108
+ 9,
1109
+ n0,
1110
+ _DCCRes,
1111
+ 0,
1112
+ () => DescribeComponentConfigurationRecommendationRequest,
1113
+ () => DescribeComponentConfigurationRecommendationResponse,
1114
+ ];
1115
+ var DescribeLogPattern = [
1116
+ 9,
1117
+ n0,
1118
+ _DLPe,
1119
+ 0,
1120
+ () => DescribeLogPatternRequest,
1121
+ () => DescribeLogPatternResponse,
1122
+ ];
1123
+ var DescribeObservation = [
1124
+ 9,
1125
+ n0,
1126
+ _DO,
1127
+ 0,
1128
+ () => DescribeObservationRequest,
1129
+ () => DescribeObservationResponse,
1130
+ ];
1131
+ var DescribeProblem = [
1132
+ 9,
1133
+ n0,
1134
+ _DP,
1135
+ 0,
1136
+ () => DescribeProblemRequest,
1137
+ () => DescribeProblemResponse,
1138
+ ];
1139
+ var DescribeProblemObservations = [
1140
+ 9,
1141
+ n0,
1142
+ _DPO,
1143
+ 0,
1144
+ () => DescribeProblemObservationsRequest,
1145
+ () => DescribeProblemObservationsResponse,
1146
+ ];
1147
+ var DescribeWorkload = [
1148
+ 9,
1149
+ n0,
1150
+ _DWe,
1151
+ 0,
1152
+ () => DescribeWorkloadRequest,
1153
+ () => DescribeWorkloadResponse,
1154
+ ];
1155
+ var ListApplications = [
1156
+ 9,
1157
+ n0,
1158
+ _LA,
1159
+ 0,
1160
+ () => ListApplicationsRequest,
1161
+ () => ListApplicationsResponse,
1162
+ ];
1163
+ var ListComponents = [
1164
+ 9,
1165
+ n0,
1166
+ _LCi,
1167
+ 0,
1168
+ () => ListComponentsRequest,
1169
+ () => ListComponentsResponse,
1170
+ ];
1171
+ var ListConfigurationHistory = [
1172
+ 9,
1173
+ n0,
1174
+ _LCH,
1175
+ 0,
1176
+ () => ListConfigurationHistoryRequest,
1177
+ () => ListConfigurationHistoryResponse,
1178
+ ];
1179
+ var ListLogPatterns = [
1180
+ 9,
1181
+ n0,
1182
+ _LLP,
1183
+ 0,
1184
+ () => ListLogPatternsRequest,
1185
+ () => ListLogPatternsResponse,
1186
+ ];
1187
+ var ListLogPatternSets = [
1188
+ 9,
1189
+ n0,
1190
+ _LLPS,
1191
+ 0,
1192
+ () => ListLogPatternSetsRequest,
1193
+ () => ListLogPatternSetsResponse,
1194
+ ];
1195
+ var ListProblems = [
1196
+ 9,
1197
+ n0,
1198
+ _LPi,
1199
+ 0,
1200
+ () => ListProblemsRequest,
1201
+ () => ListProblemsResponse,
1202
+ ];
1203
+ var ListTagsForResource = [
1204
+ 9,
1205
+ n0,
1206
+ _LTFR,
1207
+ 0,
1208
+ () => ListTagsForResourceRequest,
1209
+ () => ListTagsForResourceResponse,
1210
+ ];
1211
+ var ListWorkloads = [
1212
+ 9,
1213
+ n0,
1214
+ _LW,
1215
+ 0,
1216
+ () => ListWorkloadsRequest,
1217
+ () => ListWorkloadsResponse,
1218
+ ];
1219
+ var RemoveWorkload = [
1220
+ 9,
1221
+ n0,
1222
+ _RW,
1223
+ 0,
1224
+ () => RemoveWorkloadRequest,
1225
+ () => RemoveWorkloadResponse,
1226
+ ];
1227
+ var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
1228
+ var UntagResource = [
1229
+ 9,
1230
+ n0,
1231
+ _UR,
1232
+ 0,
1233
+ () => UntagResourceRequest,
1234
+ () => UntagResourceResponse,
1235
+ ];
1236
+ var UpdateApplication = [
1237
+ 9,
1238
+ n0,
1239
+ _UA,
1240
+ 0,
1241
+ () => UpdateApplicationRequest,
1242
+ () => UpdateApplicationResponse,
1243
+ ];
1244
+ var UpdateComponent = [
1245
+ 9,
1246
+ n0,
1247
+ _UC,
1248
+ 0,
1249
+ () => UpdateComponentRequest,
1250
+ () => UpdateComponentResponse,
1251
+ ];
1252
+ var UpdateComponentConfiguration = [
1253
+ 9,
1254
+ n0,
1255
+ _UCC,
1256
+ 0,
1257
+ () => UpdateComponentConfigurationRequest,
1258
+ () => UpdateComponentConfigurationResponse,
1259
+ ];
1260
+ var UpdateLogPattern = [
1261
+ 9,
1262
+ n0,
1263
+ _ULP,
1264
+ 0,
1265
+ () => UpdateLogPatternRequest,
1266
+ () => UpdateLogPatternResponse,
1267
+ ];
1268
+ var UpdateProblem = [
1269
+ 9,
1270
+ n0,
1271
+ _UP,
1272
+ 0,
1273
+ () => UpdateProblemRequest,
1274
+ () => UpdateProblemResponse,
1275
+ ];
1276
+ var UpdateWorkload = [
1277
+ 9,
1278
+ n0,
1279
+ _UW,
1280
+ 0,
1281
+ () => UpdateWorkloadRequest,
1282
+ () => UpdateWorkloadResponse,
1283
+ ];
1261
1284
 
1262
1285
  class AddWorkloadCommand extends smithyClient.Command
1263
1286
  .classBuilder()
1264
1287
  .ep(commonParams)
1265
1288
  .m(function (Command, cs, config, o) {
1266
- return [
1267
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1268
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1269
- ];
1289
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1270
1290
  })
1271
1291
  .s("EC2WindowsBarleyService", "AddWorkload", {})
1272
1292
  .n("ApplicationInsightsClient", "AddWorkloadCommand")
1273
- .f(void 0, void 0)
1274
- .ser(se_AddWorkloadCommand)
1275
- .de(de_AddWorkloadCommand)
1293
+ .sc(AddWorkload)
1276
1294
  .build() {
1277
1295
  }
1278
1296
 
@@ -1280,16 +1298,11 @@ class CreateApplicationCommand extends smithyClient.Command
1280
1298
  .classBuilder()
1281
1299
  .ep(commonParams)
1282
1300
  .m(function (Command, cs, config, o) {
1283
- return [
1284
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1285
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1286
- ];
1301
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1287
1302
  })
1288
1303
  .s("EC2WindowsBarleyService", "CreateApplication", {})
1289
1304
  .n("ApplicationInsightsClient", "CreateApplicationCommand")
1290
- .f(void 0, void 0)
1291
- .ser(se_CreateApplicationCommand)
1292
- .de(de_CreateApplicationCommand)
1305
+ .sc(CreateApplication)
1293
1306
  .build() {
1294
1307
  }
1295
1308
 
@@ -1297,16 +1310,11 @@ class CreateComponentCommand extends smithyClient.Command
1297
1310
  .classBuilder()
1298
1311
  .ep(commonParams)
1299
1312
  .m(function (Command, cs, config, o) {
1300
- return [
1301
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1302
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1303
- ];
1313
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1304
1314
  })
1305
1315
  .s("EC2WindowsBarleyService", "CreateComponent", {})
1306
1316
  .n("ApplicationInsightsClient", "CreateComponentCommand")
1307
- .f(void 0, void 0)
1308
- .ser(se_CreateComponentCommand)
1309
- .de(de_CreateComponentCommand)
1317
+ .sc(CreateComponent)
1310
1318
  .build() {
1311
1319
  }
1312
1320
 
@@ -1314,16 +1322,11 @@ class CreateLogPatternCommand extends smithyClient.Command
1314
1322
  .classBuilder()
1315
1323
  .ep(commonParams)
1316
1324
  .m(function (Command, cs, config, o) {
1317
- return [
1318
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1319
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1320
- ];
1325
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1321
1326
  })
1322
1327
  .s("EC2WindowsBarleyService", "CreateLogPattern", {})
1323
1328
  .n("ApplicationInsightsClient", "CreateLogPatternCommand")
1324
- .f(void 0, void 0)
1325
- .ser(se_CreateLogPatternCommand)
1326
- .de(de_CreateLogPatternCommand)
1329
+ .sc(CreateLogPattern)
1327
1330
  .build() {
1328
1331
  }
1329
1332
 
@@ -1331,16 +1334,11 @@ class DeleteApplicationCommand extends smithyClient.Command
1331
1334
  .classBuilder()
1332
1335
  .ep(commonParams)
1333
1336
  .m(function (Command, cs, config, o) {
1334
- return [
1335
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1336
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1337
- ];
1337
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1338
1338
  })
1339
1339
  .s("EC2WindowsBarleyService", "DeleteApplication", {})
1340
1340
  .n("ApplicationInsightsClient", "DeleteApplicationCommand")
1341
- .f(void 0, void 0)
1342
- .ser(se_DeleteApplicationCommand)
1343
- .de(de_DeleteApplicationCommand)
1341
+ .sc(DeleteApplication)
1344
1342
  .build() {
1345
1343
  }
1346
1344
 
@@ -1348,16 +1346,11 @@ class DeleteComponentCommand extends smithyClient.Command
1348
1346
  .classBuilder()
1349
1347
  .ep(commonParams)
1350
1348
  .m(function (Command, cs, config, o) {
1351
- return [
1352
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1353
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1354
- ];
1349
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1355
1350
  })
1356
1351
  .s("EC2WindowsBarleyService", "DeleteComponent", {})
1357
1352
  .n("ApplicationInsightsClient", "DeleteComponentCommand")
1358
- .f(void 0, void 0)
1359
- .ser(se_DeleteComponentCommand)
1360
- .de(de_DeleteComponentCommand)
1353
+ .sc(DeleteComponent)
1361
1354
  .build() {
1362
1355
  }
1363
1356
 
@@ -1365,16 +1358,11 @@ class DeleteLogPatternCommand extends smithyClient.Command
1365
1358
  .classBuilder()
1366
1359
  .ep(commonParams)
1367
1360
  .m(function (Command, cs, config, o) {
1368
- return [
1369
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1370
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1371
- ];
1361
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1372
1362
  })
1373
1363
  .s("EC2WindowsBarleyService", "DeleteLogPattern", {})
1374
1364
  .n("ApplicationInsightsClient", "DeleteLogPatternCommand")
1375
- .f(void 0, void 0)
1376
- .ser(se_DeleteLogPatternCommand)
1377
- .de(de_DeleteLogPatternCommand)
1365
+ .sc(DeleteLogPattern)
1378
1366
  .build() {
1379
1367
  }
1380
1368
 
@@ -1382,16 +1370,11 @@ class DescribeApplicationCommand extends smithyClient.Command
1382
1370
  .classBuilder()
1383
1371
  .ep(commonParams)
1384
1372
  .m(function (Command, cs, config, o) {
1385
- return [
1386
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1387
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1388
- ];
1373
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1389
1374
  })
1390
1375
  .s("EC2WindowsBarleyService", "DescribeApplication", {})
1391
1376
  .n("ApplicationInsightsClient", "DescribeApplicationCommand")
1392
- .f(void 0, void 0)
1393
- .ser(se_DescribeApplicationCommand)
1394
- .de(de_DescribeApplicationCommand)
1377
+ .sc(DescribeApplication)
1395
1378
  .build() {
1396
1379
  }
1397
1380
 
@@ -1399,16 +1382,11 @@ class DescribeComponentCommand extends smithyClient.Command
1399
1382
  .classBuilder()
1400
1383
  .ep(commonParams)
1401
1384
  .m(function (Command, cs, config, o) {
1402
- return [
1403
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1404
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1405
- ];
1385
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1406
1386
  })
1407
1387
  .s("EC2WindowsBarleyService", "DescribeComponent", {})
1408
1388
  .n("ApplicationInsightsClient", "DescribeComponentCommand")
1409
- .f(void 0, void 0)
1410
- .ser(se_DescribeComponentCommand)
1411
- .de(de_DescribeComponentCommand)
1389
+ .sc(DescribeComponent)
1412
1390
  .build() {
1413
1391
  }
1414
1392
 
@@ -1416,16 +1394,11 @@ class DescribeComponentConfigurationCommand extends smithyClient.Command
1416
1394
  .classBuilder()
1417
1395
  .ep(commonParams)
1418
1396
  .m(function (Command, cs, config, o) {
1419
- return [
1420
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1421
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1422
- ];
1397
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1423
1398
  })
1424
1399
  .s("EC2WindowsBarleyService", "DescribeComponentConfiguration", {})
1425
1400
  .n("ApplicationInsightsClient", "DescribeComponentConfigurationCommand")
1426
- .f(void 0, void 0)
1427
- .ser(se_DescribeComponentConfigurationCommand)
1428
- .de(de_DescribeComponentConfigurationCommand)
1401
+ .sc(DescribeComponentConfiguration)
1429
1402
  .build() {
1430
1403
  }
1431
1404
 
@@ -1433,16 +1406,11 @@ class DescribeComponentConfigurationRecommendationCommand extends smithyClient.C
1433
1406
  .classBuilder()
1434
1407
  .ep(commonParams)
1435
1408
  .m(function (Command, cs, config, o) {
1436
- return [
1437
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1438
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1439
- ];
1409
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1440
1410
  })
1441
1411
  .s("EC2WindowsBarleyService", "DescribeComponentConfigurationRecommendation", {})
1442
1412
  .n("ApplicationInsightsClient", "DescribeComponentConfigurationRecommendationCommand")
1443
- .f(void 0, void 0)
1444
- .ser(se_DescribeComponentConfigurationRecommendationCommand)
1445
- .de(de_DescribeComponentConfigurationRecommendationCommand)
1413
+ .sc(DescribeComponentConfigurationRecommendation)
1446
1414
  .build() {
1447
1415
  }
1448
1416
 
@@ -1450,16 +1418,11 @@ class DescribeLogPatternCommand extends smithyClient.Command
1450
1418
  .classBuilder()
1451
1419
  .ep(commonParams)
1452
1420
  .m(function (Command, cs, config, o) {
1453
- return [
1454
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1455
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1456
- ];
1421
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1457
1422
  })
1458
1423
  .s("EC2WindowsBarleyService", "DescribeLogPattern", {})
1459
1424
  .n("ApplicationInsightsClient", "DescribeLogPatternCommand")
1460
- .f(void 0, void 0)
1461
- .ser(se_DescribeLogPatternCommand)
1462
- .de(de_DescribeLogPatternCommand)
1425
+ .sc(DescribeLogPattern)
1463
1426
  .build() {
1464
1427
  }
1465
1428
 
@@ -1467,16 +1430,11 @@ class DescribeObservationCommand extends smithyClient.Command
1467
1430
  .classBuilder()
1468
1431
  .ep(commonParams)
1469
1432
  .m(function (Command, cs, config, o) {
1470
- return [
1471
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1472
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1473
- ];
1433
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1474
1434
  })
1475
1435
  .s("EC2WindowsBarleyService", "DescribeObservation", {})
1476
1436
  .n("ApplicationInsightsClient", "DescribeObservationCommand")
1477
- .f(void 0, void 0)
1478
- .ser(se_DescribeObservationCommand)
1479
- .de(de_DescribeObservationCommand)
1437
+ .sc(DescribeObservation)
1480
1438
  .build() {
1481
1439
  }
1482
1440
 
@@ -1484,16 +1442,11 @@ class DescribeProblemCommand extends smithyClient.Command
1484
1442
  .classBuilder()
1485
1443
  .ep(commonParams)
1486
1444
  .m(function (Command, cs, config, o) {
1487
- return [
1488
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1489
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1490
- ];
1445
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1491
1446
  })
1492
1447
  .s("EC2WindowsBarleyService", "DescribeProblem", {})
1493
1448
  .n("ApplicationInsightsClient", "DescribeProblemCommand")
1494
- .f(void 0, void 0)
1495
- .ser(se_DescribeProblemCommand)
1496
- .de(de_DescribeProblemCommand)
1449
+ .sc(DescribeProblem)
1497
1450
  .build() {
1498
1451
  }
1499
1452
 
@@ -1501,16 +1454,11 @@ class DescribeProblemObservationsCommand extends smithyClient.Command
1501
1454
  .classBuilder()
1502
1455
  .ep(commonParams)
1503
1456
  .m(function (Command, cs, config, o) {
1504
- return [
1505
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1506
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1507
- ];
1457
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1508
1458
  })
1509
1459
  .s("EC2WindowsBarleyService", "DescribeProblemObservations", {})
1510
1460
  .n("ApplicationInsightsClient", "DescribeProblemObservationsCommand")
1511
- .f(void 0, void 0)
1512
- .ser(se_DescribeProblemObservationsCommand)
1513
- .de(de_DescribeProblemObservationsCommand)
1461
+ .sc(DescribeProblemObservations)
1514
1462
  .build() {
1515
1463
  }
1516
1464
 
@@ -1518,16 +1466,11 @@ class DescribeWorkloadCommand extends smithyClient.Command
1518
1466
  .classBuilder()
1519
1467
  .ep(commonParams)
1520
1468
  .m(function (Command, cs, config, o) {
1521
- return [
1522
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1523
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1524
- ];
1469
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1525
1470
  })
1526
1471
  .s("EC2WindowsBarleyService", "DescribeWorkload", {})
1527
1472
  .n("ApplicationInsightsClient", "DescribeWorkloadCommand")
1528
- .f(void 0, void 0)
1529
- .ser(se_DescribeWorkloadCommand)
1530
- .de(de_DescribeWorkloadCommand)
1473
+ .sc(DescribeWorkload)
1531
1474
  .build() {
1532
1475
  }
1533
1476
 
@@ -1535,16 +1478,11 @@ class ListApplicationsCommand extends smithyClient.Command
1535
1478
  .classBuilder()
1536
1479
  .ep(commonParams)
1537
1480
  .m(function (Command, cs, config, o) {
1538
- return [
1539
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1540
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1541
- ];
1481
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1542
1482
  })
1543
1483
  .s("EC2WindowsBarleyService", "ListApplications", {})
1544
1484
  .n("ApplicationInsightsClient", "ListApplicationsCommand")
1545
- .f(void 0, void 0)
1546
- .ser(se_ListApplicationsCommand)
1547
- .de(de_ListApplicationsCommand)
1485
+ .sc(ListApplications)
1548
1486
  .build() {
1549
1487
  }
1550
1488
 
@@ -1552,16 +1490,11 @@ class ListComponentsCommand extends smithyClient.Command
1552
1490
  .classBuilder()
1553
1491
  .ep(commonParams)
1554
1492
  .m(function (Command, cs, config, o) {
1555
- return [
1556
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1557
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1558
- ];
1493
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1559
1494
  })
1560
1495
  .s("EC2WindowsBarleyService", "ListComponents", {})
1561
1496
  .n("ApplicationInsightsClient", "ListComponentsCommand")
1562
- .f(void 0, void 0)
1563
- .ser(se_ListComponentsCommand)
1564
- .de(de_ListComponentsCommand)
1497
+ .sc(ListComponents)
1565
1498
  .build() {
1566
1499
  }
1567
1500
 
@@ -1569,16 +1502,11 @@ class ListConfigurationHistoryCommand extends smithyClient.Command
1569
1502
  .classBuilder()
1570
1503
  .ep(commonParams)
1571
1504
  .m(function (Command, cs, config, o) {
1572
- return [
1573
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1574
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1575
- ];
1505
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1576
1506
  })
1577
1507
  .s("EC2WindowsBarleyService", "ListConfigurationHistory", {})
1578
1508
  .n("ApplicationInsightsClient", "ListConfigurationHistoryCommand")
1579
- .f(void 0, void 0)
1580
- .ser(se_ListConfigurationHistoryCommand)
1581
- .de(de_ListConfigurationHistoryCommand)
1509
+ .sc(ListConfigurationHistory)
1582
1510
  .build() {
1583
1511
  }
1584
1512
 
@@ -1586,16 +1514,11 @@ class ListLogPatternsCommand extends smithyClient.Command
1586
1514
  .classBuilder()
1587
1515
  .ep(commonParams)
1588
1516
  .m(function (Command, cs, config, o) {
1589
- return [
1590
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1591
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1592
- ];
1517
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1593
1518
  })
1594
1519
  .s("EC2WindowsBarleyService", "ListLogPatterns", {})
1595
1520
  .n("ApplicationInsightsClient", "ListLogPatternsCommand")
1596
- .f(void 0, void 0)
1597
- .ser(se_ListLogPatternsCommand)
1598
- .de(de_ListLogPatternsCommand)
1521
+ .sc(ListLogPatterns)
1599
1522
  .build() {
1600
1523
  }
1601
1524
 
@@ -1603,16 +1526,11 @@ class ListLogPatternSetsCommand extends smithyClient.Command
1603
1526
  .classBuilder()
1604
1527
  .ep(commonParams)
1605
1528
  .m(function (Command, cs, config, o) {
1606
- return [
1607
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1608
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1609
- ];
1529
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1610
1530
  })
1611
1531
  .s("EC2WindowsBarleyService", "ListLogPatternSets", {})
1612
1532
  .n("ApplicationInsightsClient", "ListLogPatternSetsCommand")
1613
- .f(void 0, void 0)
1614
- .ser(se_ListLogPatternSetsCommand)
1615
- .de(de_ListLogPatternSetsCommand)
1533
+ .sc(ListLogPatternSets)
1616
1534
  .build() {
1617
1535
  }
1618
1536
 
@@ -1620,16 +1538,11 @@ class ListProblemsCommand extends smithyClient.Command
1620
1538
  .classBuilder()
1621
1539
  .ep(commonParams)
1622
1540
  .m(function (Command, cs, config, o) {
1623
- return [
1624
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1625
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1626
- ];
1541
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1627
1542
  })
1628
1543
  .s("EC2WindowsBarleyService", "ListProblems", {})
1629
1544
  .n("ApplicationInsightsClient", "ListProblemsCommand")
1630
- .f(void 0, void 0)
1631
- .ser(se_ListProblemsCommand)
1632
- .de(de_ListProblemsCommand)
1545
+ .sc(ListProblems)
1633
1546
  .build() {
1634
1547
  }
1635
1548
 
@@ -1637,16 +1550,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1637
1550
  .classBuilder()
1638
1551
  .ep(commonParams)
1639
1552
  .m(function (Command, cs, config, o) {
1640
- return [
1641
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1642
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1643
- ];
1553
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1644
1554
  })
1645
1555
  .s("EC2WindowsBarleyService", "ListTagsForResource", {})
1646
1556
  .n("ApplicationInsightsClient", "ListTagsForResourceCommand")
1647
- .f(void 0, void 0)
1648
- .ser(se_ListTagsForResourceCommand)
1649
- .de(de_ListTagsForResourceCommand)
1557
+ .sc(ListTagsForResource)
1650
1558
  .build() {
1651
1559
  }
1652
1560
 
@@ -1654,16 +1562,11 @@ class ListWorkloadsCommand extends smithyClient.Command
1654
1562
  .classBuilder()
1655
1563
  .ep(commonParams)
1656
1564
  .m(function (Command, cs, config, o) {
1657
- return [
1658
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1659
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1660
- ];
1565
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1661
1566
  })
1662
1567
  .s("EC2WindowsBarleyService", "ListWorkloads", {})
1663
1568
  .n("ApplicationInsightsClient", "ListWorkloadsCommand")
1664
- .f(void 0, void 0)
1665
- .ser(se_ListWorkloadsCommand)
1666
- .de(de_ListWorkloadsCommand)
1569
+ .sc(ListWorkloads)
1667
1570
  .build() {
1668
1571
  }
1669
1572
 
@@ -1671,16 +1574,11 @@ class RemoveWorkloadCommand extends smithyClient.Command
1671
1574
  .classBuilder()
1672
1575
  .ep(commonParams)
1673
1576
  .m(function (Command, cs, config, o) {
1674
- return [
1675
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1676
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1677
- ];
1577
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1678
1578
  })
1679
1579
  .s("EC2WindowsBarleyService", "RemoveWorkload", {})
1680
1580
  .n("ApplicationInsightsClient", "RemoveWorkloadCommand")
1681
- .f(void 0, void 0)
1682
- .ser(se_RemoveWorkloadCommand)
1683
- .de(de_RemoveWorkloadCommand)
1581
+ .sc(RemoveWorkload)
1684
1582
  .build() {
1685
1583
  }
1686
1584
 
@@ -1688,16 +1586,11 @@ class TagResourceCommand extends smithyClient.Command
1688
1586
  .classBuilder()
1689
1587
  .ep(commonParams)
1690
1588
  .m(function (Command, cs, config, o) {
1691
- return [
1692
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1693
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1694
- ];
1589
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1695
1590
  })
1696
1591
  .s("EC2WindowsBarleyService", "TagResource", {})
1697
1592
  .n("ApplicationInsightsClient", "TagResourceCommand")
1698
- .f(void 0, void 0)
1699
- .ser(se_TagResourceCommand)
1700
- .de(de_TagResourceCommand)
1593
+ .sc(TagResource)
1701
1594
  .build() {
1702
1595
  }
1703
1596
 
@@ -1705,16 +1598,11 @@ class UntagResourceCommand extends smithyClient.Command
1705
1598
  .classBuilder()
1706
1599
  .ep(commonParams)
1707
1600
  .m(function (Command, cs, config, o) {
1708
- return [
1709
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1710
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1711
- ];
1601
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1712
1602
  })
1713
1603
  .s("EC2WindowsBarleyService", "UntagResource", {})
1714
1604
  .n("ApplicationInsightsClient", "UntagResourceCommand")
1715
- .f(void 0, void 0)
1716
- .ser(se_UntagResourceCommand)
1717
- .de(de_UntagResourceCommand)
1605
+ .sc(UntagResource)
1718
1606
  .build() {
1719
1607
  }
1720
1608
 
@@ -1722,16 +1610,11 @@ class UpdateApplicationCommand extends smithyClient.Command
1722
1610
  .classBuilder()
1723
1611
  .ep(commonParams)
1724
1612
  .m(function (Command, cs, config, o) {
1725
- return [
1726
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1727
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1728
- ];
1613
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1729
1614
  })
1730
1615
  .s("EC2WindowsBarleyService", "UpdateApplication", {})
1731
1616
  .n("ApplicationInsightsClient", "UpdateApplicationCommand")
1732
- .f(void 0, void 0)
1733
- .ser(se_UpdateApplicationCommand)
1734
- .de(de_UpdateApplicationCommand)
1617
+ .sc(UpdateApplication)
1735
1618
  .build() {
1736
1619
  }
1737
1620
 
@@ -1739,16 +1622,11 @@ class UpdateComponentCommand extends smithyClient.Command
1739
1622
  .classBuilder()
1740
1623
  .ep(commonParams)
1741
1624
  .m(function (Command, cs, config, o) {
1742
- return [
1743
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1744
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1745
- ];
1625
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1746
1626
  })
1747
1627
  .s("EC2WindowsBarleyService", "UpdateComponent", {})
1748
1628
  .n("ApplicationInsightsClient", "UpdateComponentCommand")
1749
- .f(void 0, void 0)
1750
- .ser(se_UpdateComponentCommand)
1751
- .de(de_UpdateComponentCommand)
1629
+ .sc(UpdateComponent)
1752
1630
  .build() {
1753
1631
  }
1754
1632
 
@@ -1756,16 +1634,11 @@ class UpdateComponentConfigurationCommand extends smithyClient.Command
1756
1634
  .classBuilder()
1757
1635
  .ep(commonParams)
1758
1636
  .m(function (Command, cs, config, o) {
1759
- return [
1760
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1761
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1762
- ];
1637
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1763
1638
  })
1764
1639
  .s("EC2WindowsBarleyService", "UpdateComponentConfiguration", {})
1765
1640
  .n("ApplicationInsightsClient", "UpdateComponentConfigurationCommand")
1766
- .f(void 0, void 0)
1767
- .ser(se_UpdateComponentConfigurationCommand)
1768
- .de(de_UpdateComponentConfigurationCommand)
1641
+ .sc(UpdateComponentConfiguration)
1769
1642
  .build() {
1770
1643
  }
1771
1644
 
@@ -1773,16 +1646,11 @@ class UpdateLogPatternCommand extends smithyClient.Command
1773
1646
  .classBuilder()
1774
1647
  .ep(commonParams)
1775
1648
  .m(function (Command, cs, config, o) {
1776
- return [
1777
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1778
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1779
- ];
1649
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1780
1650
  })
1781
1651
  .s("EC2WindowsBarleyService", "UpdateLogPattern", {})
1782
1652
  .n("ApplicationInsightsClient", "UpdateLogPatternCommand")
1783
- .f(void 0, void 0)
1784
- .ser(se_UpdateLogPatternCommand)
1785
- .de(de_UpdateLogPatternCommand)
1653
+ .sc(UpdateLogPattern)
1786
1654
  .build() {
1787
1655
  }
1788
1656
 
@@ -1790,16 +1658,11 @@ class UpdateProblemCommand extends smithyClient.Command
1790
1658
  .classBuilder()
1791
1659
  .ep(commonParams)
1792
1660
  .m(function (Command, cs, config, o) {
1793
- return [
1794
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1795
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1796
- ];
1661
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1797
1662
  })
1798
1663
  .s("EC2WindowsBarleyService", "UpdateProblem", {})
1799
1664
  .n("ApplicationInsightsClient", "UpdateProblemCommand")
1800
- .f(void 0, void 0)
1801
- .ser(se_UpdateProblemCommand)
1802
- .de(de_UpdateProblemCommand)
1665
+ .sc(UpdateProblem)
1803
1666
  .build() {
1804
1667
  }
1805
1668
 
@@ -1807,16 +1670,11 @@ class UpdateWorkloadCommand extends smithyClient.Command
1807
1670
  .classBuilder()
1808
1671
  .ep(commonParams)
1809
1672
  .m(function (Command, cs, config, o) {
1810
- return [
1811
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1812
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1813
- ];
1673
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1814
1674
  })
1815
1675
  .s("EC2WindowsBarleyService", "UpdateWorkload", {})
1816
1676
  .n("ApplicationInsightsClient", "UpdateWorkloadCommand")
1817
- .f(void 0, void 0)
1818
- .ser(se_UpdateWorkloadCommand)
1819
- .de(de_UpdateWorkloadCommand)
1677
+ .sc(UpdateWorkload)
1820
1678
  .build() {
1821
1679
  }
1822
1680
 
@@ -1881,12 +1739,12 @@ Object.defineProperty(exports, "__Client", {
1881
1739
  enumerable: true,
1882
1740
  get: function () { return smithyClient.Client; }
1883
1741
  });
1884
- exports.AccessDeniedException = AccessDeniedException;
1742
+ exports.AccessDeniedException = AccessDeniedException$1;
1885
1743
  exports.AddWorkloadCommand = AddWorkloadCommand;
1886
1744
  exports.ApplicationInsights = ApplicationInsights;
1887
1745
  exports.ApplicationInsightsClient = ApplicationInsightsClient;
1888
- exports.ApplicationInsightsServiceException = ApplicationInsightsServiceException;
1889
- exports.BadRequestException = BadRequestException;
1746
+ exports.ApplicationInsightsServiceException = ApplicationInsightsServiceException$1;
1747
+ exports.BadRequestException = BadRequestException$1;
1890
1748
  exports.CloudWatchEventSource = CloudWatchEventSource;
1891
1749
  exports.ConfigurationEventResourceType = ConfigurationEventResourceType;
1892
1750
  exports.ConfigurationEventStatus = ConfigurationEventStatus;
@@ -1909,7 +1767,7 @@ exports.DiscoveryType = DiscoveryType;
1909
1767
  exports.FeedbackKey = FeedbackKey;
1910
1768
  exports.FeedbackValue = FeedbackValue;
1911
1769
  exports.GroupingType = GroupingType;
1912
- exports.InternalServerException = InternalServerException;
1770
+ exports.InternalServerException = InternalServerException$1;
1913
1771
  exports.ListApplicationsCommand = ListApplicationsCommand;
1914
1772
  exports.ListComponentsCommand = ListComponentsCommand;
1915
1773
  exports.ListConfigurationHistoryCommand = ListConfigurationHistoryCommand;
@@ -1923,14 +1781,14 @@ exports.OsType = OsType;
1923
1781
  exports.RecommendationType = RecommendationType;
1924
1782
  exports.RemoveWorkloadCommand = RemoveWorkloadCommand;
1925
1783
  exports.ResolutionMethod = ResolutionMethod;
1926
- exports.ResourceInUseException = ResourceInUseException;
1927
- exports.ResourceNotFoundException = ResourceNotFoundException;
1784
+ exports.ResourceInUseException = ResourceInUseException$1;
1785
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1928
1786
  exports.SeverityLevel = SeverityLevel;
1929
1787
  exports.Status = Status;
1930
1788
  exports.TagResourceCommand = TagResourceCommand;
1931
- exports.TagsAlreadyExistException = TagsAlreadyExistException;
1789
+ exports.TagsAlreadyExistException = TagsAlreadyExistException$1;
1932
1790
  exports.Tier = Tier;
1933
- exports.TooManyTagsException = TooManyTagsException;
1791
+ exports.TooManyTagsException = TooManyTagsException$1;
1934
1792
  exports.UntagResourceCommand = UntagResourceCommand;
1935
1793
  exports.UpdateApplicationCommand = UpdateApplicationCommand;
1936
1794
  exports.UpdateComponentCommand = UpdateComponentCommand;
@@ -1939,7 +1797,7 @@ exports.UpdateLogPatternCommand = UpdateLogPatternCommand;
1939
1797
  exports.UpdateProblemCommand = UpdateProblemCommand;
1940
1798
  exports.UpdateStatus = UpdateStatus;
1941
1799
  exports.UpdateWorkloadCommand = UpdateWorkloadCommand;
1942
- exports.ValidationException = ValidationException;
1800
+ exports.ValidationException = ValidationException$1;
1943
1801
  exports.Visibility = Visibility;
1944
1802
  exports.paginateListApplications = paginateListApplications;
1945
1803
  exports.paginateListComponents = paginateListComponents;