@aws-sdk/client-application-insights 3.30.0 → 3.34.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 (168) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cjs/ApplicationInsightsClient.js +13 -13
  3. package/dist/cjs/ApplicationInsightsClient.js.map +1 -1
  4. package/dist/cjs/commands/CreateApplicationCommand.js +3 -3
  5. package/dist/cjs/commands/CreateApplicationCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateComponentCommand.js +3 -3
  7. package/dist/cjs/commands/CreateComponentCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateLogPatternCommand.js +3 -3
  9. package/dist/cjs/commands/CreateLogPatternCommand.js.map +1 -1
  10. package/dist/cjs/commands/DeleteApplicationCommand.js +3 -3
  11. package/dist/cjs/commands/DeleteApplicationCommand.js.map +1 -1
  12. package/dist/cjs/commands/DeleteComponentCommand.js +3 -3
  13. package/dist/cjs/commands/DeleteComponentCommand.js.map +1 -1
  14. package/dist/cjs/commands/DeleteLogPatternCommand.js +3 -3
  15. package/dist/cjs/commands/DeleteLogPatternCommand.js.map +1 -1
  16. package/dist/cjs/commands/DescribeApplicationCommand.js +3 -3
  17. package/dist/cjs/commands/DescribeApplicationCommand.js.map +1 -1
  18. package/dist/cjs/commands/DescribeComponentCommand.js +3 -3
  19. package/dist/cjs/commands/DescribeComponentCommand.js.map +1 -1
  20. package/dist/cjs/commands/DescribeComponentConfigurationCommand.js +3 -3
  21. package/dist/cjs/commands/DescribeComponentConfigurationCommand.js.map +1 -1
  22. package/dist/cjs/commands/DescribeComponentConfigurationRecommendationCommand.js +3 -3
  23. package/dist/cjs/commands/DescribeComponentConfigurationRecommendationCommand.js.map +1 -1
  24. package/dist/cjs/commands/DescribeLogPatternCommand.js +3 -3
  25. package/dist/cjs/commands/DescribeLogPatternCommand.js.map +1 -1
  26. package/dist/cjs/commands/DescribeObservationCommand.js +3 -3
  27. package/dist/cjs/commands/DescribeObservationCommand.js.map +1 -1
  28. package/dist/cjs/commands/DescribeProblemCommand.js +3 -3
  29. package/dist/cjs/commands/DescribeProblemCommand.js.map +1 -1
  30. package/dist/cjs/commands/DescribeProblemObservationsCommand.js +3 -3
  31. package/dist/cjs/commands/DescribeProblemObservationsCommand.js.map +1 -1
  32. package/dist/cjs/commands/ListApplicationsCommand.js +3 -3
  33. package/dist/cjs/commands/ListApplicationsCommand.js.map +1 -1
  34. package/dist/cjs/commands/ListComponentsCommand.js +3 -3
  35. package/dist/cjs/commands/ListComponentsCommand.js.map +1 -1
  36. package/dist/cjs/commands/ListConfigurationHistoryCommand.js +3 -3
  37. package/dist/cjs/commands/ListConfigurationHistoryCommand.js.map +1 -1
  38. package/dist/cjs/commands/ListLogPatternSetsCommand.js +3 -3
  39. package/dist/cjs/commands/ListLogPatternSetsCommand.js.map +1 -1
  40. package/dist/cjs/commands/ListLogPatternsCommand.js +3 -3
  41. package/dist/cjs/commands/ListLogPatternsCommand.js.map +1 -1
  42. package/dist/cjs/commands/ListProblemsCommand.js +3 -3
  43. package/dist/cjs/commands/ListProblemsCommand.js.map +1 -1
  44. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  45. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  46. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  47. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  48. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  49. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  50. package/dist/cjs/commands/UpdateApplicationCommand.js +3 -3
  51. package/dist/cjs/commands/UpdateApplicationCommand.js.map +1 -1
  52. package/dist/cjs/commands/UpdateComponentCommand.js +3 -3
  53. package/dist/cjs/commands/UpdateComponentCommand.js.map +1 -1
  54. package/dist/cjs/commands/UpdateComponentConfigurationCommand.js +3 -3
  55. package/dist/cjs/commands/UpdateComponentConfigurationCommand.js.map +1 -1
  56. package/dist/cjs/commands/UpdateLogPatternCommand.js +3 -3
  57. package/dist/cjs/commands/UpdateLogPatternCommand.js.map +1 -1
  58. package/dist/cjs/endpoints.js +1 -1
  59. package/dist/cjs/endpoints.js.map +1 -1
  60. package/dist/cjs/index.js +37 -37
  61. package/dist/cjs/index.js.map +1 -1
  62. package/dist/cjs/models/index.js +1 -1
  63. package/dist/cjs/models/index.js.map +1 -1
  64. package/dist/cjs/package.json +39 -39
  65. package/dist/cjs/protocols/Aws_json1_1.js +110 -106
  66. package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
  67. package/dist/cjs/runtimeConfig.browser.js +4 -4
  68. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  69. package/dist/cjs/runtimeConfig.js +8 -8
  70. package/dist/cjs/runtimeConfig.js.map +1 -1
  71. package/dist/cjs/runtimeConfig.native.js +1 -1
  72. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  73. package/dist/es/ApplicationInsights.js +1 -16
  74. package/dist/es/ApplicationInsights.js.map +1 -1
  75. package/dist/es/ApplicationInsightsClient.js +1 -21
  76. package/dist/es/ApplicationInsightsClient.js.map +1 -1
  77. package/dist/es/commands/CreateApplicationCommand.js +2 -27
  78. package/dist/es/commands/CreateApplicationCommand.js.map +1 -1
  79. package/dist/es/commands/CreateComponentCommand.js +2 -27
  80. package/dist/es/commands/CreateComponentCommand.js.map +1 -1
  81. package/dist/es/commands/CreateLogPatternCommand.js +2 -27
  82. package/dist/es/commands/CreateLogPatternCommand.js.map +1 -1
  83. package/dist/es/commands/DeleteApplicationCommand.js +2 -27
  84. package/dist/es/commands/DeleteApplicationCommand.js.map +1 -1
  85. package/dist/es/commands/DeleteComponentCommand.js +2 -28
  86. package/dist/es/commands/DeleteComponentCommand.js.map +1 -1
  87. package/dist/es/commands/DeleteLogPatternCommand.js +2 -27
  88. package/dist/es/commands/DeleteLogPatternCommand.js.map +1 -1
  89. package/dist/es/commands/DescribeApplicationCommand.js +2 -27
  90. package/dist/es/commands/DescribeApplicationCommand.js.map +1 -1
  91. package/dist/es/commands/DescribeComponentCommand.js +2 -27
  92. package/dist/es/commands/DescribeComponentCommand.js.map +1 -1
  93. package/dist/es/commands/DescribeComponentConfigurationCommand.js +2 -27
  94. package/dist/es/commands/DescribeComponentConfigurationCommand.js.map +1 -1
  95. package/dist/es/commands/DescribeComponentConfigurationRecommendationCommand.js +2 -27
  96. package/dist/es/commands/DescribeComponentConfigurationRecommendationCommand.js.map +1 -1
  97. package/dist/es/commands/DescribeLogPatternCommand.js +2 -27
  98. package/dist/es/commands/DescribeLogPatternCommand.js.map +1 -1
  99. package/dist/es/commands/DescribeObservationCommand.js +2 -27
  100. package/dist/es/commands/DescribeObservationCommand.js.map +1 -1
  101. package/dist/es/commands/DescribeProblemCommand.js +2 -27
  102. package/dist/es/commands/DescribeProblemCommand.js.map +1 -1
  103. package/dist/es/commands/DescribeProblemObservationsCommand.js +2 -27
  104. package/dist/es/commands/DescribeProblemObservationsCommand.js.map +1 -1
  105. package/dist/es/commands/ListApplicationsCommand.js +2 -27
  106. package/dist/es/commands/ListApplicationsCommand.js.map +1 -1
  107. package/dist/es/commands/ListComponentsCommand.js +2 -27
  108. package/dist/es/commands/ListComponentsCommand.js.map +1 -1
  109. package/dist/es/commands/ListConfigurationHistoryCommand.js +2 -40
  110. package/dist/es/commands/ListConfigurationHistoryCommand.js.map +1 -1
  111. package/dist/es/commands/ListLogPatternSetsCommand.js +2 -27
  112. package/dist/es/commands/ListLogPatternSetsCommand.js.map +1 -1
  113. package/dist/es/commands/ListLogPatternsCommand.js +2 -27
  114. package/dist/es/commands/ListLogPatternsCommand.js.map +1 -1
  115. package/dist/es/commands/ListProblemsCommand.js +2 -27
  116. package/dist/es/commands/ListProblemsCommand.js.map +1 -1
  117. package/dist/es/commands/ListTagsForResourceCommand.js +2 -32
  118. package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
  119. package/dist/es/commands/TagResourceCommand.js +2 -34
  120. package/dist/es/commands/TagResourceCommand.js.map +1 -1
  121. package/dist/es/commands/UntagResourceCommand.js +2 -27
  122. package/dist/es/commands/UntagResourceCommand.js.map +1 -1
  123. package/dist/es/commands/UpdateApplicationCommand.js +2 -27
  124. package/dist/es/commands/UpdateApplicationCommand.js.map +1 -1
  125. package/dist/es/commands/UpdateComponentCommand.js +2 -28
  126. package/dist/es/commands/UpdateComponentCommand.js.map +1 -1
  127. package/dist/es/commands/UpdateComponentConfigurationCommand.js +2 -29
  128. package/dist/es/commands/UpdateComponentConfigurationCommand.js.map +1 -1
  129. package/dist/es/commands/UpdateLogPatternCommand.js +2 -27
  130. package/dist/es/commands/UpdateLogPatternCommand.js.map +1 -1
  131. package/dist/es/endpoints.js +1 -1
  132. package/dist/es/endpoints.js.map +1 -1
  133. package/dist/es/models/models_0.js +0 -210
  134. package/dist/es/models/models_0.js.map +1 -1
  135. package/dist/es/package.json +39 -39
  136. package/dist/es/pagination/ListApplicationsPaginator.js +16 -28
  137. package/dist/es/pagination/ListApplicationsPaginator.js.map +1 -1
  138. package/dist/es/pagination/ListComponentsPaginator.js +16 -28
  139. package/dist/es/pagination/ListComponentsPaginator.js.map +1 -1
  140. package/dist/es/pagination/ListConfigurationHistoryPaginator.js +16 -28
  141. package/dist/es/pagination/ListConfigurationHistoryPaginator.js.map +1 -1
  142. package/dist/es/pagination/ListLogPatternSetsPaginator.js +16 -28
  143. package/dist/es/pagination/ListLogPatternSetsPaginator.js.map +1 -1
  144. package/dist/es/pagination/ListLogPatternsPaginator.js +16 -28
  145. package/dist/es/pagination/ListLogPatternsPaginator.js.map +1 -1
  146. package/dist/es/pagination/ListProblemsPaginator.js +16 -28
  147. package/dist/es/pagination/ListProblemsPaginator.js.map +1 -1
  148. package/dist/es/protocols/Aws_json1_1.js +558 -559
  149. package/dist/es/protocols/Aws_json1_1.js.map +1 -1
  150. package/dist/es/runtimeConfig.browser.js +0 -3
  151. package/dist/es/runtimeConfig.browser.js.map +1 -1
  152. package/dist/es/runtimeConfig.js +0 -3
  153. package/dist/es/runtimeConfig.js.map +1 -1
  154. package/dist/es/runtimeConfig.native.js +0 -3
  155. package/dist/es/runtimeConfig.native.js.map +1 -1
  156. package/dist/es/runtimeConfig.shared.js +0 -3
  157. package/dist/es/runtimeConfig.shared.js.map +1 -1
  158. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  159. package/dist/types/runtimeConfig.d.ts +1 -0
  160. package/dist/types/runtimeConfig.native.d.ts +1 -0
  161. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  162. package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
  163. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  164. package/package.json +39 -39
  165. package/protocols/Aws_json1_1.ts +13 -6
  166. package/tsconfig.es.json +0 -2
  167. package/tsconfig.json +3 -5
  168. package/tsconfig.types.json +8 -0
@@ -2378,20 +2378,20 @@ const serializeAws_json1_1UpdateLogPatternRequest = (input, context) => {
2378
2378
  };
2379
2379
  const deserializeAws_json1_1AccessDeniedException = (output, context) => {
2380
2380
  return {
2381
- Message: (0, smithy_client_1.expectString)(output.Message),
2381
+ Message: smithy_client_1.expectString(output.Message),
2382
2382
  };
2383
2383
  };
2384
2384
  const deserializeAws_json1_1ApplicationComponent = (output, context) => {
2385
2385
  return {
2386
- ComponentName: (0, smithy_client_1.expectString)(output.ComponentName),
2387
- ComponentRemarks: (0, smithy_client_1.expectString)(output.ComponentRemarks),
2386
+ ComponentName: smithy_client_1.expectString(output.ComponentName),
2387
+ ComponentRemarks: smithy_client_1.expectString(output.ComponentRemarks),
2388
2388
  DetectedWorkload: output.DetectedWorkload !== undefined && output.DetectedWorkload !== null
2389
2389
  ? deserializeAws_json1_1DetectedWorkload(output.DetectedWorkload, context)
2390
2390
  : undefined,
2391
- Monitor: (0, smithy_client_1.expectBoolean)(output.Monitor),
2392
- OsType: (0, smithy_client_1.expectString)(output.OsType),
2393
- ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
2394
- Tier: (0, smithy_client_1.expectString)(output.Tier),
2391
+ Monitor: smithy_client_1.expectBoolean(output.Monitor),
2392
+ OsType: smithy_client_1.expectString(output.OsType),
2393
+ ResourceType: smithy_client_1.expectString(output.ResourceType),
2394
+ Tier: smithy_client_1.expectString(output.Tier),
2395
2395
  };
2396
2396
  };
2397
2397
  const deserializeAws_json1_1ApplicationComponentList = (output, context) => {
@@ -2406,12 +2406,12 @@ const deserializeAws_json1_1ApplicationComponentList = (output, context) => {
2406
2406
  };
2407
2407
  const deserializeAws_json1_1ApplicationInfo = (output, context) => {
2408
2408
  return {
2409
- CWEMonitorEnabled: (0, smithy_client_1.expectBoolean)(output.CWEMonitorEnabled),
2410
- LifeCycle: (0, smithy_client_1.expectString)(output.LifeCycle),
2411
- OpsCenterEnabled: (0, smithy_client_1.expectBoolean)(output.OpsCenterEnabled),
2412
- OpsItemSNSTopicArn: (0, smithy_client_1.expectString)(output.OpsItemSNSTopicArn),
2413
- Remarks: (0, smithy_client_1.expectString)(output.Remarks),
2414
- ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
2409
+ CWEMonitorEnabled: smithy_client_1.expectBoolean(output.CWEMonitorEnabled),
2410
+ LifeCycle: smithy_client_1.expectString(output.LifeCycle),
2411
+ OpsCenterEnabled: smithy_client_1.expectBoolean(output.OpsCenterEnabled),
2412
+ OpsItemSNSTopicArn: smithy_client_1.expectString(output.OpsItemSNSTopicArn),
2413
+ Remarks: smithy_client_1.expectString(output.Remarks),
2414
+ ResourceGroupName: smithy_client_1.expectString(output.ResourceGroupName),
2415
2415
  };
2416
2416
  };
2417
2417
  const deserializeAws_json1_1ApplicationInfoList = (output, context) => {
@@ -2426,19 +2426,19 @@ const deserializeAws_json1_1ApplicationInfoList = (output, context) => {
2426
2426
  };
2427
2427
  const deserializeAws_json1_1BadRequestException = (output, context) => {
2428
2428
  return {
2429
- Message: (0, smithy_client_1.expectString)(output.Message),
2429
+ Message: smithy_client_1.expectString(output.Message),
2430
2430
  };
2431
2431
  };
2432
2432
  const deserializeAws_json1_1ConfigurationEvent = (output, context) => {
2433
2433
  return {
2434
- EventDetail: (0, smithy_client_1.expectString)(output.EventDetail),
2435
- EventResourceName: (0, smithy_client_1.expectString)(output.EventResourceName),
2436
- EventResourceType: (0, smithy_client_1.expectString)(output.EventResourceType),
2437
- EventStatus: (0, smithy_client_1.expectString)(output.EventStatus),
2434
+ EventDetail: smithy_client_1.expectString(output.EventDetail),
2435
+ EventResourceName: smithy_client_1.expectString(output.EventResourceName),
2436
+ EventResourceType: smithy_client_1.expectString(output.EventResourceType),
2437
+ EventStatus: smithy_client_1.expectString(output.EventStatus),
2438
2438
  EventTime: output.EventTime !== undefined && output.EventTime !== null
2439
- ? new Date(Math.round(output.EventTime * 1000))
2439
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventTime)))
2440
2440
  : undefined,
2441
- MonitoredResourceARN: (0, smithy_client_1.expectString)(output.MonitoredResourceARN),
2441
+ MonitoredResourceARN: smithy_client_1.expectString(output.MonitoredResourceARN),
2442
2442
  };
2443
2443
  };
2444
2444
  const deserializeAws_json1_1ConfigurationEventList = (output, context) => {
@@ -2466,7 +2466,7 @@ const deserializeAws_json1_1CreateLogPatternResponse = (output, context) => {
2466
2466
  LogPattern: output.LogPattern !== undefined && output.LogPattern !== null
2467
2467
  ? deserializeAws_json1_1LogPattern(output.LogPattern, context)
2468
2468
  : undefined,
2469
- ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
2469
+ ResourceGroupName: smithy_client_1.expectString(output.ResourceGroupName),
2470
2470
  };
2471
2471
  };
2472
2472
  const deserializeAws_json1_1DeleteApplicationResponse = (output, context) => {
@@ -2487,14 +2487,14 @@ const deserializeAws_json1_1DescribeApplicationResponse = (output, context) => {
2487
2487
  };
2488
2488
  const deserializeAws_json1_1DescribeComponentConfigurationRecommendationResponse = (output, context) => {
2489
2489
  return {
2490
- ComponentConfiguration: (0, smithy_client_1.expectString)(output.ComponentConfiguration),
2490
+ ComponentConfiguration: smithy_client_1.expectString(output.ComponentConfiguration),
2491
2491
  };
2492
2492
  };
2493
2493
  const deserializeAws_json1_1DescribeComponentConfigurationResponse = (output, context) => {
2494
2494
  return {
2495
- ComponentConfiguration: (0, smithy_client_1.expectString)(output.ComponentConfiguration),
2496
- Monitor: (0, smithy_client_1.expectBoolean)(output.Monitor),
2497
- Tier: (0, smithy_client_1.expectString)(output.Tier),
2495
+ ComponentConfiguration: smithy_client_1.expectString(output.ComponentConfiguration),
2496
+ Monitor: smithy_client_1.expectBoolean(output.Monitor),
2497
+ Tier: smithy_client_1.expectString(output.Tier),
2498
2498
  };
2499
2499
  };
2500
2500
  const deserializeAws_json1_1DescribeComponentResponse = (output, context) => {
@@ -2512,7 +2512,7 @@ const deserializeAws_json1_1DescribeLogPatternResponse = (output, context) => {
2512
2512
  LogPattern: output.LogPattern !== undefined && output.LogPattern !== null
2513
2513
  ? deserializeAws_json1_1LogPattern(output.LogPattern, context)
2514
2514
  : undefined,
2515
- ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
2515
+ ResourceGroupName: smithy_client_1.expectString(output.ResourceGroupName),
2516
2516
  };
2517
2517
  };
2518
2518
  const deserializeAws_json1_1DescribeObservationResponse = (output, context) => {
@@ -2554,13 +2554,13 @@ const deserializeAws_json1_1Feedback = (output, context) => {
2554
2554
  }
2555
2555
  return {
2556
2556
  ...acc,
2557
- [key]: (0, smithy_client_1.expectString)(value),
2557
+ [key]: smithy_client_1.expectString(value),
2558
2558
  };
2559
2559
  }, {});
2560
2560
  };
2561
2561
  const deserializeAws_json1_1InternalServerException = (output, context) => {
2562
2562
  return {
2563
- Message: (0, smithy_client_1.expectString)(output.Message),
2563
+ Message: smithy_client_1.expectString(output.Message),
2564
2564
  };
2565
2565
  };
2566
2566
  const deserializeAws_json1_1ListApplicationsResponse = (output, context) => {
@@ -2568,7 +2568,7 @@ const deserializeAws_json1_1ListApplicationsResponse = (output, context) => {
2568
2568
  ApplicationInfoList: output.ApplicationInfoList !== undefined && output.ApplicationInfoList !== null
2569
2569
  ? deserializeAws_json1_1ApplicationInfoList(output.ApplicationInfoList, context)
2570
2570
  : undefined,
2571
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2571
+ NextToken: smithy_client_1.expectString(output.NextToken),
2572
2572
  };
2573
2573
  };
2574
2574
  const deserializeAws_json1_1ListComponentsResponse = (output, context) => {
@@ -2576,7 +2576,7 @@ const deserializeAws_json1_1ListComponentsResponse = (output, context) => {
2576
2576
  ApplicationComponentList: output.ApplicationComponentList !== undefined && output.ApplicationComponentList !== null
2577
2577
  ? deserializeAws_json1_1ApplicationComponentList(output.ApplicationComponentList, context)
2578
2578
  : undefined,
2579
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2579
+ NextToken: smithy_client_1.expectString(output.NextToken),
2580
2580
  };
2581
2581
  };
2582
2582
  const deserializeAws_json1_1ListConfigurationHistoryResponse = (output, context) => {
@@ -2584,7 +2584,7 @@ const deserializeAws_json1_1ListConfigurationHistoryResponse = (output, context)
2584
2584
  EventList: output.EventList !== undefined && output.EventList !== null
2585
2585
  ? deserializeAws_json1_1ConfigurationEventList(output.EventList, context)
2586
2586
  : undefined,
2587
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2587
+ NextToken: smithy_client_1.expectString(output.NextToken),
2588
2588
  };
2589
2589
  };
2590
2590
  const deserializeAws_json1_1ListLogPatternSetsResponse = (output, context) => {
@@ -2592,8 +2592,8 @@ const deserializeAws_json1_1ListLogPatternSetsResponse = (output, context) => {
2592
2592
  LogPatternSets: output.LogPatternSets !== undefined && output.LogPatternSets !== null
2593
2593
  ? deserializeAws_json1_1LogPatternSetList(output.LogPatternSets, context)
2594
2594
  : undefined,
2595
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2596
- ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
2595
+ NextToken: smithy_client_1.expectString(output.NextToken),
2596
+ ResourceGroupName: smithy_client_1.expectString(output.ResourceGroupName),
2597
2597
  };
2598
2598
  };
2599
2599
  const deserializeAws_json1_1ListLogPatternsResponse = (output, context) => {
@@ -2601,13 +2601,13 @@ const deserializeAws_json1_1ListLogPatternsResponse = (output, context) => {
2601
2601
  LogPatterns: output.LogPatterns !== undefined && output.LogPatterns !== null
2602
2602
  ? deserializeAws_json1_1LogPatternList(output.LogPatterns, context)
2603
2603
  : undefined,
2604
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2605
- ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
2604
+ NextToken: smithy_client_1.expectString(output.NextToken),
2605
+ ResourceGroupName: smithy_client_1.expectString(output.ResourceGroupName),
2606
2606
  };
2607
2607
  };
2608
2608
  const deserializeAws_json1_1ListProblemsResponse = (output, context) => {
2609
2609
  return {
2610
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2610
+ NextToken: smithy_client_1.expectString(output.NextToken),
2611
2611
  ProblemList: output.ProblemList !== undefined && output.ProblemList !== null
2612
2612
  ? deserializeAws_json1_1ProblemList(output.ProblemList, context)
2613
2613
  : undefined,
@@ -2622,10 +2622,10 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
2622
2622
  };
2623
2623
  const deserializeAws_json1_1LogPattern = (output, context) => {
2624
2624
  return {
2625
- Pattern: (0, smithy_client_1.expectString)(output.Pattern),
2626
- PatternName: (0, smithy_client_1.expectString)(output.PatternName),
2627
- PatternSetName: (0, smithy_client_1.expectString)(output.PatternSetName),
2628
- Rank: (0, smithy_client_1.expectInt32)(output.Rank),
2625
+ Pattern: smithy_client_1.expectString(output.Pattern),
2626
+ PatternName: smithy_client_1.expectString(output.PatternName),
2627
+ PatternSetName: smithy_client_1.expectString(output.PatternSetName),
2628
+ Rank: smithy_client_1.expectInt32(output.Rank),
2629
2629
  };
2630
2630
  };
2631
2631
  const deserializeAws_json1_1LogPatternList = (output, context) => {
@@ -2645,60 +2645,62 @@ const deserializeAws_json1_1LogPatternSetList = (output, context) => {
2645
2645
  if (entry === null) {
2646
2646
  return null;
2647
2647
  }
2648
- return (0, smithy_client_1.expectString)(entry);
2648
+ return smithy_client_1.expectString(entry);
2649
2649
  });
2650
2650
  };
2651
2651
  const deserializeAws_json1_1Observation = (output, context) => {
2652
2652
  return {
2653
- CloudWatchEventDetailType: (0, smithy_client_1.expectString)(output.CloudWatchEventDetailType),
2654
- CloudWatchEventId: (0, smithy_client_1.expectString)(output.CloudWatchEventId),
2655
- CloudWatchEventSource: (0, smithy_client_1.expectString)(output.CloudWatchEventSource),
2656
- CodeDeployApplication: (0, smithy_client_1.expectString)(output.CodeDeployApplication),
2657
- CodeDeployDeploymentGroup: (0, smithy_client_1.expectString)(output.CodeDeployDeploymentGroup),
2658
- CodeDeployDeploymentId: (0, smithy_client_1.expectString)(output.CodeDeployDeploymentId),
2659
- CodeDeployInstanceGroupId: (0, smithy_client_1.expectString)(output.CodeDeployInstanceGroupId),
2660
- CodeDeployState: (0, smithy_client_1.expectString)(output.CodeDeployState),
2661
- EbsCause: (0, smithy_client_1.expectString)(output.EbsCause),
2662
- EbsEvent: (0, smithy_client_1.expectString)(output.EbsEvent),
2663
- EbsRequestId: (0, smithy_client_1.expectString)(output.EbsRequestId),
2664
- EbsResult: (0, smithy_client_1.expectString)(output.EbsResult),
2665
- Ec2State: (0, smithy_client_1.expectString)(output.Ec2State),
2666
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
2667
- HealthEventArn: (0, smithy_client_1.expectString)(output.HealthEventArn),
2668
- HealthEventDescription: (0, smithy_client_1.expectString)(output.HealthEventDescription),
2669
- HealthEventTypeCategory: (0, smithy_client_1.expectString)(output.HealthEventTypeCategory),
2670
- HealthEventTypeCode: (0, smithy_client_1.expectString)(output.HealthEventTypeCode),
2671
- HealthService: (0, smithy_client_1.expectString)(output.HealthService),
2672
- Id: (0, smithy_client_1.expectString)(output.Id),
2653
+ CloudWatchEventDetailType: smithy_client_1.expectString(output.CloudWatchEventDetailType),
2654
+ CloudWatchEventId: smithy_client_1.expectString(output.CloudWatchEventId),
2655
+ CloudWatchEventSource: smithy_client_1.expectString(output.CloudWatchEventSource),
2656
+ CodeDeployApplication: smithy_client_1.expectString(output.CodeDeployApplication),
2657
+ CodeDeployDeploymentGroup: smithy_client_1.expectString(output.CodeDeployDeploymentGroup),
2658
+ CodeDeployDeploymentId: smithy_client_1.expectString(output.CodeDeployDeploymentId),
2659
+ CodeDeployInstanceGroupId: smithy_client_1.expectString(output.CodeDeployInstanceGroupId),
2660
+ CodeDeployState: smithy_client_1.expectString(output.CodeDeployState),
2661
+ EbsCause: smithy_client_1.expectString(output.EbsCause),
2662
+ EbsEvent: smithy_client_1.expectString(output.EbsEvent),
2663
+ EbsRequestId: smithy_client_1.expectString(output.EbsRequestId),
2664
+ EbsResult: smithy_client_1.expectString(output.EbsResult),
2665
+ Ec2State: smithy_client_1.expectString(output.Ec2State),
2666
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
2667
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2668
+ : undefined,
2669
+ HealthEventArn: smithy_client_1.expectString(output.HealthEventArn),
2670
+ HealthEventDescription: smithy_client_1.expectString(output.HealthEventDescription),
2671
+ HealthEventTypeCategory: smithy_client_1.expectString(output.HealthEventTypeCategory),
2672
+ HealthEventTypeCode: smithy_client_1.expectString(output.HealthEventTypeCode),
2673
+ HealthService: smithy_client_1.expectString(output.HealthService),
2674
+ Id: smithy_client_1.expectString(output.Id),
2673
2675
  LineTime: output.LineTime !== undefined && output.LineTime !== null
2674
- ? new Date(Math.round(output.LineTime * 1000))
2676
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LineTime)))
2675
2677
  : undefined,
2676
- LogFilter: (0, smithy_client_1.expectString)(output.LogFilter),
2677
- LogGroup: (0, smithy_client_1.expectString)(output.LogGroup),
2678
- LogText: (0, smithy_client_1.expectString)(output.LogText),
2679
- MetricName: (0, smithy_client_1.expectString)(output.MetricName),
2680
- MetricNamespace: (0, smithy_client_1.expectString)(output.MetricNamespace),
2681
- RdsEventCategories: (0, smithy_client_1.expectString)(output.RdsEventCategories),
2682
- RdsEventMessage: (0, smithy_client_1.expectString)(output.RdsEventMessage),
2683
- S3EventName: (0, smithy_client_1.expectString)(output.S3EventName),
2684
- SourceARN: (0, smithy_client_1.expectString)(output.SourceARN),
2685
- SourceType: (0, smithy_client_1.expectString)(output.SourceType),
2678
+ LogFilter: smithy_client_1.expectString(output.LogFilter),
2679
+ LogGroup: smithy_client_1.expectString(output.LogGroup),
2680
+ LogText: smithy_client_1.expectString(output.LogText),
2681
+ MetricName: smithy_client_1.expectString(output.MetricName),
2682
+ MetricNamespace: smithy_client_1.expectString(output.MetricNamespace),
2683
+ RdsEventCategories: smithy_client_1.expectString(output.RdsEventCategories),
2684
+ RdsEventMessage: smithy_client_1.expectString(output.RdsEventMessage),
2685
+ S3EventName: smithy_client_1.expectString(output.S3EventName),
2686
+ SourceARN: smithy_client_1.expectString(output.SourceARN),
2687
+ SourceType: smithy_client_1.expectString(output.SourceType),
2686
2688
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2687
- ? new Date(Math.round(output.StartTime * 1000))
2689
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2688
2690
  : undefined,
2689
- StatesArn: (0, smithy_client_1.expectString)(output.StatesArn),
2690
- StatesExecutionArn: (0, smithy_client_1.expectString)(output.StatesExecutionArn),
2691
- StatesInput: (0, smithy_client_1.expectString)(output.StatesInput),
2692
- StatesStatus: (0, smithy_client_1.expectString)(output.StatesStatus),
2693
- Unit: (0, smithy_client_1.expectString)(output.Unit),
2694
- Value: (0, smithy_client_1.limitedParseDouble)(output.Value),
2695
- XRayErrorPercent: (0, smithy_client_1.expectInt32)(output.XRayErrorPercent),
2696
- XRayFaultPercent: (0, smithy_client_1.expectInt32)(output.XRayFaultPercent),
2697
- XRayNodeName: (0, smithy_client_1.expectString)(output.XRayNodeName),
2698
- XRayNodeType: (0, smithy_client_1.expectString)(output.XRayNodeType),
2699
- XRayRequestAverageLatency: (0, smithy_client_1.expectLong)(output.XRayRequestAverageLatency),
2700
- XRayRequestCount: (0, smithy_client_1.expectInt32)(output.XRayRequestCount),
2701
- XRayThrottlePercent: (0, smithy_client_1.expectInt32)(output.XRayThrottlePercent),
2691
+ StatesArn: smithy_client_1.expectString(output.StatesArn),
2692
+ StatesExecutionArn: smithy_client_1.expectString(output.StatesExecutionArn),
2693
+ StatesInput: smithy_client_1.expectString(output.StatesInput),
2694
+ StatesStatus: smithy_client_1.expectString(output.StatesStatus),
2695
+ Unit: smithy_client_1.expectString(output.Unit),
2696
+ Value: smithy_client_1.limitedParseDouble(output.Value),
2697
+ XRayErrorPercent: smithy_client_1.expectInt32(output.XRayErrorPercent),
2698
+ XRayFaultPercent: smithy_client_1.expectInt32(output.XRayFaultPercent),
2699
+ XRayNodeName: smithy_client_1.expectString(output.XRayNodeName),
2700
+ XRayNodeType: smithy_client_1.expectString(output.XRayNodeType),
2701
+ XRayRequestAverageLatency: smithy_client_1.expectLong(output.XRayRequestAverageLatency),
2702
+ XRayRequestCount: smithy_client_1.expectInt32(output.XRayRequestCount),
2703
+ XRayThrottlePercent: smithy_client_1.expectInt32(output.XRayThrottlePercent),
2702
2704
  };
2703
2705
  };
2704
2706
  const deserializeAws_json1_1ObservationList = (output, context) => {
@@ -2713,20 +2715,22 @@ const deserializeAws_json1_1ObservationList = (output, context) => {
2713
2715
  };
2714
2716
  const deserializeAws_json1_1Problem = (output, context) => {
2715
2717
  return {
2716
- AffectedResource: (0, smithy_client_1.expectString)(output.AffectedResource),
2717
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
2718
+ AffectedResource: smithy_client_1.expectString(output.AffectedResource),
2719
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
2720
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
2721
+ : undefined,
2718
2722
  Feedback: output.Feedback !== undefined && output.Feedback !== null
2719
2723
  ? deserializeAws_json1_1Feedback(output.Feedback, context)
2720
2724
  : undefined,
2721
- Id: (0, smithy_client_1.expectString)(output.Id),
2722
- Insights: (0, smithy_client_1.expectString)(output.Insights),
2723
- ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
2724
- SeverityLevel: (0, smithy_client_1.expectString)(output.SeverityLevel),
2725
+ Id: smithy_client_1.expectString(output.Id),
2726
+ Insights: smithy_client_1.expectString(output.Insights),
2727
+ ResourceGroupName: smithy_client_1.expectString(output.ResourceGroupName),
2728
+ SeverityLevel: smithy_client_1.expectString(output.SeverityLevel),
2725
2729
  StartTime: output.StartTime !== undefined && output.StartTime !== null
2726
- ? new Date(Math.round(output.StartTime * 1000))
2730
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
2727
2731
  : undefined,
2728
- Status: (0, smithy_client_1.expectString)(output.Status),
2729
- Title: (0, smithy_client_1.expectString)(output.Title),
2732
+ Status: smithy_client_1.expectString(output.Status),
2733
+ Title: smithy_client_1.expectString(output.Title),
2730
2734
  };
2731
2735
  };
2732
2736
  const deserializeAws_json1_1ProblemList = (output, context) => {
@@ -2748,7 +2752,7 @@ const deserializeAws_json1_1RelatedObservations = (output, context) => {
2748
2752
  };
2749
2753
  const deserializeAws_json1_1ResourceInUseException = (output, context) => {
2750
2754
  return {
2751
- Message: (0, smithy_client_1.expectString)(output.Message),
2755
+ Message: smithy_client_1.expectString(output.Message),
2752
2756
  };
2753
2757
  };
2754
2758
  const deserializeAws_json1_1ResourceList = (output, context) => {
@@ -2758,18 +2762,18 @@ const deserializeAws_json1_1ResourceList = (output, context) => {
2758
2762
  if (entry === null) {
2759
2763
  return null;
2760
2764
  }
2761
- return (0, smithy_client_1.expectString)(entry);
2765
+ return smithy_client_1.expectString(entry);
2762
2766
  });
2763
2767
  };
2764
2768
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
2765
2769
  return {
2766
- Message: (0, smithy_client_1.expectString)(output.Message),
2770
+ Message: smithy_client_1.expectString(output.Message),
2767
2771
  };
2768
2772
  };
2769
2773
  const deserializeAws_json1_1Tag = (output, context) => {
2770
2774
  return {
2771
- Key: (0, smithy_client_1.expectString)(output.Key),
2772
- Value: (0, smithy_client_1.expectString)(output.Value),
2775
+ Key: smithy_client_1.expectString(output.Key),
2776
+ Value: smithy_client_1.expectString(output.Value),
2773
2777
  };
2774
2778
  };
2775
2779
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -2787,13 +2791,13 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
2787
2791
  };
2788
2792
  const deserializeAws_json1_1TagsAlreadyExistException = (output, context) => {
2789
2793
  return {
2790
- Message: (0, smithy_client_1.expectString)(output.Message),
2794
+ Message: smithy_client_1.expectString(output.Message),
2791
2795
  };
2792
2796
  };
2793
2797
  const deserializeAws_json1_1TooManyTagsException = (output, context) => {
2794
2798
  return {
2795
- Message: (0, smithy_client_1.expectString)(output.Message),
2796
- ResourceName: (0, smithy_client_1.expectString)(output.ResourceName),
2799
+ Message: smithy_client_1.expectString(output.Message),
2800
+ ResourceName: smithy_client_1.expectString(output.ResourceName),
2797
2801
  };
2798
2802
  };
2799
2803
  const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
@@ -2817,12 +2821,12 @@ const deserializeAws_json1_1UpdateLogPatternResponse = (output, context) => {
2817
2821
  LogPattern: output.LogPattern !== undefined && output.LogPattern !== null
2818
2822
  ? deserializeAws_json1_1LogPattern(output.LogPattern, context)
2819
2823
  : undefined,
2820
- ResourceGroupName: (0, smithy_client_1.expectString)(output.ResourceGroupName),
2824
+ ResourceGroupName: smithy_client_1.expectString(output.ResourceGroupName),
2821
2825
  };
2822
2826
  };
2823
2827
  const deserializeAws_json1_1ValidationException = (output, context) => {
2824
2828
  return {
2825
- Message: (0, smithy_client_1.expectString)(output.Message),
2829
+ Message: smithy_client_1.expectString(output.Message),
2826
2830
  };
2827
2831
  };
2828
2832
  const deserializeAws_json1_1WorkloadMetaData = (output, context) => {
@@ -2832,7 +2836,7 @@ const deserializeAws_json1_1WorkloadMetaData = (output, context) => {
2832
2836
  }
2833
2837
  return {
2834
2838
  ...acc,
2835
- [key]: (0, smithy_client_1.expectString)(value),
2839
+ [key]: smithy_client_1.expectString(value),
2836
2840
  };
2837
2841
  }, {});
2838
2842
  };