@aws-sdk/client-config-service 3.54.1 → 3.58.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 (181) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/ConfigService.js +30 -0
  3. package/dist-cjs/ConfigServiceClient.js +13 -13
  4. package/dist-cjs/commands/BatchGetAggregateResourceConfigCommand.js +3 -3
  5. package/dist-cjs/commands/BatchGetResourceConfigCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteAggregationAuthorizationCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteConfigRuleCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteConfigurationAggregatorCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteConfigurationRecorderCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteConformancePackCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteDeliveryChannelCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteEvaluationResultsCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteOrganizationConfigRuleCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteOrganizationConformancePackCommand.js +3 -3
  15. package/dist-cjs/commands/DeletePendingAggregationRequestCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteRemediationConfigurationCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteRemediationExceptionsCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteResourceConfigCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteRetentionConfigurationCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteStoredQueryCommand.js +3 -3
  21. package/dist-cjs/commands/DeliverConfigSnapshotCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeAggregateComplianceByConfigRulesCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeAggregateComplianceByConformancePacksCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeAggregationAuthorizationsCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeComplianceByConfigRuleCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeComplianceByResourceCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeConfigRuleEvaluationStatusCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeConfigRulesCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeConfigurationAggregatorSourcesStatusCommand.js +3 -3
  30. package/dist-cjs/commands/DescribeConfigurationAggregatorsCommand.js +3 -3
  31. package/dist-cjs/commands/DescribeConfigurationRecorderStatusCommand.js +3 -3
  32. package/dist-cjs/commands/DescribeConfigurationRecordersCommand.js +3 -3
  33. package/dist-cjs/commands/DescribeConformancePackComplianceCommand.js +3 -3
  34. package/dist-cjs/commands/DescribeConformancePackStatusCommand.js +3 -3
  35. package/dist-cjs/commands/DescribeConformancePacksCommand.js +3 -3
  36. package/dist-cjs/commands/DescribeDeliveryChannelStatusCommand.js +3 -3
  37. package/dist-cjs/commands/DescribeDeliveryChannelsCommand.js +3 -3
  38. package/dist-cjs/commands/DescribeOrganizationConfigRuleStatusesCommand.js +3 -3
  39. package/dist-cjs/commands/DescribeOrganizationConfigRulesCommand.js +3 -3
  40. package/dist-cjs/commands/DescribeOrganizationConformancePackStatusesCommand.js +3 -3
  41. package/dist-cjs/commands/DescribeOrganizationConformancePacksCommand.js +3 -3
  42. package/dist-cjs/commands/DescribePendingAggregationRequestsCommand.js +3 -3
  43. package/dist-cjs/commands/DescribeRemediationConfigurationsCommand.js +3 -3
  44. package/dist-cjs/commands/DescribeRemediationExceptionsCommand.js +3 -3
  45. package/dist-cjs/commands/DescribeRemediationExecutionStatusCommand.js +3 -3
  46. package/dist-cjs/commands/DescribeRetentionConfigurationsCommand.js +3 -3
  47. package/dist-cjs/commands/GetAggregateComplianceDetailsByConfigRuleCommand.js +3 -3
  48. package/dist-cjs/commands/GetAggregateConfigRuleComplianceSummaryCommand.js +3 -3
  49. package/dist-cjs/commands/GetAggregateConformancePackComplianceSummaryCommand.js +3 -3
  50. package/dist-cjs/commands/GetAggregateDiscoveredResourceCountsCommand.js +3 -3
  51. package/dist-cjs/commands/GetAggregateResourceConfigCommand.js +3 -3
  52. package/dist-cjs/commands/GetComplianceDetailsByConfigRuleCommand.js +3 -3
  53. package/dist-cjs/commands/GetComplianceDetailsByResourceCommand.js +3 -3
  54. package/dist-cjs/commands/GetComplianceSummaryByConfigRuleCommand.js +3 -3
  55. package/dist-cjs/commands/GetComplianceSummaryByResourceTypeCommand.js +3 -3
  56. package/dist-cjs/commands/GetConformancePackComplianceDetailsCommand.js +3 -3
  57. package/dist-cjs/commands/GetConformancePackComplianceSummaryCommand.js +3 -3
  58. package/dist-cjs/commands/GetCustomRulePolicyCommand.js +36 -0
  59. package/dist-cjs/commands/GetDiscoveredResourceCountsCommand.js +3 -3
  60. package/dist-cjs/commands/GetOrganizationConfigRuleDetailedStatusCommand.js +3 -3
  61. package/dist-cjs/commands/GetOrganizationConformancePackDetailedStatusCommand.js +3 -3
  62. package/dist-cjs/commands/GetOrganizationCustomRulePolicyCommand.js +36 -0
  63. package/dist-cjs/commands/GetResourceConfigHistoryCommand.js +3 -3
  64. package/dist-cjs/commands/GetStoredQueryCommand.js +3 -3
  65. package/dist-cjs/commands/ListAggregateDiscoveredResourcesCommand.js +3 -3
  66. package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +3 -3
  67. package/dist-cjs/commands/ListStoredQueriesCommand.js +3 -3
  68. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  69. package/dist-cjs/commands/PutAggregationAuthorizationCommand.js +3 -3
  70. package/dist-cjs/commands/PutConfigRuleCommand.js +3 -3
  71. package/dist-cjs/commands/PutConfigurationAggregatorCommand.js +3 -3
  72. package/dist-cjs/commands/PutConfigurationRecorderCommand.js +3 -3
  73. package/dist-cjs/commands/PutConformancePackCommand.js +3 -3
  74. package/dist-cjs/commands/PutDeliveryChannelCommand.js +3 -3
  75. package/dist-cjs/commands/PutEvaluationsCommand.js +3 -3
  76. package/dist-cjs/commands/PutExternalEvaluationCommand.js +3 -3
  77. package/dist-cjs/commands/PutOrganizationConfigRuleCommand.js +6 -6
  78. package/dist-cjs/commands/PutOrganizationConformancePackCommand.js +6 -6
  79. package/dist-cjs/commands/PutRemediationConfigurationsCommand.js +6 -6
  80. package/dist-cjs/commands/PutRemediationExceptionsCommand.js +6 -6
  81. package/dist-cjs/commands/PutResourceConfigCommand.js +3 -3
  82. package/dist-cjs/commands/PutRetentionConfigurationCommand.js +3 -3
  83. package/dist-cjs/commands/PutStoredQueryCommand.js +3 -3
  84. package/dist-cjs/commands/SelectAggregateResourceConfigCommand.js +3 -3
  85. package/dist-cjs/commands/SelectResourceConfigCommand.js +3 -3
  86. package/dist-cjs/commands/StartConfigRulesEvaluationCommand.js +3 -3
  87. package/dist-cjs/commands/StartConfigurationRecorderCommand.js +3 -3
  88. package/dist-cjs/commands/StartRemediationExecutionCommand.js +3 -3
  89. package/dist-cjs/commands/StopConfigurationRecorderCommand.js +3 -3
  90. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  91. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  92. package/dist-cjs/commands/index.js +2 -0
  93. package/dist-cjs/endpoints.js +1 -1
  94. package/dist-cjs/models/models_0.js +57 -54
  95. package/dist-cjs/models/models_1.js +49 -1
  96. package/dist-cjs/protocols/Aws_json1_1.js +779 -539
  97. package/dist-cjs/runtimeConfig.browser.js +4 -4
  98. package/dist-cjs/runtimeConfig.js +9 -9
  99. package/dist-cjs/runtimeConfig.native.js +1 -1
  100. package/dist-es/ConfigService.js +116 -86
  101. package/dist-es/commands/GetCustomRulePolicyCommand.js +39 -0
  102. package/dist-es/commands/GetOrganizationCustomRulePolicyCommand.js +39 -0
  103. package/dist-es/commands/PutOrganizationConfigRuleCommand.js +1 -1
  104. package/dist-es/commands/PutOrganizationConformancePackCommand.js +1 -1
  105. package/dist-es/commands/PutRemediationConfigurationsCommand.js +1 -1
  106. package/dist-es/commands/PutRemediationExceptionsCommand.js +1 -1
  107. package/dist-es/commands/index.js +2 -0
  108. package/dist-es/models/models_0.js +37 -32
  109. package/dist-es/models/models_1.js +32 -0
  110. package/dist-es/pagination/DescribeAggregateComplianceByConfigRulesPaginator.js +4 -4
  111. package/dist-es/pagination/DescribeAggregateComplianceByConformancePacksPaginator.js +4 -4
  112. package/dist-es/pagination/DescribeAggregationAuthorizationsPaginator.js +4 -4
  113. package/dist-es/pagination/DescribeComplianceByConfigRulePaginator.js +4 -4
  114. package/dist-es/pagination/DescribeComplianceByResourcePaginator.js +4 -4
  115. package/dist-es/pagination/DescribeConfigRuleEvaluationStatusPaginator.js +4 -4
  116. package/dist-es/pagination/DescribeConfigRulesPaginator.js +4 -4
  117. package/dist-es/pagination/DescribeConfigurationAggregatorSourcesStatusPaginator.js +4 -4
  118. package/dist-es/pagination/DescribeConfigurationAggregatorsPaginator.js +4 -4
  119. package/dist-es/pagination/DescribeConformancePackCompliancePaginator.js +4 -4
  120. package/dist-es/pagination/DescribeConformancePackStatusPaginator.js +4 -4
  121. package/dist-es/pagination/DescribeConformancePacksPaginator.js +4 -4
  122. package/dist-es/pagination/DescribeOrganizationConfigRuleStatusesPaginator.js +4 -4
  123. package/dist-es/pagination/DescribeOrganizationConfigRulesPaginator.js +4 -4
  124. package/dist-es/pagination/DescribeOrganizationConformancePackStatusesPaginator.js +4 -4
  125. package/dist-es/pagination/DescribeOrganizationConformancePacksPaginator.js +4 -4
  126. package/dist-es/pagination/DescribePendingAggregationRequestsPaginator.js +4 -4
  127. package/dist-es/pagination/DescribeRemediationExceptionsPaginator.js +4 -4
  128. package/dist-es/pagination/DescribeRemediationExecutionStatusPaginator.js +4 -4
  129. package/dist-es/pagination/DescribeRetentionConfigurationsPaginator.js +4 -4
  130. package/dist-es/pagination/GetAggregateComplianceDetailsByConfigRulePaginator.js +4 -4
  131. package/dist-es/pagination/GetAggregateConfigRuleComplianceSummaryPaginator.js +4 -4
  132. package/dist-es/pagination/GetAggregateConformancePackComplianceSummaryPaginator.js +4 -4
  133. package/dist-es/pagination/GetAggregateDiscoveredResourceCountsPaginator.js +4 -4
  134. package/dist-es/pagination/GetComplianceDetailsByConfigRulePaginator.js +4 -4
  135. package/dist-es/pagination/GetComplianceDetailsByResourcePaginator.js +4 -4
  136. package/dist-es/pagination/GetConformancePackComplianceDetailsPaginator.js +4 -4
  137. package/dist-es/pagination/GetConformancePackComplianceSummaryPaginator.js +4 -4
  138. package/dist-es/pagination/GetDiscoveredResourceCountsPaginator.js +4 -4
  139. package/dist-es/pagination/GetOrganizationConfigRuleDetailedStatusPaginator.js +4 -4
  140. package/dist-es/pagination/GetOrganizationConformancePackDetailedStatusPaginator.js +4 -4
  141. package/dist-es/pagination/GetResourceConfigHistoryPaginator.js +4 -4
  142. package/dist-es/pagination/ListAggregateDiscoveredResourcesPaginator.js +4 -4
  143. package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +4 -4
  144. package/dist-es/pagination/ListStoredQueriesPaginator.js +4 -4
  145. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  146. package/dist-es/pagination/SelectAggregateResourceConfigPaginator.js +4 -4
  147. package/dist-es/pagination/SelectResourceConfigPaginator.js +4 -4
  148. package/dist-es/protocols/Aws_json1_1.js +252 -3
  149. package/dist-types/ConfigService.d.ts +29 -15
  150. package/dist-types/ConfigServiceClient.d.ts +4 -2
  151. package/dist-types/commands/DeleteOrganizationConfigRuleCommand.d.ts +2 -2
  152. package/dist-types/commands/DeleteOrganizationConformancePackCommand.d.ts +1 -1
  153. package/dist-types/commands/DescribeOrganizationConfigRuleStatusesCommand.d.ts +4 -4
  154. package/dist-types/commands/DescribeOrganizationConfigRulesCommand.d.ts +3 -3
  155. package/dist-types/commands/GetCustomRulePolicyCommand.d.ts +35 -0
  156. package/dist-types/commands/GetOrganizationConfigRuleDetailedStatusCommand.d.ts +1 -1
  157. package/dist-types/commands/GetOrganizationCustomRulePolicyCommand.d.ts +35 -0
  158. package/dist-types/commands/PutConfigurationAggregatorCommand.d.ts +1 -1
  159. package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +4 -4
  160. package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
  161. package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
  162. package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +1 -1
  163. package/dist-types/commands/index.d.ts +2 -0
  164. package/dist-types/models/models_0.d.ts +342 -236
  165. package/dist-types/models/models_1.d.ts +162 -1
  166. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  167. package/dist-types/runtimeConfig.native.d.ts +2 -2
  168. package/dist-types/ts3.4/ConfigService.d.ts +10 -0
  169. package/dist-types/ts3.4/ConfigServiceClient.d.ts +4 -2
  170. package/dist-types/ts3.4/commands/GetCustomRulePolicyCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/GetOrganizationCustomRulePolicyCommand.d.ts +17 -0
  172. package/dist-types/ts3.4/commands/PutOrganizationConfigRuleCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/PutRemediationExceptionsCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  177. package/dist-types/ts3.4/models/models_0.d.ts +121 -90
  178. package/dist-types/ts3.4/models/models_1.d.ts +91 -1
  179. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
  180. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  181. package/package.json +34 -34
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.serializeAws_json1_1GetComplianceDetailsByResourceCommand = exports.serializeAws_json1_1GetComplianceDetailsByConfigRuleCommand = exports.serializeAws_json1_1GetAggregateResourceConfigCommand = exports.serializeAws_json1_1GetAggregateDiscoveredResourceCountsCommand = exports.serializeAws_json1_1GetAggregateConformancePackComplianceSummaryCommand = exports.serializeAws_json1_1GetAggregateConfigRuleComplianceSummaryCommand = exports.serializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleCommand = exports.serializeAws_json1_1DescribeRetentionConfigurationsCommand = exports.serializeAws_json1_1DescribeRemediationExecutionStatusCommand = exports.serializeAws_json1_1DescribeRemediationExceptionsCommand = exports.serializeAws_json1_1DescribeRemediationConfigurationsCommand = exports.serializeAws_json1_1DescribePendingAggregationRequestsCommand = exports.serializeAws_json1_1DescribeOrganizationConformancePackStatusesCommand = exports.serializeAws_json1_1DescribeOrganizationConformancePacksCommand = exports.serializeAws_json1_1DescribeOrganizationConfigRuleStatusesCommand = exports.serializeAws_json1_1DescribeOrganizationConfigRulesCommand = exports.serializeAws_json1_1DescribeDeliveryChannelStatusCommand = exports.serializeAws_json1_1DescribeDeliveryChannelsCommand = exports.serializeAws_json1_1DescribeConformancePackStatusCommand = exports.serializeAws_json1_1DescribeConformancePacksCommand = exports.serializeAws_json1_1DescribeConformancePackComplianceCommand = exports.serializeAws_json1_1DescribeConfigurationRecorderStatusCommand = exports.serializeAws_json1_1DescribeConfigurationRecordersCommand = exports.serializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusCommand = exports.serializeAws_json1_1DescribeConfigurationAggregatorsCommand = exports.serializeAws_json1_1DescribeConfigRulesCommand = exports.serializeAws_json1_1DescribeConfigRuleEvaluationStatusCommand = exports.serializeAws_json1_1DescribeComplianceByResourceCommand = exports.serializeAws_json1_1DescribeComplianceByConfigRuleCommand = exports.serializeAws_json1_1DescribeAggregationAuthorizationsCommand = exports.serializeAws_json1_1DescribeAggregateComplianceByConformancePacksCommand = exports.serializeAws_json1_1DescribeAggregateComplianceByConfigRulesCommand = exports.serializeAws_json1_1DeliverConfigSnapshotCommand = exports.serializeAws_json1_1DeleteStoredQueryCommand = exports.serializeAws_json1_1DeleteRetentionConfigurationCommand = exports.serializeAws_json1_1DeleteResourceConfigCommand = exports.serializeAws_json1_1DeleteRemediationExceptionsCommand = exports.serializeAws_json1_1DeleteRemediationConfigurationCommand = exports.serializeAws_json1_1DeletePendingAggregationRequestCommand = exports.serializeAws_json1_1DeleteOrganizationConformancePackCommand = exports.serializeAws_json1_1DeleteOrganizationConfigRuleCommand = exports.serializeAws_json1_1DeleteEvaluationResultsCommand = exports.serializeAws_json1_1DeleteDeliveryChannelCommand = exports.serializeAws_json1_1DeleteConformancePackCommand = exports.serializeAws_json1_1DeleteConfigurationRecorderCommand = exports.serializeAws_json1_1DeleteConfigurationAggregatorCommand = exports.serializeAws_json1_1DeleteConfigRuleCommand = exports.serializeAws_json1_1DeleteAggregationAuthorizationCommand = exports.serializeAws_json1_1BatchGetResourceConfigCommand = exports.serializeAws_json1_1BatchGetAggregateResourceConfigCommand = void 0;
4
- exports.deserializeAws_json1_1DeleteRemediationExceptionsCommand = exports.deserializeAws_json1_1DeleteRemediationConfigurationCommand = exports.deserializeAws_json1_1DeletePendingAggregationRequestCommand = exports.deserializeAws_json1_1DeleteOrganizationConformancePackCommand = exports.deserializeAws_json1_1DeleteOrganizationConfigRuleCommand = exports.deserializeAws_json1_1DeleteEvaluationResultsCommand = exports.deserializeAws_json1_1DeleteDeliveryChannelCommand = exports.deserializeAws_json1_1DeleteConformancePackCommand = exports.deserializeAws_json1_1DeleteConfigurationRecorderCommand = exports.deserializeAws_json1_1DeleteConfigurationAggregatorCommand = exports.deserializeAws_json1_1DeleteConfigRuleCommand = exports.deserializeAws_json1_1DeleteAggregationAuthorizationCommand = exports.deserializeAws_json1_1BatchGetResourceConfigCommand = exports.deserializeAws_json1_1BatchGetAggregateResourceConfigCommand = exports.serializeAws_json1_1UntagResourceCommand = exports.serializeAws_json1_1TagResourceCommand = exports.serializeAws_json1_1StopConfigurationRecorderCommand = exports.serializeAws_json1_1StartRemediationExecutionCommand = exports.serializeAws_json1_1StartConfigurationRecorderCommand = exports.serializeAws_json1_1StartConfigRulesEvaluationCommand = exports.serializeAws_json1_1SelectResourceConfigCommand = exports.serializeAws_json1_1SelectAggregateResourceConfigCommand = exports.serializeAws_json1_1PutStoredQueryCommand = exports.serializeAws_json1_1PutRetentionConfigurationCommand = exports.serializeAws_json1_1PutResourceConfigCommand = exports.serializeAws_json1_1PutRemediationExceptionsCommand = exports.serializeAws_json1_1PutRemediationConfigurationsCommand = exports.serializeAws_json1_1PutOrganizationConformancePackCommand = exports.serializeAws_json1_1PutOrganizationConfigRuleCommand = exports.serializeAws_json1_1PutExternalEvaluationCommand = exports.serializeAws_json1_1PutEvaluationsCommand = exports.serializeAws_json1_1PutDeliveryChannelCommand = exports.serializeAws_json1_1PutConformancePackCommand = exports.serializeAws_json1_1PutConfigurationRecorderCommand = exports.serializeAws_json1_1PutConfigurationAggregatorCommand = exports.serializeAws_json1_1PutConfigRuleCommand = exports.serializeAws_json1_1PutAggregationAuthorizationCommand = exports.serializeAws_json1_1ListTagsForResourceCommand = exports.serializeAws_json1_1ListStoredQueriesCommand = exports.serializeAws_json1_1ListDiscoveredResourcesCommand = exports.serializeAws_json1_1ListAggregateDiscoveredResourcesCommand = exports.serializeAws_json1_1GetStoredQueryCommand = exports.serializeAws_json1_1GetResourceConfigHistoryCommand = exports.serializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand = exports.serializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommand = exports.serializeAws_json1_1GetDiscoveredResourceCountsCommand = exports.serializeAws_json1_1GetConformancePackComplianceSummaryCommand = exports.serializeAws_json1_1GetConformancePackComplianceDetailsCommand = exports.serializeAws_json1_1GetComplianceSummaryByResourceTypeCommand = exports.serializeAws_json1_1GetComplianceSummaryByConfigRuleCommand = void 0;
5
- exports.deserializeAws_json1_1PutAggregationAuthorizationCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1ListStoredQueriesCommand = exports.deserializeAws_json1_1ListDiscoveredResourcesCommand = exports.deserializeAws_json1_1ListAggregateDiscoveredResourcesCommand = exports.deserializeAws_json1_1GetStoredQueryCommand = exports.deserializeAws_json1_1GetResourceConfigHistoryCommand = exports.deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand = exports.deserializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommand = exports.deserializeAws_json1_1GetDiscoveredResourceCountsCommand = exports.deserializeAws_json1_1GetConformancePackComplianceSummaryCommand = exports.deserializeAws_json1_1GetConformancePackComplianceDetailsCommand = exports.deserializeAws_json1_1GetComplianceSummaryByResourceTypeCommand = exports.deserializeAws_json1_1GetComplianceSummaryByConfigRuleCommand = exports.deserializeAws_json1_1GetComplianceDetailsByResourceCommand = exports.deserializeAws_json1_1GetComplianceDetailsByConfigRuleCommand = exports.deserializeAws_json1_1GetAggregateResourceConfigCommand = exports.deserializeAws_json1_1GetAggregateDiscoveredResourceCountsCommand = exports.deserializeAws_json1_1GetAggregateConformancePackComplianceSummaryCommand = exports.deserializeAws_json1_1GetAggregateConfigRuleComplianceSummaryCommand = exports.deserializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleCommand = exports.deserializeAws_json1_1DescribeRetentionConfigurationsCommand = exports.deserializeAws_json1_1DescribeRemediationExecutionStatusCommand = exports.deserializeAws_json1_1DescribeRemediationExceptionsCommand = exports.deserializeAws_json1_1DescribeRemediationConfigurationsCommand = exports.deserializeAws_json1_1DescribePendingAggregationRequestsCommand = exports.deserializeAws_json1_1DescribeOrganizationConformancePackStatusesCommand = exports.deserializeAws_json1_1DescribeOrganizationConformancePacksCommand = exports.deserializeAws_json1_1DescribeOrganizationConfigRuleStatusesCommand = exports.deserializeAws_json1_1DescribeOrganizationConfigRulesCommand = exports.deserializeAws_json1_1DescribeDeliveryChannelStatusCommand = exports.deserializeAws_json1_1DescribeDeliveryChannelsCommand = exports.deserializeAws_json1_1DescribeConformancePackStatusCommand = exports.deserializeAws_json1_1DescribeConformancePacksCommand = exports.deserializeAws_json1_1DescribeConformancePackComplianceCommand = exports.deserializeAws_json1_1DescribeConfigurationRecorderStatusCommand = exports.deserializeAws_json1_1DescribeConfigurationRecordersCommand = exports.deserializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusCommand = exports.deserializeAws_json1_1DescribeConfigurationAggregatorsCommand = exports.deserializeAws_json1_1DescribeConfigRulesCommand = exports.deserializeAws_json1_1DescribeConfigRuleEvaluationStatusCommand = exports.deserializeAws_json1_1DescribeComplianceByResourceCommand = exports.deserializeAws_json1_1DescribeComplianceByConfigRuleCommand = exports.deserializeAws_json1_1DescribeAggregationAuthorizationsCommand = exports.deserializeAws_json1_1DescribeAggregateComplianceByConformancePacksCommand = exports.deserializeAws_json1_1DescribeAggregateComplianceByConfigRulesCommand = exports.deserializeAws_json1_1DeliverConfigSnapshotCommand = exports.deserializeAws_json1_1DeleteStoredQueryCommand = exports.deserializeAws_json1_1DeleteRetentionConfigurationCommand = exports.deserializeAws_json1_1DeleteResourceConfigCommand = void 0;
6
- exports.deserializeAws_json1_1UntagResourceCommand = exports.deserializeAws_json1_1TagResourceCommand = exports.deserializeAws_json1_1StopConfigurationRecorderCommand = exports.deserializeAws_json1_1StartRemediationExecutionCommand = exports.deserializeAws_json1_1StartConfigurationRecorderCommand = exports.deserializeAws_json1_1StartConfigRulesEvaluationCommand = exports.deserializeAws_json1_1SelectResourceConfigCommand = exports.deserializeAws_json1_1SelectAggregateResourceConfigCommand = exports.deserializeAws_json1_1PutStoredQueryCommand = exports.deserializeAws_json1_1PutRetentionConfigurationCommand = exports.deserializeAws_json1_1PutResourceConfigCommand = exports.deserializeAws_json1_1PutRemediationExceptionsCommand = exports.deserializeAws_json1_1PutRemediationConfigurationsCommand = exports.deserializeAws_json1_1PutOrganizationConformancePackCommand = exports.deserializeAws_json1_1PutOrganizationConfigRuleCommand = exports.deserializeAws_json1_1PutExternalEvaluationCommand = exports.deserializeAws_json1_1PutEvaluationsCommand = exports.deserializeAws_json1_1PutDeliveryChannelCommand = exports.deserializeAws_json1_1PutConformancePackCommand = exports.deserializeAws_json1_1PutConfigurationRecorderCommand = exports.deserializeAws_json1_1PutConfigurationAggregatorCommand = exports.deserializeAws_json1_1PutConfigRuleCommand = void 0;
4
+ exports.deserializeAws_json1_1DeletePendingAggregationRequestCommand = exports.deserializeAws_json1_1DeleteOrganizationConformancePackCommand = exports.deserializeAws_json1_1DeleteOrganizationConfigRuleCommand = exports.deserializeAws_json1_1DeleteEvaluationResultsCommand = exports.deserializeAws_json1_1DeleteDeliveryChannelCommand = exports.deserializeAws_json1_1DeleteConformancePackCommand = exports.deserializeAws_json1_1DeleteConfigurationRecorderCommand = exports.deserializeAws_json1_1DeleteConfigurationAggregatorCommand = exports.deserializeAws_json1_1DeleteConfigRuleCommand = exports.deserializeAws_json1_1DeleteAggregationAuthorizationCommand = exports.deserializeAws_json1_1BatchGetResourceConfigCommand = exports.deserializeAws_json1_1BatchGetAggregateResourceConfigCommand = exports.serializeAws_json1_1UntagResourceCommand = exports.serializeAws_json1_1TagResourceCommand = exports.serializeAws_json1_1StopConfigurationRecorderCommand = exports.serializeAws_json1_1StartRemediationExecutionCommand = exports.serializeAws_json1_1StartConfigurationRecorderCommand = exports.serializeAws_json1_1StartConfigRulesEvaluationCommand = exports.serializeAws_json1_1SelectResourceConfigCommand = exports.serializeAws_json1_1SelectAggregateResourceConfigCommand = exports.serializeAws_json1_1PutStoredQueryCommand = exports.serializeAws_json1_1PutRetentionConfigurationCommand = exports.serializeAws_json1_1PutResourceConfigCommand = exports.serializeAws_json1_1PutRemediationExceptionsCommand = exports.serializeAws_json1_1PutRemediationConfigurationsCommand = exports.serializeAws_json1_1PutOrganizationConformancePackCommand = exports.serializeAws_json1_1PutOrganizationConfigRuleCommand = exports.serializeAws_json1_1PutExternalEvaluationCommand = exports.serializeAws_json1_1PutEvaluationsCommand = exports.serializeAws_json1_1PutDeliveryChannelCommand = exports.serializeAws_json1_1PutConformancePackCommand = exports.serializeAws_json1_1PutConfigurationRecorderCommand = exports.serializeAws_json1_1PutConfigurationAggregatorCommand = exports.serializeAws_json1_1PutConfigRuleCommand = exports.serializeAws_json1_1PutAggregationAuthorizationCommand = exports.serializeAws_json1_1ListTagsForResourceCommand = exports.serializeAws_json1_1ListStoredQueriesCommand = exports.serializeAws_json1_1ListDiscoveredResourcesCommand = exports.serializeAws_json1_1ListAggregateDiscoveredResourcesCommand = exports.serializeAws_json1_1GetStoredQueryCommand = exports.serializeAws_json1_1GetResourceConfigHistoryCommand = exports.serializeAws_json1_1GetOrganizationCustomRulePolicyCommand = exports.serializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand = exports.serializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommand = exports.serializeAws_json1_1GetDiscoveredResourceCountsCommand = exports.serializeAws_json1_1GetCustomRulePolicyCommand = exports.serializeAws_json1_1GetConformancePackComplianceSummaryCommand = exports.serializeAws_json1_1GetConformancePackComplianceDetailsCommand = exports.serializeAws_json1_1GetComplianceSummaryByResourceTypeCommand = exports.serializeAws_json1_1GetComplianceSummaryByConfigRuleCommand = void 0;
5
+ exports.deserializeAws_json1_1ListAggregateDiscoveredResourcesCommand = exports.deserializeAws_json1_1GetStoredQueryCommand = exports.deserializeAws_json1_1GetResourceConfigHistoryCommand = exports.deserializeAws_json1_1GetOrganizationCustomRulePolicyCommand = exports.deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand = exports.deserializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommand = exports.deserializeAws_json1_1GetDiscoveredResourceCountsCommand = exports.deserializeAws_json1_1GetCustomRulePolicyCommand = exports.deserializeAws_json1_1GetConformancePackComplianceSummaryCommand = exports.deserializeAws_json1_1GetConformancePackComplianceDetailsCommand = exports.deserializeAws_json1_1GetComplianceSummaryByResourceTypeCommand = exports.deserializeAws_json1_1GetComplianceSummaryByConfigRuleCommand = exports.deserializeAws_json1_1GetComplianceDetailsByResourceCommand = exports.deserializeAws_json1_1GetComplianceDetailsByConfigRuleCommand = exports.deserializeAws_json1_1GetAggregateResourceConfigCommand = exports.deserializeAws_json1_1GetAggregateDiscoveredResourceCountsCommand = exports.deserializeAws_json1_1GetAggregateConformancePackComplianceSummaryCommand = exports.deserializeAws_json1_1GetAggregateConfigRuleComplianceSummaryCommand = exports.deserializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleCommand = exports.deserializeAws_json1_1DescribeRetentionConfigurationsCommand = exports.deserializeAws_json1_1DescribeRemediationExecutionStatusCommand = exports.deserializeAws_json1_1DescribeRemediationExceptionsCommand = exports.deserializeAws_json1_1DescribeRemediationConfigurationsCommand = exports.deserializeAws_json1_1DescribePendingAggregationRequestsCommand = exports.deserializeAws_json1_1DescribeOrganizationConformancePackStatusesCommand = exports.deserializeAws_json1_1DescribeOrganizationConformancePacksCommand = exports.deserializeAws_json1_1DescribeOrganizationConfigRuleStatusesCommand = exports.deserializeAws_json1_1DescribeOrganizationConfigRulesCommand = exports.deserializeAws_json1_1DescribeDeliveryChannelStatusCommand = exports.deserializeAws_json1_1DescribeDeliveryChannelsCommand = exports.deserializeAws_json1_1DescribeConformancePackStatusCommand = exports.deserializeAws_json1_1DescribeConformancePacksCommand = exports.deserializeAws_json1_1DescribeConformancePackComplianceCommand = exports.deserializeAws_json1_1DescribeConfigurationRecorderStatusCommand = exports.deserializeAws_json1_1DescribeConfigurationRecordersCommand = exports.deserializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusCommand = exports.deserializeAws_json1_1DescribeConfigurationAggregatorsCommand = exports.deserializeAws_json1_1DescribeConfigRulesCommand = exports.deserializeAws_json1_1DescribeConfigRuleEvaluationStatusCommand = exports.deserializeAws_json1_1DescribeComplianceByResourceCommand = exports.deserializeAws_json1_1DescribeComplianceByConfigRuleCommand = exports.deserializeAws_json1_1DescribeAggregationAuthorizationsCommand = exports.deserializeAws_json1_1DescribeAggregateComplianceByConformancePacksCommand = exports.deserializeAws_json1_1DescribeAggregateComplianceByConfigRulesCommand = exports.deserializeAws_json1_1DeliverConfigSnapshotCommand = exports.deserializeAws_json1_1DeleteStoredQueryCommand = exports.deserializeAws_json1_1DeleteRetentionConfigurationCommand = exports.deserializeAws_json1_1DeleteResourceConfigCommand = exports.deserializeAws_json1_1DeleteRemediationExceptionsCommand = exports.deserializeAws_json1_1DeleteRemediationConfigurationCommand = void 0;
6
+ exports.deserializeAws_json1_1UntagResourceCommand = exports.deserializeAws_json1_1TagResourceCommand = exports.deserializeAws_json1_1StopConfigurationRecorderCommand = exports.deserializeAws_json1_1StartRemediationExecutionCommand = exports.deserializeAws_json1_1StartConfigurationRecorderCommand = exports.deserializeAws_json1_1StartConfigRulesEvaluationCommand = exports.deserializeAws_json1_1SelectResourceConfigCommand = exports.deserializeAws_json1_1SelectAggregateResourceConfigCommand = exports.deserializeAws_json1_1PutStoredQueryCommand = exports.deserializeAws_json1_1PutRetentionConfigurationCommand = exports.deserializeAws_json1_1PutResourceConfigCommand = exports.deserializeAws_json1_1PutRemediationExceptionsCommand = exports.deserializeAws_json1_1PutRemediationConfigurationsCommand = exports.deserializeAws_json1_1PutOrganizationConformancePackCommand = exports.deserializeAws_json1_1PutOrganizationConfigRuleCommand = exports.deserializeAws_json1_1PutExternalEvaluationCommand = exports.deserializeAws_json1_1PutEvaluationsCommand = exports.deserializeAws_json1_1PutDeliveryChannelCommand = exports.deserializeAws_json1_1PutConformancePackCommand = exports.deserializeAws_json1_1PutConfigurationRecorderCommand = exports.deserializeAws_json1_1PutConfigurationAggregatorCommand = exports.deserializeAws_json1_1PutConfigRuleCommand = exports.deserializeAws_json1_1PutAggregationAuthorizationCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1ListStoredQueriesCommand = exports.deserializeAws_json1_1ListDiscoveredResourcesCommand = void 0;
7
7
  const protocol_http_1 = require("@aws-sdk/protocol-http");
8
8
  const smithy_client_1 = require("@aws-sdk/smithy-client");
9
9
  const ConfigServiceServiceException_1 = require("../models/ConfigServiceServiceException");
@@ -548,6 +548,16 @@ const serializeAws_json1_1GetConformancePackComplianceSummaryCommand = async (in
548
548
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
549
549
  };
550
550
  exports.serializeAws_json1_1GetConformancePackComplianceSummaryCommand = serializeAws_json1_1GetConformancePackComplianceSummaryCommand;
551
+ const serializeAws_json1_1GetCustomRulePolicyCommand = async (input, context) => {
552
+ const headers = {
553
+ "content-type": "application/x-amz-json-1.1",
554
+ "x-amz-target": "StarlingDoveService.GetCustomRulePolicy",
555
+ };
556
+ let body;
557
+ body = JSON.stringify(serializeAws_json1_1GetCustomRulePolicyRequest(input, context));
558
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
559
+ };
560
+ exports.serializeAws_json1_1GetCustomRulePolicyCommand = serializeAws_json1_1GetCustomRulePolicyCommand;
551
561
  const serializeAws_json1_1GetDiscoveredResourceCountsCommand = async (input, context) => {
552
562
  const headers = {
553
563
  "content-type": "application/x-amz-json-1.1",
@@ -578,6 +588,16 @@ const serializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand =
578
588
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
579
589
  };
580
590
  exports.serializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand = serializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand;
591
+ const serializeAws_json1_1GetOrganizationCustomRulePolicyCommand = async (input, context) => {
592
+ const headers = {
593
+ "content-type": "application/x-amz-json-1.1",
594
+ "x-amz-target": "StarlingDoveService.GetOrganizationCustomRulePolicy",
595
+ };
596
+ let body;
597
+ body = JSON.stringify(serializeAws_json1_1GetOrganizationCustomRulePolicyRequest(input, context));
598
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
599
+ };
600
+ exports.serializeAws_json1_1GetOrganizationCustomRulePolicyCommand = serializeAws_json1_1GetOrganizationCustomRulePolicyCommand;
581
601
  const serializeAws_json1_1GetResourceConfigHistoryCommand = async (input, context) => {
582
602
  const headers = {
583
603
  "content-type": "application/x-amz-json-1.1",
@@ -904,7 +924,7 @@ const deserializeAws_json1_1BatchGetAggregateResourceConfigCommandError = async
904
924
  $fault: "client",
905
925
  $metadata: deserializeMetadata(output),
906
926
  });
907
- throw smithy_client_1.decorateServiceException(response, parsedBody);
927
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
908
928
  }
909
929
  };
910
930
  const deserializeAws_json1_1BatchGetResourceConfigCommand = async (output, context) => {
@@ -943,7 +963,7 @@ const deserializeAws_json1_1BatchGetResourceConfigCommandError = async (output,
943
963
  $fault: "client",
944
964
  $metadata: deserializeMetadata(output),
945
965
  });
946
- throw smithy_client_1.decorateServiceException(response, parsedBody);
966
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
947
967
  }
948
968
  };
949
969
  const deserializeAws_json1_1DeleteAggregationAuthorizationCommand = async (output, context) => {
@@ -976,7 +996,7 @@ const deserializeAws_json1_1DeleteAggregationAuthorizationCommandError = async (
976
996
  $fault: "client",
977
997
  $metadata: deserializeMetadata(output),
978
998
  });
979
- throw smithy_client_1.decorateServiceException(response, parsedBody);
999
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
980
1000
  }
981
1001
  };
982
1002
  const deserializeAws_json1_1DeleteConfigRuleCommand = async (output, context) => {
@@ -1012,7 +1032,7 @@ const deserializeAws_json1_1DeleteConfigRuleCommandError = async (output, contex
1012
1032
  $fault: "client",
1013
1033
  $metadata: deserializeMetadata(output),
1014
1034
  });
1015
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1035
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1016
1036
  }
1017
1037
  };
1018
1038
  const deserializeAws_json1_1DeleteConfigurationAggregatorCommand = async (output, context) => {
@@ -1045,7 +1065,7 @@ const deserializeAws_json1_1DeleteConfigurationAggregatorCommandError = async (o
1045
1065
  $fault: "client",
1046
1066
  $metadata: deserializeMetadata(output),
1047
1067
  });
1048
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1068
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1049
1069
  }
1050
1070
  };
1051
1071
  const deserializeAws_json1_1DeleteConfigurationRecorderCommand = async (output, context) => {
@@ -1078,7 +1098,7 @@ const deserializeAws_json1_1DeleteConfigurationRecorderCommandError = async (out
1078
1098
  $fault: "client",
1079
1099
  $metadata: deserializeMetadata(output),
1080
1100
  });
1081
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1101
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1082
1102
  }
1083
1103
  };
1084
1104
  const deserializeAws_json1_1DeleteConformancePackCommand = async (output, context) => {
@@ -1114,7 +1134,7 @@ const deserializeAws_json1_1DeleteConformancePackCommandError = async (output, c
1114
1134
  $fault: "client",
1115
1135
  $metadata: deserializeMetadata(output),
1116
1136
  });
1117
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1137
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1118
1138
  }
1119
1139
  };
1120
1140
  const deserializeAws_json1_1DeleteDeliveryChannelCommand = async (output, context) => {
@@ -1150,7 +1170,7 @@ const deserializeAws_json1_1DeleteDeliveryChannelCommandError = async (output, c
1150
1170
  $fault: "client",
1151
1171
  $metadata: deserializeMetadata(output),
1152
1172
  });
1153
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1173
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1154
1174
  }
1155
1175
  };
1156
1176
  const deserializeAws_json1_1DeleteEvaluationResultsCommand = async (output, context) => {
@@ -1189,7 +1209,7 @@ const deserializeAws_json1_1DeleteEvaluationResultsCommandError = async (output,
1189
1209
  $fault: "client",
1190
1210
  $metadata: deserializeMetadata(output),
1191
1211
  });
1192
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1212
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1193
1213
  }
1194
1214
  };
1195
1215
  const deserializeAws_json1_1DeleteOrganizationConfigRuleCommand = async (output, context) => {
@@ -1228,7 +1248,7 @@ const deserializeAws_json1_1DeleteOrganizationConfigRuleCommandError = async (ou
1228
1248
  $fault: "client",
1229
1249
  $metadata: deserializeMetadata(output),
1230
1250
  });
1231
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1251
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1232
1252
  }
1233
1253
  };
1234
1254
  const deserializeAws_json1_1DeleteOrganizationConformancePackCommand = async (output, context) => {
@@ -1267,7 +1287,7 @@ const deserializeAws_json1_1DeleteOrganizationConformancePackCommandError = asyn
1267
1287
  $fault: "client",
1268
1288
  $metadata: deserializeMetadata(output),
1269
1289
  });
1270
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1290
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1271
1291
  }
1272
1292
  };
1273
1293
  const deserializeAws_json1_1DeletePendingAggregationRequestCommand = async (output, context) => {
@@ -1300,7 +1320,7 @@ const deserializeAws_json1_1DeletePendingAggregationRequestCommandError = async
1300
1320
  $fault: "client",
1301
1321
  $metadata: deserializeMetadata(output),
1302
1322
  });
1303
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1323
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1304
1324
  }
1305
1325
  };
1306
1326
  const deserializeAws_json1_1DeleteRemediationConfigurationCommand = async (output, context) => {
@@ -1345,7 +1365,7 @@ const deserializeAws_json1_1DeleteRemediationConfigurationCommandError = async (
1345
1365
  $fault: "client",
1346
1366
  $metadata: deserializeMetadata(output),
1347
1367
  });
1348
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1368
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1349
1369
  }
1350
1370
  };
1351
1371
  const deserializeAws_json1_1DeleteRemediationExceptionsCommand = async (output, context) => {
@@ -1381,7 +1401,7 @@ const deserializeAws_json1_1DeleteRemediationExceptionsCommandError = async (out
1381
1401
  $fault: "client",
1382
1402
  $metadata: deserializeMetadata(output),
1383
1403
  });
1384
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1404
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1385
1405
  }
1386
1406
  };
1387
1407
  const deserializeAws_json1_1DeleteResourceConfigCommand = async (output, context) => {
@@ -1417,7 +1437,7 @@ const deserializeAws_json1_1DeleteResourceConfigCommandError = async (output, co
1417
1437
  $fault: "client",
1418
1438
  $metadata: deserializeMetadata(output),
1419
1439
  });
1420
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1440
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1421
1441
  }
1422
1442
  };
1423
1443
  const deserializeAws_json1_1DeleteRetentionConfigurationCommand = async (output, context) => {
@@ -1453,7 +1473,7 @@ const deserializeAws_json1_1DeleteRetentionConfigurationCommandError = async (ou
1453
1473
  $fault: "client",
1454
1474
  $metadata: deserializeMetadata(output),
1455
1475
  });
1456
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1476
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1457
1477
  }
1458
1478
  };
1459
1479
  const deserializeAws_json1_1DeleteStoredQueryCommand = async (output, context) => {
@@ -1492,7 +1512,7 @@ const deserializeAws_json1_1DeleteStoredQueryCommandError = async (output, conte
1492
1512
  $fault: "client",
1493
1513
  $metadata: deserializeMetadata(output),
1494
1514
  });
1495
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1515
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1496
1516
  }
1497
1517
  };
1498
1518
  const deserializeAws_json1_1DeliverConfigSnapshotCommand = async (output, context) => {
@@ -1534,7 +1554,7 @@ const deserializeAws_json1_1DeliverConfigSnapshotCommandError = async (output, c
1534
1554
  $fault: "client",
1535
1555
  $metadata: deserializeMetadata(output),
1536
1556
  });
1537
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1557
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1538
1558
  }
1539
1559
  };
1540
1560
  const deserializeAws_json1_1DescribeAggregateComplianceByConfigRulesCommand = async (output, context) => {
@@ -1579,7 +1599,7 @@ const deserializeAws_json1_1DescribeAggregateComplianceByConfigRulesCommandError
1579
1599
  $fault: "client",
1580
1600
  $metadata: deserializeMetadata(output),
1581
1601
  });
1582
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1602
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1583
1603
  }
1584
1604
  };
1585
1605
  const deserializeAws_json1_1DescribeAggregateComplianceByConformancePacksCommand = async (output, context) => {
@@ -1624,7 +1644,7 @@ const deserializeAws_json1_1DescribeAggregateComplianceByConformancePacksCommand
1624
1644
  $fault: "client",
1625
1645
  $metadata: deserializeMetadata(output),
1626
1646
  });
1627
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1647
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1628
1648
  }
1629
1649
  };
1630
1650
  const deserializeAws_json1_1DescribeAggregationAuthorizationsCommand = async (output, context) => {
@@ -1666,7 +1686,7 @@ const deserializeAws_json1_1DescribeAggregationAuthorizationsCommandError = asyn
1666
1686
  $fault: "client",
1667
1687
  $metadata: deserializeMetadata(output),
1668
1688
  });
1669
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1689
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1670
1690
  }
1671
1691
  };
1672
1692
  const deserializeAws_json1_1DescribeComplianceByConfigRuleCommand = async (output, context) => {
@@ -1708,7 +1728,7 @@ const deserializeAws_json1_1DescribeComplianceByConfigRuleCommandError = async (
1708
1728
  $fault: "client",
1709
1729
  $metadata: deserializeMetadata(output),
1710
1730
  });
1711
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1731
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1712
1732
  }
1713
1733
  };
1714
1734
  const deserializeAws_json1_1DescribeComplianceByResourceCommand = async (output, context) => {
@@ -1747,7 +1767,7 @@ const deserializeAws_json1_1DescribeComplianceByResourceCommandError = async (ou
1747
1767
  $fault: "client",
1748
1768
  $metadata: deserializeMetadata(output),
1749
1769
  });
1750
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1770
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1751
1771
  }
1752
1772
  };
1753
1773
  const deserializeAws_json1_1DescribeConfigRuleEvaluationStatusCommand = async (output, context) => {
@@ -1789,7 +1809,7 @@ const deserializeAws_json1_1DescribeConfigRuleEvaluationStatusCommandError = asy
1789
1809
  $fault: "client",
1790
1810
  $metadata: deserializeMetadata(output),
1791
1811
  });
1792
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1812
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1793
1813
  }
1794
1814
  };
1795
1815
  const deserializeAws_json1_1DescribeConfigRulesCommand = async (output, context) => {
@@ -1828,7 +1848,7 @@ const deserializeAws_json1_1DescribeConfigRulesCommandError = async (output, con
1828
1848
  $fault: "client",
1829
1849
  $metadata: deserializeMetadata(output),
1830
1850
  });
1831
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1851
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1832
1852
  }
1833
1853
  };
1834
1854
  const deserializeAws_json1_1DescribeConfigurationAggregatorsCommand = async (output, context) => {
@@ -1873,7 +1893,7 @@ const deserializeAws_json1_1DescribeConfigurationAggregatorsCommandError = async
1873
1893
  $fault: "client",
1874
1894
  $metadata: deserializeMetadata(output),
1875
1895
  });
1876
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1896
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1877
1897
  }
1878
1898
  };
1879
1899
  const deserializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusCommand = async (output, context) => {
@@ -1918,7 +1938,7 @@ const deserializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusCommandE
1918
1938
  $fault: "client",
1919
1939
  $metadata: deserializeMetadata(output),
1920
1940
  });
1921
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1941
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1922
1942
  }
1923
1943
  };
1924
1944
  const deserializeAws_json1_1DescribeConfigurationRecordersCommand = async (output, context) => {
@@ -1954,7 +1974,7 @@ const deserializeAws_json1_1DescribeConfigurationRecordersCommandError = async (
1954
1974
  $fault: "client",
1955
1975
  $metadata: deserializeMetadata(output),
1956
1976
  });
1957
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1977
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1958
1978
  }
1959
1979
  };
1960
1980
  const deserializeAws_json1_1DescribeConfigurationRecorderStatusCommand = async (output, context) => {
@@ -1990,7 +2010,7 @@ const deserializeAws_json1_1DescribeConfigurationRecorderStatusCommandError = as
1990
2010
  $fault: "client",
1991
2011
  $metadata: deserializeMetadata(output),
1992
2012
  });
1993
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2013
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1994
2014
  }
1995
2015
  };
1996
2016
  const deserializeAws_json1_1DescribeConformancePackComplianceCommand = async (output, context) => {
@@ -2038,7 +2058,7 @@ const deserializeAws_json1_1DescribeConformancePackComplianceCommandError = asyn
2038
2058
  $fault: "client",
2039
2059
  $metadata: deserializeMetadata(output),
2040
2060
  });
2041
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2061
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2042
2062
  }
2043
2063
  };
2044
2064
  const deserializeAws_json1_1DescribeConformancePacksCommand = async (output, context) => {
@@ -2083,7 +2103,7 @@ const deserializeAws_json1_1DescribeConformancePacksCommandError = async (output
2083
2103
  $fault: "client",
2084
2104
  $metadata: deserializeMetadata(output),
2085
2105
  });
2086
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2106
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2087
2107
  }
2088
2108
  };
2089
2109
  const deserializeAws_json1_1DescribeConformancePackStatusCommand = async (output, context) => {
@@ -2125,7 +2145,7 @@ const deserializeAws_json1_1DescribeConformancePackStatusCommandError = async (o
2125
2145
  $fault: "client",
2126
2146
  $metadata: deserializeMetadata(output),
2127
2147
  });
2128
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2148
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2129
2149
  }
2130
2150
  };
2131
2151
  const deserializeAws_json1_1DescribeDeliveryChannelsCommand = async (output, context) => {
@@ -2161,7 +2181,7 @@ const deserializeAws_json1_1DescribeDeliveryChannelsCommandError = async (output
2161
2181
  $fault: "client",
2162
2182
  $metadata: deserializeMetadata(output),
2163
2183
  });
2164
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2184
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2165
2185
  }
2166
2186
  };
2167
2187
  const deserializeAws_json1_1DescribeDeliveryChannelStatusCommand = async (output, context) => {
@@ -2197,7 +2217,7 @@ const deserializeAws_json1_1DescribeDeliveryChannelStatusCommandError = async (o
2197
2217
  $fault: "client",
2198
2218
  $metadata: deserializeMetadata(output),
2199
2219
  });
2200
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2220
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2201
2221
  }
2202
2222
  };
2203
2223
  const deserializeAws_json1_1DescribeOrganizationConfigRulesCommand = async (output, context) => {
@@ -2242,7 +2262,7 @@ const deserializeAws_json1_1DescribeOrganizationConfigRulesCommandError = async
2242
2262
  $fault: "client",
2243
2263
  $metadata: deserializeMetadata(output),
2244
2264
  });
2245
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2265
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2246
2266
  }
2247
2267
  };
2248
2268
  const deserializeAws_json1_1DescribeOrganizationConfigRuleStatusesCommand = async (output, context) => {
@@ -2287,7 +2307,7 @@ const deserializeAws_json1_1DescribeOrganizationConfigRuleStatusesCommandError =
2287
2307
  $fault: "client",
2288
2308
  $metadata: deserializeMetadata(output),
2289
2309
  });
2290
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2310
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2291
2311
  }
2292
2312
  };
2293
2313
  const deserializeAws_json1_1DescribeOrganizationConformancePacksCommand = async (output, context) => {
@@ -2332,7 +2352,7 @@ const deserializeAws_json1_1DescribeOrganizationConformancePacksCommandError = a
2332
2352
  $fault: "client",
2333
2353
  $metadata: deserializeMetadata(output),
2334
2354
  });
2335
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2355
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2336
2356
  }
2337
2357
  };
2338
2358
  const deserializeAws_json1_1DescribeOrganizationConformancePackStatusesCommand = async (output, context) => {
@@ -2377,7 +2397,7 @@ const deserializeAws_json1_1DescribeOrganizationConformancePackStatusesCommandEr
2377
2397
  $fault: "client",
2378
2398
  $metadata: deserializeMetadata(output),
2379
2399
  });
2380
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2400
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2381
2401
  }
2382
2402
  };
2383
2403
  const deserializeAws_json1_1DescribePendingAggregationRequestsCommand = async (output, context) => {
@@ -2419,7 +2439,7 @@ const deserializeAws_json1_1DescribePendingAggregationRequestsCommandError = asy
2419
2439
  $fault: "client",
2420
2440
  $metadata: deserializeMetadata(output),
2421
2441
  });
2422
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2442
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2423
2443
  }
2424
2444
  };
2425
2445
  const deserializeAws_json1_1DescribeRemediationConfigurationsCommand = async (output, context) => {
@@ -2452,7 +2472,7 @@ const deserializeAws_json1_1DescribeRemediationConfigurationsCommandError = asyn
2452
2472
  $fault: "client",
2453
2473
  $metadata: deserializeMetadata(output),
2454
2474
  });
2455
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2475
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2456
2476
  }
2457
2477
  };
2458
2478
  const deserializeAws_json1_1DescribeRemediationExceptionsCommand = async (output, context) => {
@@ -2491,7 +2511,7 @@ const deserializeAws_json1_1DescribeRemediationExceptionsCommandError = async (o
2491
2511
  $fault: "client",
2492
2512
  $metadata: deserializeMetadata(output),
2493
2513
  });
2494
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2514
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2495
2515
  }
2496
2516
  };
2497
2517
  const deserializeAws_json1_1DescribeRemediationExecutionStatusCommand = async (output, context) => {
@@ -2533,7 +2553,7 @@ const deserializeAws_json1_1DescribeRemediationExecutionStatusCommandError = asy
2533
2553
  $fault: "client",
2534
2554
  $metadata: deserializeMetadata(output),
2535
2555
  });
2536
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2556
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2537
2557
  }
2538
2558
  };
2539
2559
  const deserializeAws_json1_1DescribeRetentionConfigurationsCommand = async (output, context) => {
@@ -2575,7 +2595,7 @@ const deserializeAws_json1_1DescribeRetentionConfigurationsCommandError = async
2575
2595
  $fault: "client",
2576
2596
  $metadata: deserializeMetadata(output),
2577
2597
  });
2578
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2598
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2579
2599
  }
2580
2600
  };
2581
2601
  const deserializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleCommand = async (output, context) => {
@@ -2620,7 +2640,7 @@ const deserializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleCommandErro
2620
2640
  $fault: "client",
2621
2641
  $metadata: deserializeMetadata(output),
2622
2642
  });
2623
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2643
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2624
2644
  }
2625
2645
  };
2626
2646
  const deserializeAws_json1_1GetAggregateConfigRuleComplianceSummaryCommand = async (output, context) => {
@@ -2665,7 +2685,7 @@ const deserializeAws_json1_1GetAggregateConfigRuleComplianceSummaryCommandError
2665
2685
  $fault: "client",
2666
2686
  $metadata: deserializeMetadata(output),
2667
2687
  });
2668
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2688
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2669
2689
  }
2670
2690
  };
2671
2691
  const deserializeAws_json1_1GetAggregateConformancePackComplianceSummaryCommand = async (output, context) => {
@@ -2710,7 +2730,7 @@ const deserializeAws_json1_1GetAggregateConformancePackComplianceSummaryCommandE
2710
2730
  $fault: "client",
2711
2731
  $metadata: deserializeMetadata(output),
2712
2732
  });
2713
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2733
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2714
2734
  }
2715
2735
  };
2716
2736
  const deserializeAws_json1_1GetAggregateDiscoveredResourceCountsCommand = async (output, context) => {
@@ -2755,7 +2775,7 @@ const deserializeAws_json1_1GetAggregateDiscoveredResourceCountsCommandError = a
2755
2775
  $fault: "client",
2756
2776
  $metadata: deserializeMetadata(output),
2757
2777
  });
2758
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2778
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2759
2779
  }
2760
2780
  };
2761
2781
  const deserializeAws_json1_1GetAggregateResourceConfigCommand = async (output, context) => {
@@ -2800,7 +2820,7 @@ const deserializeAws_json1_1GetAggregateResourceConfigCommandError = async (outp
2800
2820
  $fault: "client",
2801
2821
  $metadata: deserializeMetadata(output),
2802
2822
  });
2803
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2823
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2804
2824
  }
2805
2825
  };
2806
2826
  const deserializeAws_json1_1GetComplianceDetailsByConfigRuleCommand = async (output, context) => {
@@ -2842,7 +2862,7 @@ const deserializeAws_json1_1GetComplianceDetailsByConfigRuleCommandError = async
2842
2862
  $fault: "client",
2843
2863
  $metadata: deserializeMetadata(output),
2844
2864
  });
2845
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2865
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2846
2866
  }
2847
2867
  };
2848
2868
  const deserializeAws_json1_1GetComplianceDetailsByResourceCommand = async (output, context) => {
@@ -2878,7 +2898,7 @@ const deserializeAws_json1_1GetComplianceDetailsByResourceCommandError = async (
2878
2898
  $fault: "client",
2879
2899
  $metadata: deserializeMetadata(output),
2880
2900
  });
2881
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2901
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2882
2902
  }
2883
2903
  };
2884
2904
  const deserializeAws_json1_1GetComplianceSummaryByConfigRuleCommand = async (output, context) => {
@@ -2911,7 +2931,7 @@ const deserializeAws_json1_1GetComplianceSummaryByConfigRuleCommandError = async
2911
2931
  $fault: "client",
2912
2932
  $metadata: deserializeMetadata(output),
2913
2933
  });
2914
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2934
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2915
2935
  }
2916
2936
  };
2917
2937
  const deserializeAws_json1_1GetComplianceSummaryByResourceTypeCommand = async (output, context) => {
@@ -2947,7 +2967,7 @@ const deserializeAws_json1_1GetComplianceSummaryByResourceTypeCommandError = asy
2947
2967
  $fault: "client",
2948
2968
  $metadata: deserializeMetadata(output),
2949
2969
  });
2950
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2970
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2951
2971
  }
2952
2972
  };
2953
2973
  const deserializeAws_json1_1GetConformancePackComplianceDetailsCommand = async (output, context) => {
@@ -2995,7 +3015,7 @@ const deserializeAws_json1_1GetConformancePackComplianceDetailsCommandError = as
2995
3015
  $fault: "client",
2996
3016
  $metadata: deserializeMetadata(output),
2997
3017
  });
2998
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3018
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2999
3019
  }
3000
3020
  };
3001
3021
  const deserializeAws_json1_1GetConformancePackComplianceSummaryCommand = async (output, context) => {
@@ -3037,7 +3057,43 @@ const deserializeAws_json1_1GetConformancePackComplianceSummaryCommandError = as
3037
3057
  $fault: "client",
3038
3058
  $metadata: deserializeMetadata(output),
3039
3059
  });
3040
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3060
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3061
+ }
3062
+ };
3063
+ const deserializeAws_json1_1GetCustomRulePolicyCommand = async (output, context) => {
3064
+ if (output.statusCode >= 300) {
3065
+ return deserializeAws_json1_1GetCustomRulePolicyCommandError(output, context);
3066
+ }
3067
+ const data = await parseBody(output.body, context);
3068
+ let contents = {};
3069
+ contents = deserializeAws_json1_1GetCustomRulePolicyResponse(data, context);
3070
+ const response = {
3071
+ $metadata: deserializeMetadata(output),
3072
+ ...contents,
3073
+ };
3074
+ return Promise.resolve(response);
3075
+ };
3076
+ exports.deserializeAws_json1_1GetCustomRulePolicyCommand = deserializeAws_json1_1GetCustomRulePolicyCommand;
3077
+ const deserializeAws_json1_1GetCustomRulePolicyCommandError = async (output, context) => {
3078
+ const parsedOutput = {
3079
+ ...output,
3080
+ body: await parseBody(output.body, context),
3081
+ };
3082
+ let response;
3083
+ let errorCode = "UnknownError";
3084
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3085
+ switch (errorCode) {
3086
+ case "NoSuchConfigRuleException":
3087
+ case "com.amazonaws.configservice#NoSuchConfigRuleException":
3088
+ throw await deserializeAws_json1_1NoSuchConfigRuleExceptionResponse(parsedOutput, context);
3089
+ default:
3090
+ const parsedBody = parsedOutput.body;
3091
+ response = new ConfigServiceServiceException_1.ConfigServiceServiceException({
3092
+ name: parsedBody.code || parsedBody.Code || errorCode,
3093
+ $fault: "client",
3094
+ $metadata: deserializeMetadata(output),
3095
+ });
3096
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3041
3097
  }
3042
3098
  };
3043
3099
  const deserializeAws_json1_1GetDiscoveredResourceCountsCommand = async (output, context) => {
@@ -3079,7 +3135,7 @@ const deserializeAws_json1_1GetDiscoveredResourceCountsCommandError = async (out
3079
3135
  $fault: "client",
3080
3136
  $metadata: deserializeMetadata(output),
3081
3137
  });
3082
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3138
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3083
3139
  }
3084
3140
  };
3085
3141
  const deserializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommand = async (output, context) => {
@@ -3124,7 +3180,7 @@ const deserializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommandError
3124
3180
  $fault: "client",
3125
3181
  $metadata: deserializeMetadata(output),
3126
3182
  });
3127
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3183
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3128
3184
  }
3129
3185
  };
3130
3186
  const deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand = async (output, context) => {
@@ -3169,7 +3225,46 @@ const deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommandE
3169
3225
  $fault: "client",
3170
3226
  $metadata: deserializeMetadata(output),
3171
3227
  });
3172
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3228
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3229
+ }
3230
+ };
3231
+ const deserializeAws_json1_1GetOrganizationCustomRulePolicyCommand = async (output, context) => {
3232
+ if (output.statusCode >= 300) {
3233
+ return deserializeAws_json1_1GetOrganizationCustomRulePolicyCommandError(output, context);
3234
+ }
3235
+ const data = await parseBody(output.body, context);
3236
+ let contents = {};
3237
+ contents = deserializeAws_json1_1GetOrganizationCustomRulePolicyResponse(data, context);
3238
+ const response = {
3239
+ $metadata: deserializeMetadata(output),
3240
+ ...contents,
3241
+ };
3242
+ return Promise.resolve(response);
3243
+ };
3244
+ exports.deserializeAws_json1_1GetOrganizationCustomRulePolicyCommand = deserializeAws_json1_1GetOrganizationCustomRulePolicyCommand;
3245
+ const deserializeAws_json1_1GetOrganizationCustomRulePolicyCommandError = async (output, context) => {
3246
+ const parsedOutput = {
3247
+ ...output,
3248
+ body: await parseBody(output.body, context),
3249
+ };
3250
+ let response;
3251
+ let errorCode = "UnknownError";
3252
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3253
+ switch (errorCode) {
3254
+ case "NoSuchOrganizationConfigRuleException":
3255
+ case "com.amazonaws.configservice#NoSuchOrganizationConfigRuleException":
3256
+ throw await deserializeAws_json1_1NoSuchOrganizationConfigRuleExceptionResponse(parsedOutput, context);
3257
+ case "OrganizationAccessDeniedException":
3258
+ case "com.amazonaws.configservice#OrganizationAccessDeniedException":
3259
+ throw await deserializeAws_json1_1OrganizationAccessDeniedExceptionResponse(parsedOutput, context);
3260
+ default:
3261
+ const parsedBody = parsedOutput.body;
3262
+ response = new ConfigServiceServiceException_1.ConfigServiceServiceException({
3263
+ name: parsedBody.code || parsedBody.Code || errorCode,
3264
+ $fault: "client",
3265
+ $metadata: deserializeMetadata(output),
3266
+ });
3267
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3173
3268
  }
3174
3269
  };
3175
3270
  const deserializeAws_json1_1GetResourceConfigHistoryCommand = async (output, context) => {
@@ -3220,7 +3315,7 @@ const deserializeAws_json1_1GetResourceConfigHistoryCommandError = async (output
3220
3315
  $fault: "client",
3221
3316
  $metadata: deserializeMetadata(output),
3222
3317
  });
3223
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3318
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3224
3319
  }
3225
3320
  };
3226
3321
  const deserializeAws_json1_1GetStoredQueryCommand = async (output, context) => {
@@ -3259,7 +3354,7 @@ const deserializeAws_json1_1GetStoredQueryCommandError = async (output, context)
3259
3354
  $fault: "client",
3260
3355
  $metadata: deserializeMetadata(output),
3261
3356
  });
3262
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3357
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3263
3358
  }
3264
3359
  };
3265
3360
  const deserializeAws_json1_1ListAggregateDiscoveredResourcesCommand = async (output, context) => {
@@ -3304,7 +3399,7 @@ const deserializeAws_json1_1ListAggregateDiscoveredResourcesCommandError = async
3304
3399
  $fault: "client",
3305
3400
  $metadata: deserializeMetadata(output),
3306
3401
  });
3307
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3402
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3308
3403
  }
3309
3404
  };
3310
3405
  const deserializeAws_json1_1ListDiscoveredResourcesCommand = async (output, context) => {
@@ -3349,7 +3444,7 @@ const deserializeAws_json1_1ListDiscoveredResourcesCommandError = async (output,
3349
3444
  $fault: "client",
3350
3445
  $metadata: deserializeMetadata(output),
3351
3446
  });
3352
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3447
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3353
3448
  }
3354
3449
  };
3355
3450
  const deserializeAws_json1_1ListStoredQueriesCommand = async (output, context) => {
@@ -3388,7 +3483,7 @@ const deserializeAws_json1_1ListStoredQueriesCommandError = async (output, conte
3388
3483
  $fault: "client",
3389
3484
  $metadata: deserializeMetadata(output),
3390
3485
  });
3391
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3486
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3392
3487
  }
3393
3488
  };
3394
3489
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -3433,7 +3528,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
3433
3528
  $fault: "client",
3434
3529
  $metadata: deserializeMetadata(output),
3435
3530
  });
3436
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3531
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3437
3532
  }
3438
3533
  };
3439
3534
  const deserializeAws_json1_1PutAggregationAuthorizationCommand = async (output, context) => {
@@ -3469,7 +3564,7 @@ const deserializeAws_json1_1PutAggregationAuthorizationCommandError = async (out
3469
3564
  $fault: "client",
3470
3565
  $metadata: deserializeMetadata(output),
3471
3566
  });
3472
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3567
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3473
3568
  }
3474
3569
  };
3475
3570
  const deserializeAws_json1_1PutConfigRuleCommand = async (output, context) => {
@@ -3514,7 +3609,7 @@ const deserializeAws_json1_1PutConfigRuleCommandError = async (output, context)
3514
3609
  $fault: "client",
3515
3610
  $metadata: deserializeMetadata(output),
3516
3611
  });
3517
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3612
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3518
3613
  }
3519
3614
  };
3520
3615
  const deserializeAws_json1_1PutConfigurationAggregatorCommand = async (output, context) => {
@@ -3565,7 +3660,7 @@ const deserializeAws_json1_1PutConfigurationAggregatorCommandError = async (outp
3565
3660
  $fault: "client",
3566
3661
  $metadata: deserializeMetadata(output),
3567
3662
  });
3568
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3663
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3569
3664
  }
3570
3665
  };
3571
3666
  const deserializeAws_json1_1PutConfigurationRecorderCommand = async (output, context) => {
@@ -3607,7 +3702,7 @@ const deserializeAws_json1_1PutConfigurationRecorderCommandError = async (output
3607
3702
  $fault: "client",
3608
3703
  $metadata: deserializeMetadata(output),
3609
3704
  });
3610
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3705
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3611
3706
  }
3612
3707
  };
3613
3708
  const deserializeAws_json1_1PutConformancePackCommand = async (output, context) => {
@@ -3655,7 +3750,7 @@ const deserializeAws_json1_1PutConformancePackCommandError = async (output, cont
3655
3750
  $fault: "client",
3656
3751
  $metadata: deserializeMetadata(output),
3657
3752
  });
3658
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3753
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3659
3754
  }
3660
3755
  };
3661
3756
  const deserializeAws_json1_1PutDeliveryChannelCommand = async (output, context) => {
@@ -3709,7 +3804,7 @@ const deserializeAws_json1_1PutDeliveryChannelCommandError = async (output, cont
3709
3804
  $fault: "client",
3710
3805
  $metadata: deserializeMetadata(output),
3711
3806
  });
3712
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3807
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3713
3808
  }
3714
3809
  };
3715
3810
  const deserializeAws_json1_1PutEvaluationsCommand = async (output, context) => {
@@ -3751,7 +3846,7 @@ const deserializeAws_json1_1PutEvaluationsCommandError = async (output, context)
3751
3846
  $fault: "client",
3752
3847
  $metadata: deserializeMetadata(output),
3753
3848
  });
3754
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3849
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3755
3850
  }
3756
3851
  };
3757
3852
  const deserializeAws_json1_1PutExternalEvaluationCommand = async (output, context) => {
@@ -3790,7 +3885,7 @@ const deserializeAws_json1_1PutExternalEvaluationCommandError = async (output, c
3790
3885
  $fault: "client",
3791
3886
  $metadata: deserializeMetadata(output),
3792
3887
  });
3793
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3888
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3794
3889
  }
3795
3890
  };
3796
3891
  const deserializeAws_json1_1PutOrganizationConfigRuleCommand = async (output, context) => {
@@ -3847,7 +3942,7 @@ const deserializeAws_json1_1PutOrganizationConfigRuleCommandError = async (outpu
3847
3942
  $fault: "client",
3848
3943
  $metadata: deserializeMetadata(output),
3849
3944
  });
3850
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3945
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3851
3946
  }
3852
3947
  };
3853
3948
  const deserializeAws_json1_1PutOrganizationConformancePackCommand = async (output, context) => {
@@ -3904,7 +3999,7 @@ const deserializeAws_json1_1PutOrganizationConformancePackCommandError = async (
3904
3999
  $fault: "client",
3905
4000
  $metadata: deserializeMetadata(output),
3906
4001
  });
3907
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4002
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3908
4003
  }
3909
4004
  };
3910
4005
  const deserializeAws_json1_1PutRemediationConfigurationsCommand = async (output, context) => {
@@ -3943,7 +4038,7 @@ const deserializeAws_json1_1PutRemediationConfigurationsCommandError = async (ou
3943
4038
  $fault: "client",
3944
4039
  $metadata: deserializeMetadata(output),
3945
4040
  });
3946
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4041
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3947
4042
  }
3948
4043
  };
3949
4044
  const deserializeAws_json1_1PutRemediationExceptionsCommand = async (output, context) => {
@@ -3982,7 +4077,7 @@ const deserializeAws_json1_1PutRemediationExceptionsCommandError = async (output
3982
4077
  $fault: "client",
3983
4078
  $metadata: deserializeMetadata(output),
3984
4079
  });
3985
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4080
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3986
4081
  }
3987
4082
  };
3988
4083
  const deserializeAws_json1_1PutResourceConfigCommand = async (output, context) => {
@@ -4024,7 +4119,7 @@ const deserializeAws_json1_1PutResourceConfigCommandError = async (output, conte
4024
4119
  $fault: "client",
4025
4120
  $metadata: deserializeMetadata(output),
4026
4121
  });
4027
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4122
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4028
4123
  }
4029
4124
  };
4030
4125
  const deserializeAws_json1_1PutRetentionConfigurationCommand = async (output, context) => {
@@ -4063,7 +4158,7 @@ const deserializeAws_json1_1PutRetentionConfigurationCommandError = async (outpu
4063
4158
  $fault: "client",
4064
4159
  $metadata: deserializeMetadata(output),
4065
4160
  });
4066
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4161
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4067
4162
  }
4068
4163
  };
4069
4164
  const deserializeAws_json1_1PutStoredQueryCommand = async (output, context) => {
@@ -4105,7 +4200,7 @@ const deserializeAws_json1_1PutStoredQueryCommandError = async (output, context)
4105
4200
  $fault: "client",
4106
4201
  $metadata: deserializeMetadata(output),
4107
4202
  });
4108
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4203
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4109
4204
  }
4110
4205
  };
4111
4206
  const deserializeAws_json1_1SelectAggregateResourceConfigCommand = async (output, context) => {
@@ -4150,7 +4245,7 @@ const deserializeAws_json1_1SelectAggregateResourceConfigCommandError = async (o
4150
4245
  $fault: "client",
4151
4246
  $metadata: deserializeMetadata(output),
4152
4247
  });
4153
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4248
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4154
4249
  }
4155
4250
  };
4156
4251
  const deserializeAws_json1_1SelectResourceConfigCommand = async (output, context) => {
@@ -4192,7 +4287,7 @@ const deserializeAws_json1_1SelectResourceConfigCommandError = async (output, co
4192
4287
  $fault: "client",
4193
4288
  $metadata: deserializeMetadata(output),
4194
4289
  });
4195
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4290
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4196
4291
  }
4197
4292
  };
4198
4293
  const deserializeAws_json1_1StartConfigRulesEvaluationCommand = async (output, context) => {
@@ -4237,7 +4332,7 @@ const deserializeAws_json1_1StartConfigRulesEvaluationCommandError = async (outp
4237
4332
  $fault: "client",
4238
4333
  $metadata: deserializeMetadata(output),
4239
4334
  });
4240
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4335
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4241
4336
  }
4242
4337
  };
4243
4338
  const deserializeAws_json1_1StartConfigurationRecorderCommand = async (output, context) => {
@@ -4273,7 +4368,7 @@ const deserializeAws_json1_1StartConfigurationRecorderCommandError = async (outp
4273
4368
  $fault: "client",
4274
4369
  $metadata: deserializeMetadata(output),
4275
4370
  });
4276
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4371
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4277
4372
  }
4278
4373
  };
4279
4374
  const deserializeAws_json1_1StartRemediationExecutionCommand = async (output, context) => {
@@ -4315,7 +4410,7 @@ const deserializeAws_json1_1StartRemediationExecutionCommandError = async (outpu
4315
4410
  $fault: "client",
4316
4411
  $metadata: deserializeMetadata(output),
4317
4412
  });
4318
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4413
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4319
4414
  }
4320
4415
  };
4321
4416
  const deserializeAws_json1_1StopConfigurationRecorderCommand = async (output, context) => {
@@ -4348,7 +4443,7 @@ const deserializeAws_json1_1StopConfigurationRecorderCommandError = async (outpu
4348
4443
  $fault: "client",
4349
4444
  $metadata: deserializeMetadata(output),
4350
4445
  });
4351
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4446
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4352
4447
  }
4353
4448
  };
4354
4449
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -4387,7 +4482,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
4387
4482
  $fault: "client",
4388
4483
  $metadata: deserializeMetadata(output),
4389
4484
  });
4390
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4485
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4391
4486
  }
4392
4487
  };
4393
4488
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -4423,7 +4518,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
4423
4518
  $fault: "client",
4424
4519
  $metadata: deserializeMetadata(output),
4425
4520
  });
4426
- throw smithy_client_1.decorateServiceException(response, parsedBody);
4521
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
4427
4522
  }
4428
4523
  };
4429
4524
  const deserializeAws_json1_1ConformancePackTemplateValidationExceptionResponse = async (parsedOutput, context) => {
@@ -4433,7 +4528,7 @@ const deserializeAws_json1_1ConformancePackTemplateValidationExceptionResponse =
4433
4528
  $metadata: deserializeMetadata(parsedOutput),
4434
4529
  ...deserialized,
4435
4530
  });
4436
- return smithy_client_1.decorateServiceException(exception, body);
4531
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4437
4532
  };
4438
4533
  const deserializeAws_json1_1InsufficientDeliveryPolicyExceptionResponse = async (parsedOutput, context) => {
4439
4534
  const body = parsedOutput.body;
@@ -4442,7 +4537,7 @@ const deserializeAws_json1_1InsufficientDeliveryPolicyExceptionResponse = async
4442
4537
  $metadata: deserializeMetadata(parsedOutput),
4443
4538
  ...deserialized,
4444
4539
  });
4445
- return smithy_client_1.decorateServiceException(exception, body);
4540
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4446
4541
  };
4447
4542
  const deserializeAws_json1_1InsufficientPermissionsExceptionResponse = async (parsedOutput, context) => {
4448
4543
  const body = parsedOutput.body;
@@ -4451,7 +4546,7 @@ const deserializeAws_json1_1InsufficientPermissionsExceptionResponse = async (pa
4451
4546
  $metadata: deserializeMetadata(parsedOutput),
4452
4547
  ...deserialized,
4453
4548
  });
4454
- return smithy_client_1.decorateServiceException(exception, body);
4549
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4455
4550
  };
4456
4551
  const deserializeAws_json1_1InvalidConfigurationRecorderNameExceptionResponse = async (parsedOutput, context) => {
4457
4552
  const body = parsedOutput.body;
@@ -4460,7 +4555,7 @@ const deserializeAws_json1_1InvalidConfigurationRecorderNameExceptionResponse =
4460
4555
  $metadata: deserializeMetadata(parsedOutput),
4461
4556
  ...deserialized,
4462
4557
  });
4463
- return smithy_client_1.decorateServiceException(exception, body);
4558
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4464
4559
  };
4465
4560
  const deserializeAws_json1_1InvalidDeliveryChannelNameExceptionResponse = async (parsedOutput, context) => {
4466
4561
  const body = parsedOutput.body;
@@ -4469,7 +4564,7 @@ const deserializeAws_json1_1InvalidDeliveryChannelNameExceptionResponse = async
4469
4564
  $metadata: deserializeMetadata(parsedOutput),
4470
4565
  ...deserialized,
4471
4566
  });
4472
- return smithy_client_1.decorateServiceException(exception, body);
4567
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4473
4568
  };
4474
4569
  const deserializeAws_json1_1InvalidExpressionExceptionResponse = async (parsedOutput, context) => {
4475
4570
  const body = parsedOutput.body;
@@ -4478,7 +4573,7 @@ const deserializeAws_json1_1InvalidExpressionExceptionResponse = async (parsedOu
4478
4573
  $metadata: deserializeMetadata(parsedOutput),
4479
4574
  ...deserialized,
4480
4575
  });
4481
- return smithy_client_1.decorateServiceException(exception, body);
4576
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4482
4577
  };
4483
4578
  const deserializeAws_json1_1InvalidLimitExceptionResponse = async (parsedOutput, context) => {
4484
4579
  const body = parsedOutput.body;
@@ -4487,7 +4582,7 @@ const deserializeAws_json1_1InvalidLimitExceptionResponse = async (parsedOutput,
4487
4582
  $metadata: deserializeMetadata(parsedOutput),
4488
4583
  ...deserialized,
4489
4584
  });
4490
- return smithy_client_1.decorateServiceException(exception, body);
4585
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4491
4586
  };
4492
4587
  const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
4493
4588
  const body = parsedOutput.body;
@@ -4496,7 +4591,7 @@ const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOut
4496
4591
  $metadata: deserializeMetadata(parsedOutput),
4497
4592
  ...deserialized,
4498
4593
  });
4499
- return smithy_client_1.decorateServiceException(exception, body);
4594
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4500
4595
  };
4501
4596
  const deserializeAws_json1_1InvalidParameterValueExceptionResponse = async (parsedOutput, context) => {
4502
4597
  const body = parsedOutput.body;
@@ -4505,7 +4600,7 @@ const deserializeAws_json1_1InvalidParameterValueExceptionResponse = async (pars
4505
4600
  $metadata: deserializeMetadata(parsedOutput),
4506
4601
  ...deserialized,
4507
4602
  });
4508
- return smithy_client_1.decorateServiceException(exception, body);
4603
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4509
4604
  };
4510
4605
  const deserializeAws_json1_1InvalidRecordingGroupExceptionResponse = async (parsedOutput, context) => {
4511
4606
  const body = parsedOutput.body;
@@ -4514,7 +4609,7 @@ const deserializeAws_json1_1InvalidRecordingGroupExceptionResponse = async (pars
4514
4609
  $metadata: deserializeMetadata(parsedOutput),
4515
4610
  ...deserialized,
4516
4611
  });
4517
- return smithy_client_1.decorateServiceException(exception, body);
4612
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4518
4613
  };
4519
4614
  const deserializeAws_json1_1InvalidResultTokenExceptionResponse = async (parsedOutput, context) => {
4520
4615
  const body = parsedOutput.body;
@@ -4523,7 +4618,7 @@ const deserializeAws_json1_1InvalidResultTokenExceptionResponse = async (parsedO
4523
4618
  $metadata: deserializeMetadata(parsedOutput),
4524
4619
  ...deserialized,
4525
4620
  });
4526
- return smithy_client_1.decorateServiceException(exception, body);
4621
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4527
4622
  };
4528
4623
  const deserializeAws_json1_1InvalidRoleExceptionResponse = async (parsedOutput, context) => {
4529
4624
  const body = parsedOutput.body;
@@ -4532,7 +4627,7 @@ const deserializeAws_json1_1InvalidRoleExceptionResponse = async (parsedOutput,
4532
4627
  $metadata: deserializeMetadata(parsedOutput),
4533
4628
  ...deserialized,
4534
4629
  });
4535
- return smithy_client_1.decorateServiceException(exception, body);
4630
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4536
4631
  };
4537
4632
  const deserializeAws_json1_1InvalidS3KeyPrefixExceptionResponse = async (parsedOutput, context) => {
4538
4633
  const body = parsedOutput.body;
@@ -4541,7 +4636,7 @@ const deserializeAws_json1_1InvalidS3KeyPrefixExceptionResponse = async (parsedO
4541
4636
  $metadata: deserializeMetadata(parsedOutput),
4542
4637
  ...deserialized,
4543
4638
  });
4544
- return smithy_client_1.decorateServiceException(exception, body);
4639
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4545
4640
  };
4546
4641
  const deserializeAws_json1_1InvalidS3KmsKeyArnExceptionResponse = async (parsedOutput, context) => {
4547
4642
  const body = parsedOutput.body;
@@ -4550,7 +4645,7 @@ const deserializeAws_json1_1InvalidS3KmsKeyArnExceptionResponse = async (parsedO
4550
4645
  $metadata: deserializeMetadata(parsedOutput),
4551
4646
  ...deserialized,
4552
4647
  });
4553
- return smithy_client_1.decorateServiceException(exception, body);
4648
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4554
4649
  };
4555
4650
  const deserializeAws_json1_1InvalidSNSTopicARNExceptionResponse = async (parsedOutput, context) => {
4556
4651
  const body = parsedOutput.body;
@@ -4559,7 +4654,7 @@ const deserializeAws_json1_1InvalidSNSTopicARNExceptionResponse = async (parsedO
4559
4654
  $metadata: deserializeMetadata(parsedOutput),
4560
4655
  ...deserialized,
4561
4656
  });
4562
- return smithy_client_1.decorateServiceException(exception, body);
4657
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4563
4658
  };
4564
4659
  const deserializeAws_json1_1InvalidTimeRangeExceptionResponse = async (parsedOutput, context) => {
4565
4660
  const body = parsedOutput.body;
@@ -4568,7 +4663,7 @@ const deserializeAws_json1_1InvalidTimeRangeExceptionResponse = async (parsedOut
4568
4663
  $metadata: deserializeMetadata(parsedOutput),
4569
4664
  ...deserialized,
4570
4665
  });
4571
- return smithy_client_1.decorateServiceException(exception, body);
4666
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4572
4667
  };
4573
4668
  const deserializeAws_json1_1LastDeliveryChannelDeleteFailedExceptionResponse = async (parsedOutput, context) => {
4574
4669
  const body = parsedOutput.body;
@@ -4577,7 +4672,7 @@ const deserializeAws_json1_1LastDeliveryChannelDeleteFailedExceptionResponse = a
4577
4672
  $metadata: deserializeMetadata(parsedOutput),
4578
4673
  ...deserialized,
4579
4674
  });
4580
- return smithy_client_1.decorateServiceException(exception, body);
4675
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4581
4676
  };
4582
4677
  const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
4583
4678
  const body = parsedOutput.body;
@@ -4586,7 +4681,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
4586
4681
  $metadata: deserializeMetadata(parsedOutput),
4587
4682
  ...deserialized,
4588
4683
  });
4589
- return smithy_client_1.decorateServiceException(exception, body);
4684
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4590
4685
  };
4591
4686
  const deserializeAws_json1_1MaxActiveResourcesExceededExceptionResponse = async (parsedOutput, context) => {
4592
4687
  const body = parsedOutput.body;
@@ -4595,7 +4690,7 @@ const deserializeAws_json1_1MaxActiveResourcesExceededExceptionResponse = async
4595
4690
  $metadata: deserializeMetadata(parsedOutput),
4596
4691
  ...deserialized,
4597
4692
  });
4598
- return smithy_client_1.decorateServiceException(exception, body);
4693
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4599
4694
  };
4600
4695
  const deserializeAws_json1_1MaxNumberOfConfigRulesExceededExceptionResponse = async (parsedOutput, context) => {
4601
4696
  const body = parsedOutput.body;
@@ -4604,7 +4699,7 @@ const deserializeAws_json1_1MaxNumberOfConfigRulesExceededExceptionResponse = as
4604
4699
  $metadata: deserializeMetadata(parsedOutput),
4605
4700
  ...deserialized,
4606
4701
  });
4607
- return smithy_client_1.decorateServiceException(exception, body);
4702
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4608
4703
  };
4609
4704
  const deserializeAws_json1_1MaxNumberOfConfigurationRecordersExceededExceptionResponse = async (parsedOutput, context) => {
4610
4705
  const body = parsedOutput.body;
@@ -4613,7 +4708,7 @@ const deserializeAws_json1_1MaxNumberOfConfigurationRecordersExceededExceptionRe
4613
4708
  $metadata: deserializeMetadata(parsedOutput),
4614
4709
  ...deserialized,
4615
4710
  });
4616
- return smithy_client_1.decorateServiceException(exception, body);
4711
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4617
4712
  };
4618
4713
  const deserializeAws_json1_1MaxNumberOfConformancePacksExceededExceptionResponse = async (parsedOutput, context) => {
4619
4714
  const body = parsedOutput.body;
@@ -4622,7 +4717,7 @@ const deserializeAws_json1_1MaxNumberOfConformancePacksExceededExceptionResponse
4622
4717
  $metadata: deserializeMetadata(parsedOutput),
4623
4718
  ...deserialized,
4624
4719
  });
4625
- return smithy_client_1.decorateServiceException(exception, body);
4720
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4626
4721
  };
4627
4722
  const deserializeAws_json1_1MaxNumberOfDeliveryChannelsExceededExceptionResponse = async (parsedOutput, context) => {
4628
4723
  const body = parsedOutput.body;
@@ -4631,7 +4726,7 @@ const deserializeAws_json1_1MaxNumberOfDeliveryChannelsExceededExceptionResponse
4631
4726
  $metadata: deserializeMetadata(parsedOutput),
4632
4727
  ...deserialized,
4633
4728
  });
4634
- return smithy_client_1.decorateServiceException(exception, body);
4729
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4635
4730
  };
4636
4731
  const deserializeAws_json1_1MaxNumberOfOrganizationConfigRulesExceededExceptionResponse = async (parsedOutput, context) => {
4637
4732
  const body = parsedOutput.body;
@@ -4640,7 +4735,7 @@ const deserializeAws_json1_1MaxNumberOfOrganizationConfigRulesExceededExceptionR
4640
4735
  $metadata: deserializeMetadata(parsedOutput),
4641
4736
  ...deserialized,
4642
4737
  });
4643
- return smithy_client_1.decorateServiceException(exception, body);
4738
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4644
4739
  };
4645
4740
  const deserializeAws_json1_1MaxNumberOfOrganizationConformancePacksExceededExceptionResponse = async (parsedOutput, context) => {
4646
4741
  const body = parsedOutput.body;
@@ -4649,7 +4744,7 @@ const deserializeAws_json1_1MaxNumberOfOrganizationConformancePacksExceededExcep
4649
4744
  $metadata: deserializeMetadata(parsedOutput),
4650
4745
  ...deserialized,
4651
4746
  });
4652
- return smithy_client_1.decorateServiceException(exception, body);
4747
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4653
4748
  };
4654
4749
  const deserializeAws_json1_1MaxNumberOfRetentionConfigurationsExceededExceptionResponse = async (parsedOutput, context) => {
4655
4750
  const body = parsedOutput.body;
@@ -4658,7 +4753,7 @@ const deserializeAws_json1_1MaxNumberOfRetentionConfigurationsExceededExceptionR
4658
4753
  $metadata: deserializeMetadata(parsedOutput),
4659
4754
  ...deserialized,
4660
4755
  });
4661
- return smithy_client_1.decorateServiceException(exception, body);
4756
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4662
4757
  };
4663
4758
  const deserializeAws_json1_1NoAvailableConfigurationRecorderExceptionResponse = async (parsedOutput, context) => {
4664
4759
  const body = parsedOutput.body;
@@ -4667,7 +4762,7 @@ const deserializeAws_json1_1NoAvailableConfigurationRecorderExceptionResponse =
4667
4762
  $metadata: deserializeMetadata(parsedOutput),
4668
4763
  ...deserialized,
4669
4764
  });
4670
- return smithy_client_1.decorateServiceException(exception, body);
4765
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4671
4766
  };
4672
4767
  const deserializeAws_json1_1NoAvailableDeliveryChannelExceptionResponse = async (parsedOutput, context) => {
4673
4768
  const body = parsedOutput.body;
@@ -4676,7 +4771,7 @@ const deserializeAws_json1_1NoAvailableDeliveryChannelExceptionResponse = async
4676
4771
  $metadata: deserializeMetadata(parsedOutput),
4677
4772
  ...deserialized,
4678
4773
  });
4679
- return smithy_client_1.decorateServiceException(exception, body);
4774
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4680
4775
  };
4681
4776
  const deserializeAws_json1_1NoAvailableOrganizationExceptionResponse = async (parsedOutput, context) => {
4682
4777
  const body = parsedOutput.body;
@@ -4685,7 +4780,7 @@ const deserializeAws_json1_1NoAvailableOrganizationExceptionResponse = async (pa
4685
4780
  $metadata: deserializeMetadata(parsedOutput),
4686
4781
  ...deserialized,
4687
4782
  });
4688
- return smithy_client_1.decorateServiceException(exception, body);
4783
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4689
4784
  };
4690
4785
  const deserializeAws_json1_1NoRunningConfigurationRecorderExceptionResponse = async (parsedOutput, context) => {
4691
4786
  const body = parsedOutput.body;
@@ -4694,7 +4789,7 @@ const deserializeAws_json1_1NoRunningConfigurationRecorderExceptionResponse = as
4694
4789
  $metadata: deserializeMetadata(parsedOutput),
4695
4790
  ...deserialized,
4696
4791
  });
4697
- return smithy_client_1.decorateServiceException(exception, body);
4792
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4698
4793
  };
4699
4794
  const deserializeAws_json1_1NoSuchBucketExceptionResponse = async (parsedOutput, context) => {
4700
4795
  const body = parsedOutput.body;
@@ -4703,7 +4798,7 @@ const deserializeAws_json1_1NoSuchBucketExceptionResponse = async (parsedOutput,
4703
4798
  $metadata: deserializeMetadata(parsedOutput),
4704
4799
  ...deserialized,
4705
4800
  });
4706
- return smithy_client_1.decorateServiceException(exception, body);
4801
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4707
4802
  };
4708
4803
  const deserializeAws_json1_1NoSuchConfigRuleExceptionResponse = async (parsedOutput, context) => {
4709
4804
  const body = parsedOutput.body;
@@ -4712,7 +4807,7 @@ const deserializeAws_json1_1NoSuchConfigRuleExceptionResponse = async (parsedOut
4712
4807
  $metadata: deserializeMetadata(parsedOutput),
4713
4808
  ...deserialized,
4714
4809
  });
4715
- return smithy_client_1.decorateServiceException(exception, body);
4810
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4716
4811
  };
4717
4812
  const deserializeAws_json1_1NoSuchConfigRuleInConformancePackExceptionResponse = async (parsedOutput, context) => {
4718
4813
  const body = parsedOutput.body;
@@ -4721,7 +4816,7 @@ const deserializeAws_json1_1NoSuchConfigRuleInConformancePackExceptionResponse =
4721
4816
  $metadata: deserializeMetadata(parsedOutput),
4722
4817
  ...deserialized,
4723
4818
  });
4724
- return smithy_client_1.decorateServiceException(exception, body);
4819
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4725
4820
  };
4726
4821
  const deserializeAws_json1_1NoSuchConfigurationAggregatorExceptionResponse = async (parsedOutput, context) => {
4727
4822
  const body = parsedOutput.body;
@@ -4730,7 +4825,7 @@ const deserializeAws_json1_1NoSuchConfigurationAggregatorExceptionResponse = asy
4730
4825
  $metadata: deserializeMetadata(parsedOutput),
4731
4826
  ...deserialized,
4732
4827
  });
4733
- return smithy_client_1.decorateServiceException(exception, body);
4828
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4734
4829
  };
4735
4830
  const deserializeAws_json1_1NoSuchConfigurationRecorderExceptionResponse = async (parsedOutput, context) => {
4736
4831
  const body = parsedOutput.body;
@@ -4739,7 +4834,7 @@ const deserializeAws_json1_1NoSuchConfigurationRecorderExceptionResponse = async
4739
4834
  $metadata: deserializeMetadata(parsedOutput),
4740
4835
  ...deserialized,
4741
4836
  });
4742
- return smithy_client_1.decorateServiceException(exception, body);
4837
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4743
4838
  };
4744
4839
  const deserializeAws_json1_1NoSuchConformancePackExceptionResponse = async (parsedOutput, context) => {
4745
4840
  const body = parsedOutput.body;
@@ -4748,7 +4843,7 @@ const deserializeAws_json1_1NoSuchConformancePackExceptionResponse = async (pars
4748
4843
  $metadata: deserializeMetadata(parsedOutput),
4749
4844
  ...deserialized,
4750
4845
  });
4751
- return smithy_client_1.decorateServiceException(exception, body);
4846
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4752
4847
  };
4753
4848
  const deserializeAws_json1_1NoSuchDeliveryChannelExceptionResponse = async (parsedOutput, context) => {
4754
4849
  const body = parsedOutput.body;
@@ -4757,7 +4852,7 @@ const deserializeAws_json1_1NoSuchDeliveryChannelExceptionResponse = async (pars
4757
4852
  $metadata: deserializeMetadata(parsedOutput),
4758
4853
  ...deserialized,
4759
4854
  });
4760
- return smithy_client_1.decorateServiceException(exception, body);
4855
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4761
4856
  };
4762
4857
  const deserializeAws_json1_1NoSuchOrganizationConfigRuleExceptionResponse = async (parsedOutput, context) => {
4763
4858
  const body = parsedOutput.body;
@@ -4766,7 +4861,7 @@ const deserializeAws_json1_1NoSuchOrganizationConfigRuleExceptionResponse = asyn
4766
4861
  $metadata: deserializeMetadata(parsedOutput),
4767
4862
  ...deserialized,
4768
4863
  });
4769
- return smithy_client_1.decorateServiceException(exception, body);
4864
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4770
4865
  };
4771
4866
  const deserializeAws_json1_1NoSuchOrganizationConformancePackExceptionResponse = async (parsedOutput, context) => {
4772
4867
  const body = parsedOutput.body;
@@ -4775,7 +4870,7 @@ const deserializeAws_json1_1NoSuchOrganizationConformancePackExceptionResponse =
4775
4870
  $metadata: deserializeMetadata(parsedOutput),
4776
4871
  ...deserialized,
4777
4872
  });
4778
- return smithy_client_1.decorateServiceException(exception, body);
4873
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4779
4874
  };
4780
4875
  const deserializeAws_json1_1NoSuchRemediationConfigurationExceptionResponse = async (parsedOutput, context) => {
4781
4876
  const body = parsedOutput.body;
@@ -4784,7 +4879,7 @@ const deserializeAws_json1_1NoSuchRemediationConfigurationExceptionResponse = as
4784
4879
  $metadata: deserializeMetadata(parsedOutput),
4785
4880
  ...deserialized,
4786
4881
  });
4787
- return smithy_client_1.decorateServiceException(exception, body);
4882
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4788
4883
  };
4789
4884
  const deserializeAws_json1_1NoSuchRemediationExceptionExceptionResponse = async (parsedOutput, context) => {
4790
4885
  const body = parsedOutput.body;
@@ -4793,7 +4888,7 @@ const deserializeAws_json1_1NoSuchRemediationExceptionExceptionResponse = async
4793
4888
  $metadata: deserializeMetadata(parsedOutput),
4794
4889
  ...deserialized,
4795
4890
  });
4796
- return smithy_client_1.decorateServiceException(exception, body);
4891
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4797
4892
  };
4798
4893
  const deserializeAws_json1_1NoSuchRetentionConfigurationExceptionResponse = async (parsedOutput, context) => {
4799
4894
  const body = parsedOutput.body;
@@ -4802,7 +4897,7 @@ const deserializeAws_json1_1NoSuchRetentionConfigurationExceptionResponse = asyn
4802
4897
  $metadata: deserializeMetadata(parsedOutput),
4803
4898
  ...deserialized,
4804
4899
  });
4805
- return smithy_client_1.decorateServiceException(exception, body);
4900
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4806
4901
  };
4807
4902
  const deserializeAws_json1_1OrganizationAccessDeniedExceptionResponse = async (parsedOutput, context) => {
4808
4903
  const body = parsedOutput.body;
@@ -4811,7 +4906,7 @@ const deserializeAws_json1_1OrganizationAccessDeniedExceptionResponse = async (p
4811
4906
  $metadata: deserializeMetadata(parsedOutput),
4812
4907
  ...deserialized,
4813
4908
  });
4814
- return smithy_client_1.decorateServiceException(exception, body);
4909
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4815
4910
  };
4816
4911
  const deserializeAws_json1_1OrganizationAllFeaturesNotEnabledExceptionResponse = async (parsedOutput, context) => {
4817
4912
  const body = parsedOutput.body;
@@ -4820,7 +4915,7 @@ const deserializeAws_json1_1OrganizationAllFeaturesNotEnabledExceptionResponse =
4820
4915
  $metadata: deserializeMetadata(parsedOutput),
4821
4916
  ...deserialized,
4822
4917
  });
4823
- return smithy_client_1.decorateServiceException(exception, body);
4918
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4824
4919
  };
4825
4920
  const deserializeAws_json1_1OrganizationConformancePackTemplateValidationExceptionResponse = async (parsedOutput, context) => {
4826
4921
  const body = parsedOutput.body;
@@ -4829,7 +4924,7 @@ const deserializeAws_json1_1OrganizationConformancePackTemplateValidationExcepti
4829
4924
  $metadata: deserializeMetadata(parsedOutput),
4830
4925
  ...deserialized,
4831
4926
  });
4832
- return smithy_client_1.decorateServiceException(exception, body);
4927
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4833
4928
  };
4834
4929
  const deserializeAws_json1_1OversizedConfigurationItemExceptionResponse = async (parsedOutput, context) => {
4835
4930
  const body = parsedOutput.body;
@@ -4838,7 +4933,7 @@ const deserializeAws_json1_1OversizedConfigurationItemExceptionResponse = async
4838
4933
  $metadata: deserializeMetadata(parsedOutput),
4839
4934
  ...deserialized,
4840
4935
  });
4841
- return smithy_client_1.decorateServiceException(exception, body);
4936
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4842
4937
  };
4843
4938
  const deserializeAws_json1_1RemediationInProgressExceptionResponse = async (parsedOutput, context) => {
4844
4939
  const body = parsedOutput.body;
@@ -4847,7 +4942,7 @@ const deserializeAws_json1_1RemediationInProgressExceptionResponse = async (pars
4847
4942
  $metadata: deserializeMetadata(parsedOutput),
4848
4943
  ...deserialized,
4849
4944
  });
4850
- return smithy_client_1.decorateServiceException(exception, body);
4945
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4851
4946
  };
4852
4947
  const deserializeAws_json1_1ResourceConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
4853
4948
  const body = parsedOutput.body;
@@ -4856,7 +4951,7 @@ const deserializeAws_json1_1ResourceConcurrentModificationExceptionResponse = as
4856
4951
  $metadata: deserializeMetadata(parsedOutput),
4857
4952
  ...deserialized,
4858
4953
  });
4859
- return smithy_client_1.decorateServiceException(exception, body);
4954
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4860
4955
  };
4861
4956
  const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
4862
4957
  const body = parsedOutput.body;
@@ -4865,7 +4960,7 @@ const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput
4865
4960
  $metadata: deserializeMetadata(parsedOutput),
4866
4961
  ...deserialized,
4867
4962
  });
4868
- return smithy_client_1.decorateServiceException(exception, body);
4963
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4869
4964
  };
4870
4965
  const deserializeAws_json1_1ResourceNotDiscoveredExceptionResponse = async (parsedOutput, context) => {
4871
4966
  const body = parsedOutput.body;
@@ -4874,7 +4969,7 @@ const deserializeAws_json1_1ResourceNotDiscoveredExceptionResponse = async (pars
4874
4969
  $metadata: deserializeMetadata(parsedOutput),
4875
4970
  ...deserialized,
4876
4971
  });
4877
- return smithy_client_1.decorateServiceException(exception, body);
4972
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4878
4973
  };
4879
4974
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
4880
4975
  const body = parsedOutput.body;
@@ -4883,7 +4978,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
4883
4978
  $metadata: deserializeMetadata(parsedOutput),
4884
4979
  ...deserialized,
4885
4980
  });
4886
- return smithy_client_1.decorateServiceException(exception, body);
4981
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4887
4982
  };
4888
4983
  const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
4889
4984
  const body = parsedOutput.body;
@@ -4892,7 +4987,7 @@ const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput,
4892
4987
  $metadata: deserializeMetadata(parsedOutput),
4893
4988
  ...deserialized,
4894
4989
  });
4895
- return smithy_client_1.decorateServiceException(exception, body);
4990
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4896
4991
  };
4897
4992
  const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
4898
4993
  const body = parsedOutput.body;
@@ -4901,7 +4996,7 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
4901
4996
  $metadata: deserializeMetadata(parsedOutput),
4902
4997
  ...deserialized,
4903
4998
  });
4904
- return smithy_client_1.decorateServiceException(exception, body);
4999
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4905
5000
  };
4906
5001
  const serializeAws_json1_1AccountAggregationSource = (input, context) => {
4907
5002
  return {
@@ -5180,6 +5275,24 @@ const serializeAws_json1_1ConformancePackNamesToSummarizeList = (input, context)
5180
5275
  return entry;
5181
5276
  });
5182
5277
  };
5278
+ const serializeAws_json1_1CustomPolicyDetails = (input, context) => {
5279
+ return {
5280
+ ...(input.EnableDebugLogDelivery !== undefined &&
5281
+ input.EnableDebugLogDelivery !== null && { EnableDebugLogDelivery: input.EnableDebugLogDelivery }),
5282
+ ...(input.PolicyRuntime !== undefined && input.PolicyRuntime !== null && { PolicyRuntime: input.PolicyRuntime }),
5283
+ ...(input.PolicyText !== undefined && input.PolicyText !== null && { PolicyText: input.PolicyText }),
5284
+ };
5285
+ };
5286
+ const serializeAws_json1_1DebugLogDeliveryAccounts = (input, context) => {
5287
+ return input
5288
+ .filter((e) => e != null)
5289
+ .map((entry) => {
5290
+ if (entry === null) {
5291
+ return null;
5292
+ }
5293
+ return entry;
5294
+ });
5295
+ };
5183
5296
  const serializeAws_json1_1DeleteAggregationAuthorizationRequest = (input, context) => {
5184
5297
  return {
5185
5298
  ...(input.AuthorizedAccountId !== undefined &&
@@ -5718,6 +5831,12 @@ const serializeAws_json1_1GetConformancePackComplianceSummaryRequest = (input, c
5718
5831
  ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
5719
5832
  };
5720
5833
  };
5834
+ const serializeAws_json1_1GetCustomRulePolicyRequest = (input, context) => {
5835
+ return {
5836
+ ...(input.ConfigRuleName !== undefined &&
5837
+ input.ConfigRuleName !== null && { ConfigRuleName: input.ConfigRuleName }),
5838
+ };
5839
+ };
5721
5840
  const serializeAws_json1_1GetDiscoveredResourceCountsRequest = (input, context) => {
5722
5841
  return {
5723
5842
  ...(input.limit !== undefined && input.limit !== null && { limit: input.limit }),
@@ -5752,6 +5871,12 @@ const serializeAws_json1_1GetOrganizationConformancePackDetailedStatusRequest =
5752
5871
  }),
5753
5872
  };
5754
5873
  };
5874
+ const serializeAws_json1_1GetOrganizationCustomRulePolicyRequest = (input, context) => {
5875
+ return {
5876
+ ...(input.OrganizationConfigRuleName !== undefined &&
5877
+ input.OrganizationConfigRuleName !== null && { OrganizationConfigRuleName: input.OrganizationConfigRuleName }),
5878
+ };
5879
+ };
5755
5880
  const serializeAws_json1_1GetResourceConfigHistoryRequest = (input, context) => {
5756
5881
  return {
5757
5882
  ...(input.chronologicalOrder !== undefined &&
@@ -5825,6 +5950,16 @@ const serializeAws_json1_1OrganizationConfigRuleNames = (input, context) => {
5825
5950
  return entry;
5826
5951
  });
5827
5952
  };
5953
+ const serializeAws_json1_1OrganizationConfigRuleTriggerTypeNoSNs = (input, context) => {
5954
+ return input
5955
+ .filter((e) => e != null)
5956
+ .map((entry) => {
5957
+ if (entry === null) {
5958
+ return null;
5959
+ }
5960
+ return entry;
5961
+ });
5962
+ };
5828
5963
  const serializeAws_json1_1OrganizationConfigRuleTriggerTypes = (input, context) => {
5829
5964
  return input
5830
5965
  .filter((e) => e != null)
@@ -5845,6 +5980,33 @@ const serializeAws_json1_1OrganizationConformancePackNames = (input, context) =>
5845
5980
  return entry;
5846
5981
  });
5847
5982
  };
5983
+ const serializeAws_json1_1OrganizationCustomPolicyRuleMetadata = (input, context) => {
5984
+ return {
5985
+ ...(input.DebugLogDeliveryAccounts !== undefined &&
5986
+ input.DebugLogDeliveryAccounts !== null && {
5987
+ DebugLogDeliveryAccounts: serializeAws_json1_1DebugLogDeliveryAccounts(input.DebugLogDeliveryAccounts, context),
5988
+ }),
5989
+ ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
5990
+ ...(input.InputParameters !== undefined &&
5991
+ input.InputParameters !== null && { InputParameters: input.InputParameters }),
5992
+ ...(input.MaximumExecutionFrequency !== undefined &&
5993
+ input.MaximumExecutionFrequency !== null && { MaximumExecutionFrequency: input.MaximumExecutionFrequency }),
5994
+ ...(input.OrganizationConfigRuleTriggerTypes !== undefined &&
5995
+ input.OrganizationConfigRuleTriggerTypes !== null && {
5996
+ OrganizationConfigRuleTriggerTypes: serializeAws_json1_1OrganizationConfigRuleTriggerTypeNoSNs(input.OrganizationConfigRuleTriggerTypes, context),
5997
+ }),
5998
+ ...(input.PolicyRuntime !== undefined && input.PolicyRuntime !== null && { PolicyRuntime: input.PolicyRuntime }),
5999
+ ...(input.PolicyText !== undefined && input.PolicyText !== null && { PolicyText: input.PolicyText }),
6000
+ ...(input.ResourceIdScope !== undefined &&
6001
+ input.ResourceIdScope !== null && { ResourceIdScope: input.ResourceIdScope }),
6002
+ ...(input.ResourceTypesScope !== undefined &&
6003
+ input.ResourceTypesScope !== null && {
6004
+ ResourceTypesScope: serializeAws_json1_1ResourceTypesScope(input.ResourceTypesScope, context),
6005
+ }),
6006
+ ...(input.TagKeyScope !== undefined && input.TagKeyScope !== null && { TagKeyScope: input.TagKeyScope }),
6007
+ ...(input.TagValueScope !== undefined && input.TagValueScope !== null && { TagValueScope: input.TagValueScope }),
6008
+ };
6009
+ };
5848
6010
  const serializeAws_json1_1OrganizationCustomRuleMetadata = (input, context) => {
5849
6011
  return {
5850
6012
  ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
@@ -5982,6 +6144,10 @@ const serializeAws_json1_1PutOrganizationConfigRuleRequest = (input, context) =>
5982
6144
  }),
5983
6145
  ...(input.OrganizationConfigRuleName !== undefined &&
5984
6146
  input.OrganizationConfigRuleName !== null && { OrganizationConfigRuleName: input.OrganizationConfigRuleName }),
6147
+ ...(input.OrganizationCustomPolicyRuleMetadata !== undefined &&
6148
+ input.OrganizationCustomPolicyRuleMetadata !== null && {
6149
+ OrganizationCustomPolicyRuleMetadata: serializeAws_json1_1OrganizationCustomPolicyRuleMetadata(input.OrganizationCustomPolicyRuleMetadata, context),
6150
+ }),
5985
6151
  ...(input.OrganizationCustomRuleMetadata !== undefined &&
5986
6152
  input.OrganizationCustomRuleMetadata !== null && {
5987
6153
  OrganizationCustomRuleMetadata: serializeAws_json1_1OrganizationCustomRuleMetadata(input.OrganizationCustomRuleMetadata, context),
@@ -6280,6 +6446,10 @@ const serializeAws_json1_1SelectResourceConfigRequest = (input, context) => {
6280
6446
  };
6281
6447
  const serializeAws_json1_1Source = (input, context) => {
6282
6448
  return {
6449
+ ...(input.CustomPolicyDetails !== undefined &&
6450
+ input.CustomPolicyDetails !== null && {
6451
+ CustomPolicyDetails: serializeAws_json1_1CustomPolicyDetails(input.CustomPolicyDetails, context),
6452
+ }),
6283
6453
  ...(input.Owner !== undefined && input.Owner !== null && { Owner: input.Owner }),
6284
6454
  ...(input.SourceDetails !== undefined &&
6285
6455
  input.SourceDetails !== null && {
@@ -6442,7 +6612,7 @@ const deserializeAws_json1_1AccountAggregationSource = (output, context) => {
6442
6612
  AccountIds: output.AccountIds !== undefined && output.AccountIds !== null
6443
6613
  ? deserializeAws_json1_1AccountAggregationSourceAccountList(output.AccountIds, context)
6444
6614
  : undefined,
6445
- AllAwsRegions: smithy_client_1.expectBoolean(output.AllAwsRegions),
6615
+ AllAwsRegions: (0, smithy_client_1.expectBoolean)(output.AllAwsRegions),
6446
6616
  AwsRegions: output.AwsRegions !== undefined && output.AwsRegions !== null
6447
6617
  ? deserializeAws_json1_1AggregatorRegionList(output.AwsRegions, context)
6448
6618
  : undefined,
@@ -6455,7 +6625,7 @@ const deserializeAws_json1_1AccountAggregationSourceAccountList = (output, conte
6455
6625
  if (entry === null) {
6456
6626
  return null;
6457
6627
  }
6458
- return smithy_client_1.expectString(entry);
6628
+ return (0, smithy_client_1.expectString)(entry);
6459
6629
  });
6460
6630
  return retVal;
6461
6631
  };
@@ -6472,12 +6642,12 @@ const deserializeAws_json1_1AccountAggregationSourceList = (output, context) =>
6472
6642
  };
6473
6643
  const deserializeAws_json1_1AggregateComplianceByConfigRule = (output, context) => {
6474
6644
  return {
6475
- AccountId: smithy_client_1.expectString(output.AccountId),
6476
- AwsRegion: smithy_client_1.expectString(output.AwsRegion),
6645
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
6646
+ AwsRegion: (0, smithy_client_1.expectString)(output.AwsRegion),
6477
6647
  Compliance: output.Compliance !== undefined && output.Compliance !== null
6478
6648
  ? deserializeAws_json1_1Compliance(output.Compliance, context)
6479
6649
  : undefined,
6480
- ConfigRuleName: smithy_client_1.expectString(output.ConfigRuleName),
6650
+ ConfigRuleName: (0, smithy_client_1.expectString)(output.ConfigRuleName),
6481
6651
  };
6482
6652
  };
6483
6653
  const deserializeAws_json1_1AggregateComplianceByConfigRuleList = (output, context) => {
@@ -6493,12 +6663,12 @@ const deserializeAws_json1_1AggregateComplianceByConfigRuleList = (output, conte
6493
6663
  };
6494
6664
  const deserializeAws_json1_1AggregateComplianceByConformancePack = (output, context) => {
6495
6665
  return {
6496
- AccountId: smithy_client_1.expectString(output.AccountId),
6497
- AwsRegion: smithy_client_1.expectString(output.AwsRegion),
6666
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
6667
+ AwsRegion: (0, smithy_client_1.expectString)(output.AwsRegion),
6498
6668
  Compliance: output.Compliance !== undefined && output.Compliance !== null
6499
6669
  ? deserializeAws_json1_1AggregateConformancePackCompliance(output.Compliance, context)
6500
6670
  : undefined,
6501
- ConformancePackName: smithy_client_1.expectString(output.ConformancePackName),
6671
+ ConformancePackName: (0, smithy_client_1.expectString)(output.ConformancePackName),
6502
6672
  };
6503
6673
  };
6504
6674
  const deserializeAws_json1_1AggregateComplianceByConformancePackList = (output, context) => {
@@ -6517,7 +6687,7 @@ const deserializeAws_json1_1AggregateComplianceCount = (output, context) => {
6517
6687
  ComplianceSummary: output.ComplianceSummary !== undefined && output.ComplianceSummary !== null
6518
6688
  ? deserializeAws_json1_1ComplianceSummary(output.ComplianceSummary, context)
6519
6689
  : undefined,
6520
- GroupName: smithy_client_1.expectString(output.GroupName),
6690
+ GroupName: (0, smithy_client_1.expectString)(output.GroupName),
6521
6691
  };
6522
6692
  };
6523
6693
  const deserializeAws_json1_1AggregateComplianceCountList = (output, context) => {
@@ -6533,16 +6703,16 @@ const deserializeAws_json1_1AggregateComplianceCountList = (output, context) =>
6533
6703
  };
6534
6704
  const deserializeAws_json1_1AggregateConformancePackCompliance = (output, context) => {
6535
6705
  return {
6536
- ComplianceType: smithy_client_1.expectString(output.ComplianceType),
6537
- CompliantRuleCount: smithy_client_1.expectInt32(output.CompliantRuleCount),
6538
- NonCompliantRuleCount: smithy_client_1.expectInt32(output.NonCompliantRuleCount),
6539
- TotalRuleCount: smithy_client_1.expectInt32(output.TotalRuleCount),
6706
+ ComplianceType: (0, smithy_client_1.expectString)(output.ComplianceType),
6707
+ CompliantRuleCount: (0, smithy_client_1.expectInt32)(output.CompliantRuleCount),
6708
+ NonCompliantRuleCount: (0, smithy_client_1.expectInt32)(output.NonCompliantRuleCount),
6709
+ TotalRuleCount: (0, smithy_client_1.expectInt32)(output.TotalRuleCount),
6540
6710
  };
6541
6711
  };
6542
6712
  const deserializeAws_json1_1AggregateConformancePackComplianceCount = (output, context) => {
6543
6713
  return {
6544
- CompliantConformancePackCount: smithy_client_1.expectInt32(output.CompliantConformancePackCount),
6545
- NonCompliantConformancePackCount: smithy_client_1.expectInt32(output.NonCompliantConformancePackCount),
6714
+ CompliantConformancePackCount: (0, smithy_client_1.expectInt32)(output.CompliantConformancePackCount),
6715
+ NonCompliantConformancePackCount: (0, smithy_client_1.expectInt32)(output.NonCompliantConformancePackCount),
6546
6716
  };
6547
6717
  };
6548
6718
  const deserializeAws_json1_1AggregateConformancePackComplianceSummary = (output, context) => {
@@ -6550,7 +6720,7 @@ const deserializeAws_json1_1AggregateConformancePackComplianceSummary = (output,
6550
6720
  ComplianceSummary: output.ComplianceSummary !== undefined && output.ComplianceSummary !== null
6551
6721
  ? deserializeAws_json1_1AggregateConformancePackComplianceCount(output.ComplianceSummary, context)
6552
6722
  : undefined,
6553
- GroupName: smithy_client_1.expectString(output.GroupName),
6723
+ GroupName: (0, smithy_client_1.expectString)(output.GroupName),
6554
6724
  };
6555
6725
  };
6556
6726
  const deserializeAws_json1_1AggregateConformancePackComplianceSummaryList = (output, context) => {
@@ -6566,15 +6736,15 @@ const deserializeAws_json1_1AggregateConformancePackComplianceSummaryList = (out
6566
6736
  };
6567
6737
  const deserializeAws_json1_1AggregatedSourceStatus = (output, context) => {
6568
6738
  return {
6569
- AwsRegion: smithy_client_1.expectString(output.AwsRegion),
6570
- LastErrorCode: smithy_client_1.expectString(output.LastErrorCode),
6571
- LastErrorMessage: smithy_client_1.expectString(output.LastErrorMessage),
6572
- LastUpdateStatus: smithy_client_1.expectString(output.LastUpdateStatus),
6739
+ AwsRegion: (0, smithy_client_1.expectString)(output.AwsRegion),
6740
+ LastErrorCode: (0, smithy_client_1.expectString)(output.LastErrorCode),
6741
+ LastErrorMessage: (0, smithy_client_1.expectString)(output.LastErrorMessage),
6742
+ LastUpdateStatus: (0, smithy_client_1.expectString)(output.LastUpdateStatus),
6573
6743
  LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
6574
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTime)))
6744
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
6575
6745
  : undefined,
6576
- SourceId: smithy_client_1.expectString(output.SourceId),
6577
- SourceType: smithy_client_1.expectString(output.SourceType),
6746
+ SourceId: (0, smithy_client_1.expectString)(output.SourceId),
6747
+ SourceType: (0, smithy_client_1.expectString)(output.SourceType),
6578
6748
  };
6579
6749
  };
6580
6750
  const deserializeAws_json1_1AggregatedSourceStatusList = (output, context) => {
@@ -6590,18 +6760,18 @@ const deserializeAws_json1_1AggregatedSourceStatusList = (output, context) => {
6590
6760
  };
6591
6761
  const deserializeAws_json1_1AggregateEvaluationResult = (output, context) => {
6592
6762
  return {
6593
- AccountId: smithy_client_1.expectString(output.AccountId),
6594
- Annotation: smithy_client_1.expectString(output.Annotation),
6595
- AwsRegion: smithy_client_1.expectString(output.AwsRegion),
6596
- ComplianceType: smithy_client_1.expectString(output.ComplianceType),
6763
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
6764
+ Annotation: (0, smithy_client_1.expectString)(output.Annotation),
6765
+ AwsRegion: (0, smithy_client_1.expectString)(output.AwsRegion),
6766
+ ComplianceType: (0, smithy_client_1.expectString)(output.ComplianceType),
6597
6767
  ConfigRuleInvokedTime: output.ConfigRuleInvokedTime !== undefined && output.ConfigRuleInvokedTime !== null
6598
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ConfigRuleInvokedTime)))
6768
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ConfigRuleInvokedTime)))
6599
6769
  : undefined,
6600
6770
  EvaluationResultIdentifier: output.EvaluationResultIdentifier !== undefined && output.EvaluationResultIdentifier !== null
6601
6771
  ? deserializeAws_json1_1EvaluationResultIdentifier(output.EvaluationResultIdentifier, context)
6602
6772
  : undefined,
6603
6773
  ResultRecordedTime: output.ResultRecordedTime !== undefined && output.ResultRecordedTime !== null
6604
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ResultRecordedTime)))
6774
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ResultRecordedTime)))
6605
6775
  : undefined,
6606
6776
  };
6607
6777
  };
@@ -6618,20 +6788,20 @@ const deserializeAws_json1_1AggregateEvaluationResultList = (output, context) =>
6618
6788
  };
6619
6789
  const deserializeAws_json1_1AggregateResourceIdentifier = (output, context) => {
6620
6790
  return {
6621
- ResourceId: smithy_client_1.expectString(output.ResourceId),
6622
- ResourceName: smithy_client_1.expectString(output.ResourceName),
6623
- ResourceType: smithy_client_1.expectString(output.ResourceType),
6624
- SourceAccountId: smithy_client_1.expectString(output.SourceAccountId),
6625
- SourceRegion: smithy_client_1.expectString(output.SourceRegion),
6791
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
6792
+ ResourceName: (0, smithy_client_1.expectString)(output.ResourceName),
6793
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
6794
+ SourceAccountId: (0, smithy_client_1.expectString)(output.SourceAccountId),
6795
+ SourceRegion: (0, smithy_client_1.expectString)(output.SourceRegion),
6626
6796
  };
6627
6797
  };
6628
6798
  const deserializeAws_json1_1AggregationAuthorization = (output, context) => {
6629
6799
  return {
6630
- AggregationAuthorizationArn: smithy_client_1.expectString(output.AggregationAuthorizationArn),
6631
- AuthorizedAccountId: smithy_client_1.expectString(output.AuthorizedAccountId),
6632
- AuthorizedAwsRegion: smithy_client_1.expectString(output.AuthorizedAwsRegion),
6800
+ AggregationAuthorizationArn: (0, smithy_client_1.expectString)(output.AggregationAuthorizationArn),
6801
+ AuthorizedAccountId: (0, smithy_client_1.expectString)(output.AuthorizedAccountId),
6802
+ AuthorizedAwsRegion: (0, smithy_client_1.expectString)(output.AuthorizedAwsRegion),
6633
6803
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
6634
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
6804
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
6635
6805
  : undefined,
6636
6806
  };
6637
6807
  };
@@ -6653,32 +6823,32 @@ const deserializeAws_json1_1AggregatorRegionList = (output, context) => {
6653
6823
  if (entry === null) {
6654
6824
  return null;
6655
6825
  }
6656
- return smithy_client_1.expectString(entry);
6826
+ return (0, smithy_client_1.expectString)(entry);
6657
6827
  });
6658
6828
  return retVal;
6659
6829
  };
6660
6830
  const deserializeAws_json1_1BaseConfigurationItem = (output, context) => {
6661
6831
  return {
6662
- accountId: smithy_client_1.expectString(output.accountId),
6663
- arn: smithy_client_1.expectString(output.arn),
6664
- availabilityZone: smithy_client_1.expectString(output.availabilityZone),
6665
- awsRegion: smithy_client_1.expectString(output.awsRegion),
6666
- configuration: smithy_client_1.expectString(output.configuration),
6832
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
6833
+ arn: (0, smithy_client_1.expectString)(output.arn),
6834
+ availabilityZone: (0, smithy_client_1.expectString)(output.availabilityZone),
6835
+ awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
6836
+ configuration: (0, smithy_client_1.expectString)(output.configuration),
6667
6837
  configurationItemCaptureTime: output.configurationItemCaptureTime !== undefined && output.configurationItemCaptureTime !== null
6668
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.configurationItemCaptureTime)))
6838
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.configurationItemCaptureTime)))
6669
6839
  : undefined,
6670
- configurationItemStatus: smithy_client_1.expectString(output.configurationItemStatus),
6671
- configurationStateId: smithy_client_1.expectString(output.configurationStateId),
6840
+ configurationItemStatus: (0, smithy_client_1.expectString)(output.configurationItemStatus),
6841
+ configurationStateId: (0, smithy_client_1.expectString)(output.configurationStateId),
6672
6842
  resourceCreationTime: output.resourceCreationTime !== undefined && output.resourceCreationTime !== null
6673
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.resourceCreationTime)))
6843
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.resourceCreationTime)))
6674
6844
  : undefined,
6675
- resourceId: smithy_client_1.expectString(output.resourceId),
6676
- resourceName: smithy_client_1.expectString(output.resourceName),
6677
- resourceType: smithy_client_1.expectString(output.resourceType),
6845
+ resourceId: (0, smithy_client_1.expectString)(output.resourceId),
6846
+ resourceName: (0, smithy_client_1.expectString)(output.resourceName),
6847
+ resourceType: (0, smithy_client_1.expectString)(output.resourceType),
6678
6848
  supplementaryConfiguration: output.supplementaryConfiguration !== undefined && output.supplementaryConfiguration !== null
6679
6849
  ? deserializeAws_json1_1SupplementaryConfiguration(output.supplementaryConfiguration, context)
6680
6850
  : undefined,
6681
- version: smithy_client_1.expectString(output.version),
6851
+ version: (0, smithy_client_1.expectString)(output.version),
6682
6852
  };
6683
6853
  };
6684
6854
  const deserializeAws_json1_1BaseConfigurationItems = (output, context) => {
@@ -6717,7 +6887,7 @@ const deserializeAws_json1_1Compliance = (output, context) => {
6717
6887
  ComplianceContributorCount: output.ComplianceContributorCount !== undefined && output.ComplianceContributorCount !== null
6718
6888
  ? deserializeAws_json1_1ComplianceContributorCount(output.ComplianceContributorCount, context)
6719
6889
  : undefined,
6720
- ComplianceType: smithy_client_1.expectString(output.ComplianceType),
6890
+ ComplianceType: (0, smithy_client_1.expectString)(output.ComplianceType),
6721
6891
  };
6722
6892
  };
6723
6893
  const deserializeAws_json1_1ComplianceByConfigRule = (output, context) => {
@@ -6725,7 +6895,7 @@ const deserializeAws_json1_1ComplianceByConfigRule = (output, context) => {
6725
6895
  Compliance: output.Compliance !== undefined && output.Compliance !== null
6726
6896
  ? deserializeAws_json1_1Compliance(output.Compliance, context)
6727
6897
  : undefined,
6728
- ConfigRuleName: smithy_client_1.expectString(output.ConfigRuleName),
6898
+ ConfigRuleName: (0, smithy_client_1.expectString)(output.ConfigRuleName),
6729
6899
  };
6730
6900
  };
6731
6901
  const deserializeAws_json1_1ComplianceByConfigRules = (output, context) => {
@@ -6744,8 +6914,8 @@ const deserializeAws_json1_1ComplianceByResource = (output, context) => {
6744
6914
  Compliance: output.Compliance !== undefined && output.Compliance !== null
6745
6915
  ? deserializeAws_json1_1Compliance(output.Compliance, context)
6746
6916
  : undefined,
6747
- ResourceId: smithy_client_1.expectString(output.ResourceId),
6748
- ResourceType: smithy_client_1.expectString(output.ResourceType),
6917
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
6918
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
6749
6919
  };
6750
6920
  };
6751
6921
  const deserializeAws_json1_1ComplianceByResources = (output, context) => {
@@ -6761,8 +6931,8 @@ const deserializeAws_json1_1ComplianceByResources = (output, context) => {
6761
6931
  };
6762
6932
  const deserializeAws_json1_1ComplianceContributorCount = (output, context) => {
6763
6933
  return {
6764
- CapExceeded: smithy_client_1.expectBoolean(output.CapExceeded),
6765
- CappedCount: smithy_client_1.expectInt32(output.CappedCount),
6934
+ CapExceeded: (0, smithy_client_1.expectBoolean)(output.CapExceeded),
6935
+ CappedCount: (0, smithy_client_1.expectInt32)(output.CappedCount),
6766
6936
  };
6767
6937
  };
6768
6938
  const deserializeAws_json1_1ComplianceResourceTypes = (output, context) => {
@@ -6772,7 +6942,7 @@ const deserializeAws_json1_1ComplianceResourceTypes = (output, context) => {
6772
6942
  if (entry === null) {
6773
6943
  return null;
6774
6944
  }
6775
- return smithy_client_1.expectString(entry);
6945
+ return (0, smithy_client_1.expectString)(entry);
6776
6946
  });
6777
6947
  return retVal;
6778
6948
  };
@@ -6790,7 +6960,7 @@ const deserializeAws_json1_1ComplianceSummariesByResourceType = (output, context
6790
6960
  const deserializeAws_json1_1ComplianceSummary = (output, context) => {
6791
6961
  return {
6792
6962
  ComplianceSummaryTimestamp: output.ComplianceSummaryTimestamp !== undefined && output.ComplianceSummaryTimestamp !== null
6793
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ComplianceSummaryTimestamp)))
6963
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ComplianceSummaryTimestamp)))
6794
6964
  : undefined,
6795
6965
  CompliantResourceCount: output.CompliantResourceCount !== undefined && output.CompliantResourceCount !== null
6796
6966
  ? deserializeAws_json1_1ComplianceContributorCount(output.CompliantResourceCount, context)
@@ -6805,35 +6975,35 @@ const deserializeAws_json1_1ComplianceSummaryByResourceType = (output, context)
6805
6975
  ComplianceSummary: output.ComplianceSummary !== undefined && output.ComplianceSummary !== null
6806
6976
  ? deserializeAws_json1_1ComplianceSummary(output.ComplianceSummary, context)
6807
6977
  : undefined,
6808
- ResourceType: smithy_client_1.expectString(output.ResourceType),
6978
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
6809
6979
  };
6810
6980
  };
6811
6981
  const deserializeAws_json1_1ConfigExportDeliveryInfo = (output, context) => {
6812
6982
  return {
6813
6983
  lastAttemptTime: output.lastAttemptTime !== undefined && output.lastAttemptTime !== null
6814
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastAttemptTime)))
6984
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastAttemptTime)))
6815
6985
  : undefined,
6816
- lastErrorCode: smithy_client_1.expectString(output.lastErrorCode),
6817
- lastErrorMessage: smithy_client_1.expectString(output.lastErrorMessage),
6818
- lastStatus: smithy_client_1.expectString(output.lastStatus),
6986
+ lastErrorCode: (0, smithy_client_1.expectString)(output.lastErrorCode),
6987
+ lastErrorMessage: (0, smithy_client_1.expectString)(output.lastErrorMessage),
6988
+ lastStatus: (0, smithy_client_1.expectString)(output.lastStatus),
6819
6989
  lastSuccessfulTime: output.lastSuccessfulTime !== undefined && output.lastSuccessfulTime !== null
6820
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastSuccessfulTime)))
6990
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastSuccessfulTime)))
6821
6991
  : undefined,
6822
6992
  nextDeliveryTime: output.nextDeliveryTime !== undefined && output.nextDeliveryTime !== null
6823
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.nextDeliveryTime)))
6993
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.nextDeliveryTime)))
6824
6994
  : undefined,
6825
6995
  };
6826
6996
  };
6827
6997
  const deserializeAws_json1_1ConfigRule = (output, context) => {
6828
6998
  return {
6829
- ConfigRuleArn: smithy_client_1.expectString(output.ConfigRuleArn),
6830
- ConfigRuleId: smithy_client_1.expectString(output.ConfigRuleId),
6831
- ConfigRuleName: smithy_client_1.expectString(output.ConfigRuleName),
6832
- ConfigRuleState: smithy_client_1.expectString(output.ConfigRuleState),
6833
- CreatedBy: smithy_client_1.expectString(output.CreatedBy),
6834
- Description: smithy_client_1.expectString(output.Description),
6835
- InputParameters: smithy_client_1.expectString(output.InputParameters),
6836
- MaximumExecutionFrequency: smithy_client_1.expectString(output.MaximumExecutionFrequency),
6999
+ ConfigRuleArn: (0, smithy_client_1.expectString)(output.ConfigRuleArn),
7000
+ ConfigRuleId: (0, smithy_client_1.expectString)(output.ConfigRuleId),
7001
+ ConfigRuleName: (0, smithy_client_1.expectString)(output.ConfigRuleName),
7002
+ ConfigRuleState: (0, smithy_client_1.expectString)(output.ConfigRuleState),
7003
+ CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
7004
+ Description: (0, smithy_client_1.expectString)(output.Description),
7005
+ InputParameters: (0, smithy_client_1.expectString)(output.InputParameters),
7006
+ MaximumExecutionFrequency: (0, smithy_client_1.expectString)(output.MaximumExecutionFrequency),
6837
7007
  Scope: output.Scope !== undefined && output.Scope !== null
6838
7008
  ? deserializeAws_json1_1Scope(output.Scope, context)
6839
7009
  : undefined,
@@ -6844,29 +7014,34 @@ const deserializeAws_json1_1ConfigRule = (output, context) => {
6844
7014
  };
6845
7015
  const deserializeAws_json1_1ConfigRuleEvaluationStatus = (output, context) => {
6846
7016
  return {
6847
- ConfigRuleArn: smithy_client_1.expectString(output.ConfigRuleArn),
6848
- ConfigRuleId: smithy_client_1.expectString(output.ConfigRuleId),
6849
- ConfigRuleName: smithy_client_1.expectString(output.ConfigRuleName),
7017
+ ConfigRuleArn: (0, smithy_client_1.expectString)(output.ConfigRuleArn),
7018
+ ConfigRuleId: (0, smithy_client_1.expectString)(output.ConfigRuleId),
7019
+ ConfigRuleName: (0, smithy_client_1.expectString)(output.ConfigRuleName),
6850
7020
  FirstActivatedTime: output.FirstActivatedTime !== undefined && output.FirstActivatedTime !== null
6851
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FirstActivatedTime)))
7021
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.FirstActivatedTime)))
6852
7022
  : undefined,
6853
- FirstEvaluationStarted: smithy_client_1.expectBoolean(output.FirstEvaluationStarted),
7023
+ FirstEvaluationStarted: (0, smithy_client_1.expectBoolean)(output.FirstEvaluationStarted),
6854
7024
  LastDeactivatedTime: output.LastDeactivatedTime !== undefined && output.LastDeactivatedTime !== null
6855
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastDeactivatedTime)))
7025
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastDeactivatedTime)))
7026
+ : undefined,
7027
+ LastDebugLogDeliveryStatus: (0, smithy_client_1.expectString)(output.LastDebugLogDeliveryStatus),
7028
+ LastDebugLogDeliveryStatusReason: (0, smithy_client_1.expectString)(output.LastDebugLogDeliveryStatusReason),
7029
+ LastDebugLogDeliveryTime: output.LastDebugLogDeliveryTime !== undefined && output.LastDebugLogDeliveryTime !== null
7030
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastDebugLogDeliveryTime)))
6856
7031
  : undefined,
6857
- LastErrorCode: smithy_client_1.expectString(output.LastErrorCode),
6858
- LastErrorMessage: smithy_client_1.expectString(output.LastErrorMessage),
7032
+ LastErrorCode: (0, smithy_client_1.expectString)(output.LastErrorCode),
7033
+ LastErrorMessage: (0, smithy_client_1.expectString)(output.LastErrorMessage),
6859
7034
  LastFailedEvaluationTime: output.LastFailedEvaluationTime !== undefined && output.LastFailedEvaluationTime !== null
6860
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastFailedEvaluationTime)))
7035
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastFailedEvaluationTime)))
6861
7036
  : undefined,
6862
7037
  LastFailedInvocationTime: output.LastFailedInvocationTime !== undefined && output.LastFailedInvocationTime !== null
6863
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastFailedInvocationTime)))
7038
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastFailedInvocationTime)))
6864
7039
  : undefined,
6865
7040
  LastSuccessfulEvaluationTime: output.LastSuccessfulEvaluationTime !== undefined && output.LastSuccessfulEvaluationTime !== null
6866
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastSuccessfulEvaluationTime)))
7041
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastSuccessfulEvaluationTime)))
6867
7042
  : undefined,
6868
7043
  LastSuccessfulInvocationTime: output.LastSuccessfulInvocationTime !== undefined && output.LastSuccessfulInvocationTime !== null
6869
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastSuccessfulInvocationTime)))
7044
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastSuccessfulInvocationTime)))
6870
7045
  : undefined,
6871
7046
  };
6872
7047
  };
@@ -6894,16 +7069,16 @@ const deserializeAws_json1_1ConfigRules = (output, context) => {
6894
7069
  };
6895
7070
  const deserializeAws_json1_1ConfigSnapshotDeliveryProperties = (output, context) => {
6896
7071
  return {
6897
- deliveryFrequency: smithy_client_1.expectString(output.deliveryFrequency),
7072
+ deliveryFrequency: (0, smithy_client_1.expectString)(output.deliveryFrequency),
6898
7073
  };
6899
7074
  };
6900
7075
  const deserializeAws_json1_1ConfigStreamDeliveryInfo = (output, context) => {
6901
7076
  return {
6902
- lastErrorCode: smithy_client_1.expectString(output.lastErrorCode),
6903
- lastErrorMessage: smithy_client_1.expectString(output.lastErrorMessage),
6904
- lastStatus: smithy_client_1.expectString(output.lastStatus),
7077
+ lastErrorCode: (0, smithy_client_1.expectString)(output.lastErrorCode),
7078
+ lastErrorMessage: (0, smithy_client_1.expectString)(output.lastErrorMessage),
7079
+ lastStatus: (0, smithy_client_1.expectString)(output.lastStatus),
6905
7080
  lastStatusChangeTime: output.lastStatusChangeTime !== undefined && output.lastStatusChangeTime !== null
6906
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastStatusChangeTime)))
7081
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastStatusChangeTime)))
6907
7082
  : undefined,
6908
7083
  };
6909
7084
  };
@@ -6912,14 +7087,14 @@ const deserializeAws_json1_1ConfigurationAggregator = (output, context) => {
6912
7087
  AccountAggregationSources: output.AccountAggregationSources !== undefined && output.AccountAggregationSources !== null
6913
7088
  ? deserializeAws_json1_1AccountAggregationSourceList(output.AccountAggregationSources, context)
6914
7089
  : undefined,
6915
- ConfigurationAggregatorArn: smithy_client_1.expectString(output.ConfigurationAggregatorArn),
6916
- ConfigurationAggregatorName: smithy_client_1.expectString(output.ConfigurationAggregatorName),
6917
- CreatedBy: smithy_client_1.expectString(output.CreatedBy),
7090
+ ConfigurationAggregatorArn: (0, smithy_client_1.expectString)(output.ConfigurationAggregatorArn),
7091
+ ConfigurationAggregatorName: (0, smithy_client_1.expectString)(output.ConfigurationAggregatorName),
7092
+ CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
6918
7093
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
6919
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
7094
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
6920
7095
  : undefined,
6921
7096
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
6922
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
7097
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
6923
7098
  : undefined,
6924
7099
  OrganizationAggregationSource: output.OrganizationAggregationSource !== undefined && output.OrganizationAggregationSource !== null
6925
7100
  ? deserializeAws_json1_1OrganizationAggregationSource(output.OrganizationAggregationSource, context)
@@ -6939,17 +7114,17 @@ const deserializeAws_json1_1ConfigurationAggregatorList = (output, context) => {
6939
7114
  };
6940
7115
  const deserializeAws_json1_1ConfigurationItem = (output, context) => {
6941
7116
  return {
6942
- accountId: smithy_client_1.expectString(output.accountId),
6943
- arn: smithy_client_1.expectString(output.arn),
6944
- availabilityZone: smithy_client_1.expectString(output.availabilityZone),
6945
- awsRegion: smithy_client_1.expectString(output.awsRegion),
6946
- configuration: smithy_client_1.expectString(output.configuration),
7117
+ accountId: (0, smithy_client_1.expectString)(output.accountId),
7118
+ arn: (0, smithy_client_1.expectString)(output.arn),
7119
+ availabilityZone: (0, smithy_client_1.expectString)(output.availabilityZone),
7120
+ awsRegion: (0, smithy_client_1.expectString)(output.awsRegion),
7121
+ configuration: (0, smithy_client_1.expectString)(output.configuration),
6947
7122
  configurationItemCaptureTime: output.configurationItemCaptureTime !== undefined && output.configurationItemCaptureTime !== null
6948
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.configurationItemCaptureTime)))
7123
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.configurationItemCaptureTime)))
6949
7124
  : undefined,
6950
- configurationItemMD5Hash: smithy_client_1.expectString(output.configurationItemMD5Hash),
6951
- configurationItemStatus: smithy_client_1.expectString(output.configurationItemStatus),
6952
- configurationStateId: smithy_client_1.expectString(output.configurationStateId),
7125
+ configurationItemMD5Hash: (0, smithy_client_1.expectString)(output.configurationItemMD5Hash),
7126
+ configurationItemStatus: (0, smithy_client_1.expectString)(output.configurationItemStatus),
7127
+ configurationStateId: (0, smithy_client_1.expectString)(output.configurationStateId),
6953
7128
  relatedEvents: output.relatedEvents !== undefined && output.relatedEvents !== null
6954
7129
  ? deserializeAws_json1_1RelatedEventList(output.relatedEvents, context)
6955
7130
  : undefined,
@@ -6957,16 +7132,16 @@ const deserializeAws_json1_1ConfigurationItem = (output, context) => {
6957
7132
  ? deserializeAws_json1_1RelationshipList(output.relationships, context)
6958
7133
  : undefined,
6959
7134
  resourceCreationTime: output.resourceCreationTime !== undefined && output.resourceCreationTime !== null
6960
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.resourceCreationTime)))
7135
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.resourceCreationTime)))
6961
7136
  : undefined,
6962
- resourceId: smithy_client_1.expectString(output.resourceId),
6963
- resourceName: smithy_client_1.expectString(output.resourceName),
6964
- resourceType: smithy_client_1.expectString(output.resourceType),
7137
+ resourceId: (0, smithy_client_1.expectString)(output.resourceId),
7138
+ resourceName: (0, smithy_client_1.expectString)(output.resourceName),
7139
+ resourceType: (0, smithy_client_1.expectString)(output.resourceType),
6965
7140
  supplementaryConfiguration: output.supplementaryConfiguration !== undefined && output.supplementaryConfiguration !== null
6966
7141
  ? deserializeAws_json1_1SupplementaryConfiguration(output.supplementaryConfiguration, context)
6967
7142
  : undefined,
6968
7143
  tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
6969
- version: smithy_client_1.expectString(output.version),
7144
+ version: (0, smithy_client_1.expectString)(output.version),
6970
7145
  };
6971
7146
  };
6972
7147
  const deserializeAws_json1_1ConfigurationItemList = (output, context) => {
@@ -6982,11 +7157,11 @@ const deserializeAws_json1_1ConfigurationItemList = (output, context) => {
6982
7157
  };
6983
7158
  const deserializeAws_json1_1ConfigurationRecorder = (output, context) => {
6984
7159
  return {
6985
- name: smithy_client_1.expectString(output.name),
7160
+ name: (0, smithy_client_1.expectString)(output.name),
6986
7161
  recordingGroup: output.recordingGroup !== undefined && output.recordingGroup !== null
6987
7162
  ? deserializeAws_json1_1RecordingGroup(output.recordingGroup, context)
6988
7163
  : undefined,
6989
- roleARN: smithy_client_1.expectString(output.roleARN),
7164
+ roleARN: (0, smithy_client_1.expectString)(output.roleARN),
6990
7165
  };
6991
7166
  };
6992
7167
  const deserializeAws_json1_1ConfigurationRecorderList = (output, context) => {
@@ -7002,20 +7177,20 @@ const deserializeAws_json1_1ConfigurationRecorderList = (output, context) => {
7002
7177
  };
7003
7178
  const deserializeAws_json1_1ConfigurationRecorderStatus = (output, context) => {
7004
7179
  return {
7005
- lastErrorCode: smithy_client_1.expectString(output.lastErrorCode),
7006
- lastErrorMessage: smithy_client_1.expectString(output.lastErrorMessage),
7180
+ lastErrorCode: (0, smithy_client_1.expectString)(output.lastErrorCode),
7181
+ lastErrorMessage: (0, smithy_client_1.expectString)(output.lastErrorMessage),
7007
7182
  lastStartTime: output.lastStartTime !== undefined && output.lastStartTime !== null
7008
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastStartTime)))
7183
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastStartTime)))
7009
7184
  : undefined,
7010
- lastStatus: smithy_client_1.expectString(output.lastStatus),
7185
+ lastStatus: (0, smithy_client_1.expectString)(output.lastStatus),
7011
7186
  lastStatusChangeTime: output.lastStatusChangeTime !== undefined && output.lastStatusChangeTime !== null
7012
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastStatusChangeTime)))
7187
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastStatusChangeTime)))
7013
7188
  : undefined,
7014
7189
  lastStopTime: output.lastStopTime !== undefined && output.lastStopTime !== null
7015
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastStopTime)))
7190
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastStopTime)))
7016
7191
  : undefined,
7017
- name: smithy_client_1.expectString(output.name),
7018
- recording: smithy_client_1.expectBoolean(output.recording),
7192
+ name: (0, smithy_client_1.expectString)(output.name),
7193
+ recording: (0, smithy_client_1.expectBoolean)(output.recording),
7019
7194
  };
7020
7195
  };
7021
7196
  const deserializeAws_json1_1ConfigurationRecorderStatusList = (output, context) => {
@@ -7031,8 +7206,8 @@ const deserializeAws_json1_1ConfigurationRecorderStatusList = (output, context)
7031
7206
  };
7032
7207
  const deserializeAws_json1_1ConformancePackComplianceSummary = (output, context) => {
7033
7208
  return {
7034
- ConformancePackComplianceStatus: smithy_client_1.expectString(output.ConformancePackComplianceStatus),
7035
- ConformancePackName: smithy_client_1.expectString(output.ConformancePackName),
7209
+ ConformancePackComplianceStatus: (0, smithy_client_1.expectString)(output.ConformancePackComplianceStatus),
7210
+ ConformancePackName: (0, smithy_client_1.expectString)(output.ConformancePackName),
7036
7211
  };
7037
7212
  };
7038
7213
  const deserializeAws_json1_1ConformancePackComplianceSummaryList = (output, context) => {
@@ -7048,17 +7223,17 @@ const deserializeAws_json1_1ConformancePackComplianceSummaryList = (output, cont
7048
7223
  };
7049
7224
  const deserializeAws_json1_1ConformancePackDetail = (output, context) => {
7050
7225
  return {
7051
- ConformancePackArn: smithy_client_1.expectString(output.ConformancePackArn),
7052
- ConformancePackId: smithy_client_1.expectString(output.ConformancePackId),
7226
+ ConformancePackArn: (0, smithy_client_1.expectString)(output.ConformancePackArn),
7227
+ ConformancePackId: (0, smithy_client_1.expectString)(output.ConformancePackId),
7053
7228
  ConformancePackInputParameters: output.ConformancePackInputParameters !== undefined && output.ConformancePackInputParameters !== null
7054
7229
  ? deserializeAws_json1_1ConformancePackInputParameters(output.ConformancePackInputParameters, context)
7055
7230
  : undefined,
7056
- ConformancePackName: smithy_client_1.expectString(output.ConformancePackName),
7057
- CreatedBy: smithy_client_1.expectString(output.CreatedBy),
7058
- DeliveryS3Bucket: smithy_client_1.expectString(output.DeliveryS3Bucket),
7059
- DeliveryS3KeyPrefix: smithy_client_1.expectString(output.DeliveryS3KeyPrefix),
7231
+ ConformancePackName: (0, smithy_client_1.expectString)(output.ConformancePackName),
7232
+ CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
7233
+ DeliveryS3Bucket: (0, smithy_client_1.expectString)(output.DeliveryS3Bucket),
7234
+ DeliveryS3KeyPrefix: (0, smithy_client_1.expectString)(output.DeliveryS3KeyPrefix),
7060
7235
  LastUpdateRequestedTime: output.LastUpdateRequestedTime !== undefined && output.LastUpdateRequestedTime !== null
7061
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateRequestedTime)))
7236
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateRequestedTime)))
7062
7237
  : undefined,
7063
7238
  };
7064
7239
  };
@@ -7075,23 +7250,23 @@ const deserializeAws_json1_1ConformancePackDetailList = (output, context) => {
7075
7250
  };
7076
7251
  const deserializeAws_json1_1ConformancePackEvaluationResult = (output, context) => {
7077
7252
  return {
7078
- Annotation: smithy_client_1.expectString(output.Annotation),
7079
- ComplianceType: smithy_client_1.expectString(output.ComplianceType),
7253
+ Annotation: (0, smithy_client_1.expectString)(output.Annotation),
7254
+ ComplianceType: (0, smithy_client_1.expectString)(output.ComplianceType),
7080
7255
  ConfigRuleInvokedTime: output.ConfigRuleInvokedTime !== undefined && output.ConfigRuleInvokedTime !== null
7081
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ConfigRuleInvokedTime)))
7256
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ConfigRuleInvokedTime)))
7082
7257
  : undefined,
7083
7258
  EvaluationResultIdentifier: output.EvaluationResultIdentifier !== undefined && output.EvaluationResultIdentifier !== null
7084
7259
  ? deserializeAws_json1_1EvaluationResultIdentifier(output.EvaluationResultIdentifier, context)
7085
7260
  : undefined,
7086
7261
  ResultRecordedTime: output.ResultRecordedTime !== undefined && output.ResultRecordedTime !== null
7087
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ResultRecordedTime)))
7262
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ResultRecordedTime)))
7088
7263
  : undefined,
7089
7264
  };
7090
7265
  };
7091
7266
  const deserializeAws_json1_1ConformancePackInputParameter = (output, context) => {
7092
7267
  return {
7093
- ParameterName: smithy_client_1.expectString(output.ParameterName),
7094
- ParameterValue: smithy_client_1.expectString(output.ParameterValue),
7268
+ ParameterName: (0, smithy_client_1.expectString)(output.ParameterName),
7269
+ ParameterValue: (0, smithy_client_1.expectString)(output.ParameterValue),
7095
7270
  };
7096
7271
  };
7097
7272
  const deserializeAws_json1_1ConformancePackInputParameters = (output, context) => {
@@ -7107,8 +7282,8 @@ const deserializeAws_json1_1ConformancePackInputParameters = (output, context) =
7107
7282
  };
7108
7283
  const deserializeAws_json1_1ConformancePackRuleCompliance = (output, context) => {
7109
7284
  return {
7110
- ComplianceType: smithy_client_1.expectString(output.ComplianceType),
7111
- ConfigRuleName: smithy_client_1.expectString(output.ConfigRuleName),
7285
+ ComplianceType: (0, smithy_client_1.expectString)(output.ComplianceType),
7286
+ ConfigRuleName: (0, smithy_client_1.expectString)(output.ConfigRuleName),
7112
7287
  Controls: output.Controls !== undefined && output.Controls !== null
7113
7288
  ? deserializeAws_json1_1ControlsList(output.Controls, context)
7114
7289
  : undefined,
@@ -7138,18 +7313,18 @@ const deserializeAws_json1_1ConformancePackRuleEvaluationResultsList = (output,
7138
7313
  };
7139
7314
  const deserializeAws_json1_1ConformancePackStatusDetail = (output, context) => {
7140
7315
  return {
7141
- ConformancePackArn: smithy_client_1.expectString(output.ConformancePackArn),
7142
- ConformancePackId: smithy_client_1.expectString(output.ConformancePackId),
7143
- ConformancePackName: smithy_client_1.expectString(output.ConformancePackName),
7144
- ConformancePackState: smithy_client_1.expectString(output.ConformancePackState),
7145
- ConformancePackStatusReason: smithy_client_1.expectString(output.ConformancePackStatusReason),
7316
+ ConformancePackArn: (0, smithy_client_1.expectString)(output.ConformancePackArn),
7317
+ ConformancePackId: (0, smithy_client_1.expectString)(output.ConformancePackId),
7318
+ ConformancePackName: (0, smithy_client_1.expectString)(output.ConformancePackName),
7319
+ ConformancePackState: (0, smithy_client_1.expectString)(output.ConformancePackState),
7320
+ ConformancePackStatusReason: (0, smithy_client_1.expectString)(output.ConformancePackStatusReason),
7146
7321
  LastUpdateCompletedTime: output.LastUpdateCompletedTime !== undefined && output.LastUpdateCompletedTime !== null
7147
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateCompletedTime)))
7322
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateCompletedTime)))
7148
7323
  : undefined,
7149
7324
  LastUpdateRequestedTime: output.LastUpdateRequestedTime !== undefined && output.LastUpdateRequestedTime !== null
7150
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateRequestedTime)))
7325
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateRequestedTime)))
7151
7326
  : undefined,
7152
- StackArn: smithy_client_1.expectString(output.StackArn),
7327
+ StackArn: (0, smithy_client_1.expectString)(output.StackArn),
7153
7328
  };
7154
7329
  };
7155
7330
  const deserializeAws_json1_1ConformancePackStatusDetailsList = (output, context) => {
@@ -7165,7 +7340,7 @@ const deserializeAws_json1_1ConformancePackStatusDetailsList = (output, context)
7165
7340
  };
7166
7341
  const deserializeAws_json1_1ConformancePackTemplateValidationException = (output, context) => {
7167
7342
  return {
7168
- message: smithy_client_1.expectString(output.message),
7343
+ message: (0, smithy_client_1.expectString)(output.message),
7169
7344
  };
7170
7345
  };
7171
7346
  const deserializeAws_json1_1ControlsList = (output, context) => {
@@ -7175,7 +7350,25 @@ const deserializeAws_json1_1ControlsList = (output, context) => {
7175
7350
  if (entry === null) {
7176
7351
  return null;
7177
7352
  }
7178
- return smithy_client_1.expectString(entry);
7353
+ return (0, smithy_client_1.expectString)(entry);
7354
+ });
7355
+ return retVal;
7356
+ };
7357
+ const deserializeAws_json1_1CustomPolicyDetails = (output, context) => {
7358
+ return {
7359
+ EnableDebugLogDelivery: (0, smithy_client_1.expectBoolean)(output.EnableDebugLogDelivery),
7360
+ PolicyRuntime: (0, smithy_client_1.expectString)(output.PolicyRuntime),
7361
+ PolicyText: (0, smithy_client_1.expectString)(output.PolicyText),
7362
+ };
7363
+ };
7364
+ const deserializeAws_json1_1DebugLogDeliveryAccounts = (output, context) => {
7365
+ const retVal = (output || [])
7366
+ .filter((e) => e != null)
7367
+ .map((entry) => {
7368
+ if (entry === null) {
7369
+ return null;
7370
+ }
7371
+ return (0, smithy_client_1.expectString)(entry);
7179
7372
  });
7180
7373
  return retVal;
7181
7374
  };
@@ -7197,7 +7390,7 @@ const deserializeAws_json1_1DeleteStoredQueryResponse = (output, context) => {
7197
7390
  };
7198
7391
  const deserializeAws_json1_1DeliverConfigSnapshotResponse = (output, context) => {
7199
7392
  return {
7200
- configSnapshotId: smithy_client_1.expectString(output.configSnapshotId),
7393
+ configSnapshotId: (0, smithy_client_1.expectString)(output.configSnapshotId),
7201
7394
  };
7202
7395
  };
7203
7396
  const deserializeAws_json1_1DeliveryChannel = (output, context) => {
@@ -7205,11 +7398,11 @@ const deserializeAws_json1_1DeliveryChannel = (output, context) => {
7205
7398
  configSnapshotDeliveryProperties: output.configSnapshotDeliveryProperties !== undefined && output.configSnapshotDeliveryProperties !== null
7206
7399
  ? deserializeAws_json1_1ConfigSnapshotDeliveryProperties(output.configSnapshotDeliveryProperties, context)
7207
7400
  : undefined,
7208
- name: smithy_client_1.expectString(output.name),
7209
- s3BucketName: smithy_client_1.expectString(output.s3BucketName),
7210
- s3KeyPrefix: smithy_client_1.expectString(output.s3KeyPrefix),
7211
- s3KmsKeyArn: smithy_client_1.expectString(output.s3KmsKeyArn),
7212
- snsTopicARN: smithy_client_1.expectString(output.snsTopicARN),
7401
+ name: (0, smithy_client_1.expectString)(output.name),
7402
+ s3BucketName: (0, smithy_client_1.expectString)(output.s3BucketName),
7403
+ s3KeyPrefix: (0, smithy_client_1.expectString)(output.s3KeyPrefix),
7404
+ s3KmsKeyArn: (0, smithy_client_1.expectString)(output.s3KmsKeyArn),
7405
+ snsTopicARN: (0, smithy_client_1.expectString)(output.snsTopicARN),
7213
7406
  };
7214
7407
  };
7215
7408
  const deserializeAws_json1_1DeliveryChannelList = (output, context) => {
@@ -7234,7 +7427,7 @@ const deserializeAws_json1_1DeliveryChannelStatus = (output, context) => {
7234
7427
  configStreamDeliveryInfo: output.configStreamDeliveryInfo !== undefined && output.configStreamDeliveryInfo !== null
7235
7428
  ? deserializeAws_json1_1ConfigStreamDeliveryInfo(output.configStreamDeliveryInfo, context)
7236
7429
  : undefined,
7237
- name: smithy_client_1.expectString(output.name),
7430
+ name: (0, smithy_client_1.expectString)(output.name),
7238
7431
  };
7239
7432
  };
7240
7433
  const deserializeAws_json1_1DeliveryChannelStatusList = (output, context) => {
@@ -7253,7 +7446,7 @@ const deserializeAws_json1_1DescribeAggregateComplianceByConfigRulesResponse = (
7253
7446
  AggregateComplianceByConfigRules: output.AggregateComplianceByConfigRules !== undefined && output.AggregateComplianceByConfigRules !== null
7254
7447
  ? deserializeAws_json1_1AggregateComplianceByConfigRuleList(output.AggregateComplianceByConfigRules, context)
7255
7448
  : undefined,
7256
- NextToken: smithy_client_1.expectString(output.NextToken),
7449
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7257
7450
  };
7258
7451
  };
7259
7452
  const deserializeAws_json1_1DescribeAggregateComplianceByConformancePacksResponse = (output, context) => {
@@ -7262,7 +7455,7 @@ const deserializeAws_json1_1DescribeAggregateComplianceByConformancePacksRespons
7262
7455
  output.AggregateComplianceByConformancePacks !== null
7263
7456
  ? deserializeAws_json1_1AggregateComplianceByConformancePackList(output.AggregateComplianceByConformancePacks, context)
7264
7457
  : undefined,
7265
- NextToken: smithy_client_1.expectString(output.NextToken),
7458
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7266
7459
  };
7267
7460
  };
7268
7461
  const deserializeAws_json1_1DescribeAggregationAuthorizationsResponse = (output, context) => {
@@ -7270,7 +7463,7 @@ const deserializeAws_json1_1DescribeAggregationAuthorizationsResponse = (output,
7270
7463
  AggregationAuthorizations: output.AggregationAuthorizations !== undefined && output.AggregationAuthorizations !== null
7271
7464
  ? deserializeAws_json1_1AggregationAuthorizationList(output.AggregationAuthorizations, context)
7272
7465
  : undefined,
7273
- NextToken: smithy_client_1.expectString(output.NextToken),
7466
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7274
7467
  };
7275
7468
  };
7276
7469
  const deserializeAws_json1_1DescribeComplianceByConfigRuleResponse = (output, context) => {
@@ -7278,7 +7471,7 @@ const deserializeAws_json1_1DescribeComplianceByConfigRuleResponse = (output, co
7278
7471
  ComplianceByConfigRules: output.ComplianceByConfigRules !== undefined && output.ComplianceByConfigRules !== null
7279
7472
  ? deserializeAws_json1_1ComplianceByConfigRules(output.ComplianceByConfigRules, context)
7280
7473
  : undefined,
7281
- NextToken: smithy_client_1.expectString(output.NextToken),
7474
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7282
7475
  };
7283
7476
  };
7284
7477
  const deserializeAws_json1_1DescribeComplianceByResourceResponse = (output, context) => {
@@ -7286,7 +7479,7 @@ const deserializeAws_json1_1DescribeComplianceByResourceResponse = (output, cont
7286
7479
  ComplianceByResources: output.ComplianceByResources !== undefined && output.ComplianceByResources !== null
7287
7480
  ? deserializeAws_json1_1ComplianceByResources(output.ComplianceByResources, context)
7288
7481
  : undefined,
7289
- NextToken: smithy_client_1.expectString(output.NextToken),
7482
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7290
7483
  };
7291
7484
  };
7292
7485
  const deserializeAws_json1_1DescribeConfigRuleEvaluationStatusResponse = (output, context) => {
@@ -7294,7 +7487,7 @@ const deserializeAws_json1_1DescribeConfigRuleEvaluationStatusResponse = (output
7294
7487
  ConfigRulesEvaluationStatus: output.ConfigRulesEvaluationStatus !== undefined && output.ConfigRulesEvaluationStatus !== null
7295
7488
  ? deserializeAws_json1_1ConfigRuleEvaluationStatusList(output.ConfigRulesEvaluationStatus, context)
7296
7489
  : undefined,
7297
- NextToken: smithy_client_1.expectString(output.NextToken),
7490
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7298
7491
  };
7299
7492
  };
7300
7493
  const deserializeAws_json1_1DescribeConfigRulesResponse = (output, context) => {
@@ -7302,7 +7495,7 @@ const deserializeAws_json1_1DescribeConfigRulesResponse = (output, context) => {
7302
7495
  ConfigRules: output.ConfigRules !== undefined && output.ConfigRules !== null
7303
7496
  ? deserializeAws_json1_1ConfigRules(output.ConfigRules, context)
7304
7497
  : undefined,
7305
- NextToken: smithy_client_1.expectString(output.NextToken),
7498
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7306
7499
  };
7307
7500
  };
7308
7501
  const deserializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusResponse = (output, context) => {
@@ -7310,7 +7503,7 @@ const deserializeAws_json1_1DescribeConfigurationAggregatorSourcesStatusResponse
7310
7503
  AggregatedSourceStatusList: output.AggregatedSourceStatusList !== undefined && output.AggregatedSourceStatusList !== null
7311
7504
  ? deserializeAws_json1_1AggregatedSourceStatusList(output.AggregatedSourceStatusList, context)
7312
7505
  : undefined,
7313
- NextToken: smithy_client_1.expectString(output.NextToken),
7506
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7314
7507
  };
7315
7508
  };
7316
7509
  const deserializeAws_json1_1DescribeConfigurationAggregatorsResponse = (output, context) => {
@@ -7318,7 +7511,7 @@ const deserializeAws_json1_1DescribeConfigurationAggregatorsResponse = (output,
7318
7511
  ConfigurationAggregators: output.ConfigurationAggregators !== undefined && output.ConfigurationAggregators !== null
7319
7512
  ? deserializeAws_json1_1ConfigurationAggregatorList(output.ConfigurationAggregators, context)
7320
7513
  : undefined,
7321
- NextToken: smithy_client_1.expectString(output.NextToken),
7514
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7322
7515
  };
7323
7516
  };
7324
7517
  const deserializeAws_json1_1DescribeConfigurationRecordersResponse = (output, context) => {
@@ -7337,11 +7530,11 @@ const deserializeAws_json1_1DescribeConfigurationRecorderStatusResponse = (outpu
7337
7530
  };
7338
7531
  const deserializeAws_json1_1DescribeConformancePackComplianceResponse = (output, context) => {
7339
7532
  return {
7340
- ConformancePackName: smithy_client_1.expectString(output.ConformancePackName),
7533
+ ConformancePackName: (0, smithy_client_1.expectString)(output.ConformancePackName),
7341
7534
  ConformancePackRuleComplianceList: output.ConformancePackRuleComplianceList !== undefined && output.ConformancePackRuleComplianceList !== null
7342
7535
  ? deserializeAws_json1_1ConformancePackRuleComplianceList(output.ConformancePackRuleComplianceList, context)
7343
7536
  : undefined,
7344
- NextToken: smithy_client_1.expectString(output.NextToken),
7537
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7345
7538
  };
7346
7539
  };
7347
7540
  const deserializeAws_json1_1DescribeConformancePacksResponse = (output, context) => {
@@ -7349,7 +7542,7 @@ const deserializeAws_json1_1DescribeConformancePacksResponse = (output, context)
7349
7542
  ConformancePackDetails: output.ConformancePackDetails !== undefined && output.ConformancePackDetails !== null
7350
7543
  ? deserializeAws_json1_1ConformancePackDetailList(output.ConformancePackDetails, context)
7351
7544
  : undefined,
7352
- NextToken: smithy_client_1.expectString(output.NextToken),
7545
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7353
7546
  };
7354
7547
  };
7355
7548
  const deserializeAws_json1_1DescribeConformancePackStatusResponse = (output, context) => {
@@ -7357,7 +7550,7 @@ const deserializeAws_json1_1DescribeConformancePackStatusResponse = (output, con
7357
7550
  ConformancePackStatusDetails: output.ConformancePackStatusDetails !== undefined && output.ConformancePackStatusDetails !== null
7358
7551
  ? deserializeAws_json1_1ConformancePackStatusDetailsList(output.ConformancePackStatusDetails, context)
7359
7552
  : undefined,
7360
- NextToken: smithy_client_1.expectString(output.NextToken),
7553
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7361
7554
  };
7362
7555
  };
7363
7556
  const deserializeAws_json1_1DescribeDeliveryChannelsResponse = (output, context) => {
@@ -7376,7 +7569,7 @@ const deserializeAws_json1_1DescribeDeliveryChannelStatusResponse = (output, con
7376
7569
  };
7377
7570
  const deserializeAws_json1_1DescribeOrganizationConfigRulesResponse = (output, context) => {
7378
7571
  return {
7379
- NextToken: smithy_client_1.expectString(output.NextToken),
7572
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7380
7573
  OrganizationConfigRules: output.OrganizationConfigRules !== undefined && output.OrganizationConfigRules !== null
7381
7574
  ? deserializeAws_json1_1OrganizationConfigRules(output.OrganizationConfigRules, context)
7382
7575
  : undefined,
@@ -7384,7 +7577,7 @@ const deserializeAws_json1_1DescribeOrganizationConfigRulesResponse = (output, c
7384
7577
  };
7385
7578
  const deserializeAws_json1_1DescribeOrganizationConfigRuleStatusesResponse = (output, context) => {
7386
7579
  return {
7387
- NextToken: smithy_client_1.expectString(output.NextToken),
7580
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7388
7581
  OrganizationConfigRuleStatuses: output.OrganizationConfigRuleStatuses !== undefined && output.OrganizationConfigRuleStatuses !== null
7389
7582
  ? deserializeAws_json1_1OrganizationConfigRuleStatuses(output.OrganizationConfigRuleStatuses, context)
7390
7583
  : undefined,
@@ -7392,7 +7585,7 @@ const deserializeAws_json1_1DescribeOrganizationConfigRuleStatusesResponse = (ou
7392
7585
  };
7393
7586
  const deserializeAws_json1_1DescribeOrganizationConformancePacksResponse = (output, context) => {
7394
7587
  return {
7395
- NextToken: smithy_client_1.expectString(output.NextToken),
7588
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7396
7589
  OrganizationConformancePacks: output.OrganizationConformancePacks !== undefined && output.OrganizationConformancePacks !== null
7397
7590
  ? deserializeAws_json1_1OrganizationConformancePacks(output.OrganizationConformancePacks, context)
7398
7591
  : undefined,
@@ -7400,7 +7593,7 @@ const deserializeAws_json1_1DescribeOrganizationConformancePacksResponse = (outp
7400
7593
  };
7401
7594
  const deserializeAws_json1_1DescribeOrganizationConformancePackStatusesResponse = (output, context) => {
7402
7595
  return {
7403
- NextToken: smithy_client_1.expectString(output.NextToken),
7596
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7404
7597
  OrganizationConformancePackStatuses: output.OrganizationConformancePackStatuses !== undefined && output.OrganizationConformancePackStatuses !== null
7405
7598
  ? deserializeAws_json1_1OrganizationConformancePackStatuses(output.OrganizationConformancePackStatuses, context)
7406
7599
  : undefined,
@@ -7408,7 +7601,7 @@ const deserializeAws_json1_1DescribeOrganizationConformancePackStatusesResponse
7408
7601
  };
7409
7602
  const deserializeAws_json1_1DescribePendingAggregationRequestsResponse = (output, context) => {
7410
7603
  return {
7411
- NextToken: smithy_client_1.expectString(output.NextToken),
7604
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7412
7605
  PendingAggregationRequests: output.PendingAggregationRequests !== undefined && output.PendingAggregationRequests !== null
7413
7606
  ? deserializeAws_json1_1PendingAggregationRequestList(output.PendingAggregationRequests, context)
7414
7607
  : undefined,
@@ -7423,7 +7616,7 @@ const deserializeAws_json1_1DescribeRemediationConfigurationsResponse = (output,
7423
7616
  };
7424
7617
  const deserializeAws_json1_1DescribeRemediationExceptionsResponse = (output, context) => {
7425
7618
  return {
7426
- NextToken: smithy_client_1.expectString(output.NextToken),
7619
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7427
7620
  RemediationExceptions: output.RemediationExceptions !== undefined && output.RemediationExceptions !== null
7428
7621
  ? deserializeAws_json1_1RemediationExceptions(output.RemediationExceptions, context)
7429
7622
  : undefined,
@@ -7431,7 +7624,7 @@ const deserializeAws_json1_1DescribeRemediationExceptionsResponse = (output, con
7431
7624
  };
7432
7625
  const deserializeAws_json1_1DescribeRemediationExecutionStatusResponse = (output, context) => {
7433
7626
  return {
7434
- NextToken: smithy_client_1.expectString(output.NextToken),
7627
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7435
7628
  RemediationExecutionStatuses: output.RemediationExecutionStatuses !== undefined && output.RemediationExecutionStatuses !== null
7436
7629
  ? deserializeAws_json1_1RemediationExecutionStatuses(output.RemediationExecutionStatuses, context)
7437
7630
  : undefined,
@@ -7439,7 +7632,7 @@ const deserializeAws_json1_1DescribeRemediationExecutionStatusResponse = (output
7439
7632
  };
7440
7633
  const deserializeAws_json1_1DescribeRetentionConfigurationsResponse = (output, context) => {
7441
7634
  return {
7442
- NextToken: smithy_client_1.expectString(output.NextToken),
7635
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7443
7636
  RetentionConfigurations: output.RetentionConfigurations !== undefined && output.RetentionConfigurations !== null
7444
7637
  ? deserializeAws_json1_1RetentionConfigurationList(output.RetentionConfigurations, context)
7445
7638
  : undefined,
@@ -7458,29 +7651,29 @@ const deserializeAws_json1_1DiscoveredResourceIdentifierList = (output, context)
7458
7651
  };
7459
7652
  const deserializeAws_json1_1Evaluation = (output, context) => {
7460
7653
  return {
7461
- Annotation: smithy_client_1.expectString(output.Annotation),
7462
- ComplianceResourceId: smithy_client_1.expectString(output.ComplianceResourceId),
7463
- ComplianceResourceType: smithy_client_1.expectString(output.ComplianceResourceType),
7464
- ComplianceType: smithy_client_1.expectString(output.ComplianceType),
7654
+ Annotation: (0, smithy_client_1.expectString)(output.Annotation),
7655
+ ComplianceResourceId: (0, smithy_client_1.expectString)(output.ComplianceResourceId),
7656
+ ComplianceResourceType: (0, smithy_client_1.expectString)(output.ComplianceResourceType),
7657
+ ComplianceType: (0, smithy_client_1.expectString)(output.ComplianceType),
7465
7658
  OrderingTimestamp: output.OrderingTimestamp !== undefined && output.OrderingTimestamp !== null
7466
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.OrderingTimestamp)))
7659
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OrderingTimestamp)))
7467
7660
  : undefined,
7468
7661
  };
7469
7662
  };
7470
7663
  const deserializeAws_json1_1EvaluationResult = (output, context) => {
7471
7664
  return {
7472
- Annotation: smithy_client_1.expectString(output.Annotation),
7473
- ComplianceType: smithy_client_1.expectString(output.ComplianceType),
7665
+ Annotation: (0, smithy_client_1.expectString)(output.Annotation),
7666
+ ComplianceType: (0, smithy_client_1.expectString)(output.ComplianceType),
7474
7667
  ConfigRuleInvokedTime: output.ConfigRuleInvokedTime !== undefined && output.ConfigRuleInvokedTime !== null
7475
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ConfigRuleInvokedTime)))
7668
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ConfigRuleInvokedTime)))
7476
7669
  : undefined,
7477
7670
  EvaluationResultIdentifier: output.EvaluationResultIdentifier !== undefined && output.EvaluationResultIdentifier !== null
7478
7671
  ? deserializeAws_json1_1EvaluationResultIdentifier(output.EvaluationResultIdentifier, context)
7479
7672
  : undefined,
7480
7673
  ResultRecordedTime: output.ResultRecordedTime !== undefined && output.ResultRecordedTime !== null
7481
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ResultRecordedTime)))
7674
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ResultRecordedTime)))
7482
7675
  : undefined,
7483
- ResultToken: smithy_client_1.expectString(output.ResultToken),
7676
+ ResultToken: (0, smithy_client_1.expectString)(output.ResultToken),
7484
7677
  };
7485
7678
  };
7486
7679
  const deserializeAws_json1_1EvaluationResultIdentifier = (output, context) => {
@@ -7489,15 +7682,15 @@ const deserializeAws_json1_1EvaluationResultIdentifier = (output, context) => {
7489
7682
  ? deserializeAws_json1_1EvaluationResultQualifier(output.EvaluationResultQualifier, context)
7490
7683
  : undefined,
7491
7684
  OrderingTimestamp: output.OrderingTimestamp !== undefined && output.OrderingTimestamp !== null
7492
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.OrderingTimestamp)))
7685
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OrderingTimestamp)))
7493
7686
  : undefined,
7494
7687
  };
7495
7688
  };
7496
7689
  const deserializeAws_json1_1EvaluationResultQualifier = (output, context) => {
7497
7690
  return {
7498
- ConfigRuleName: smithy_client_1.expectString(output.ConfigRuleName),
7499
- ResourceId: smithy_client_1.expectString(output.ResourceId),
7500
- ResourceType: smithy_client_1.expectString(output.ResourceType),
7691
+ ConfigRuleName: (0, smithy_client_1.expectString)(output.ConfigRuleName),
7692
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
7693
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
7501
7694
  };
7502
7695
  };
7503
7696
  const deserializeAws_json1_1EvaluationResults = (output, context) => {
@@ -7529,7 +7722,7 @@ const deserializeAws_json1_1ExcludedAccounts = (output, context) => {
7529
7722
  if (entry === null) {
7530
7723
  return null;
7531
7724
  }
7532
- return smithy_client_1.expectString(entry);
7725
+ return (0, smithy_client_1.expectString)(entry);
7533
7726
  });
7534
7727
  return retVal;
7535
7728
  };
@@ -7545,7 +7738,7 @@ const deserializeAws_json1_1FailedDeleteRemediationExceptionsBatch = (output, co
7545
7738
  FailedItems: output.FailedItems !== undefined && output.FailedItems !== null
7546
7739
  ? deserializeAws_json1_1RemediationExceptionResourceKeys(output.FailedItems, context)
7547
7740
  : undefined,
7548
- FailureMessage: smithy_client_1.expectString(output.FailureMessage),
7741
+ FailureMessage: (0, smithy_client_1.expectString)(output.FailureMessage),
7549
7742
  };
7550
7743
  };
7551
7744
  const deserializeAws_json1_1FailedDeleteRemediationExceptionsBatches = (output, context) => {
@@ -7564,7 +7757,7 @@ const deserializeAws_json1_1FailedRemediationBatch = (output, context) => {
7564
7757
  FailedItems: output.FailedItems !== undefined && output.FailedItems !== null
7565
7758
  ? deserializeAws_json1_1RemediationConfigurations(output.FailedItems, context)
7566
7759
  : undefined,
7567
- FailureMessage: smithy_client_1.expectString(output.FailureMessage),
7760
+ FailureMessage: (0, smithy_client_1.expectString)(output.FailureMessage),
7568
7761
  };
7569
7762
  };
7570
7763
  const deserializeAws_json1_1FailedRemediationBatches = (output, context) => {
@@ -7583,7 +7776,7 @@ const deserializeAws_json1_1FailedRemediationExceptionBatch = (output, context)
7583
7776
  FailedItems: output.FailedItems !== undefined && output.FailedItems !== null
7584
7777
  ? deserializeAws_json1_1RemediationExceptions(output.FailedItems, context)
7585
7778
  : undefined,
7586
- FailureMessage: smithy_client_1.expectString(output.FailureMessage),
7779
+ FailureMessage: (0, smithy_client_1.expectString)(output.FailureMessage),
7587
7780
  };
7588
7781
  };
7589
7782
  const deserializeAws_json1_1FailedRemediationExceptionBatches = (output, context) => {
@@ -7599,7 +7792,7 @@ const deserializeAws_json1_1FailedRemediationExceptionBatches = (output, context
7599
7792
  };
7600
7793
  const deserializeAws_json1_1FieldInfo = (output, context) => {
7601
7794
  return {
7602
- Name: smithy_client_1.expectString(output.Name),
7795
+ Name: (0, smithy_client_1.expectString)(output.Name),
7603
7796
  };
7604
7797
  };
7605
7798
  const deserializeAws_json1_1FieldInfoList = (output, context) => {
@@ -7618,7 +7811,7 @@ const deserializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleResponse =
7618
7811
  AggregateEvaluationResults: output.AggregateEvaluationResults !== undefined && output.AggregateEvaluationResults !== null
7619
7812
  ? deserializeAws_json1_1AggregateEvaluationResultList(output.AggregateEvaluationResults, context)
7620
7813
  : undefined,
7621
- NextToken: smithy_client_1.expectString(output.NextToken),
7814
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7622
7815
  };
7623
7816
  };
7624
7817
  const deserializeAws_json1_1GetAggregateConfigRuleComplianceSummaryResponse = (output, context) => {
@@ -7626,8 +7819,8 @@ const deserializeAws_json1_1GetAggregateConfigRuleComplianceSummaryResponse = (o
7626
7819
  AggregateComplianceCounts: output.AggregateComplianceCounts !== undefined && output.AggregateComplianceCounts !== null
7627
7820
  ? deserializeAws_json1_1AggregateComplianceCountList(output.AggregateComplianceCounts, context)
7628
7821
  : undefined,
7629
- GroupByKey: smithy_client_1.expectString(output.GroupByKey),
7630
- NextToken: smithy_client_1.expectString(output.NextToken),
7822
+ GroupByKey: (0, smithy_client_1.expectString)(output.GroupByKey),
7823
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7631
7824
  };
7632
7825
  };
7633
7826
  const deserializeAws_json1_1GetAggregateConformancePackComplianceSummaryResponse = (output, context) => {
@@ -7636,18 +7829,18 @@ const deserializeAws_json1_1GetAggregateConformancePackComplianceSummaryResponse
7636
7829
  output.AggregateConformancePackComplianceSummaries !== null
7637
7830
  ? deserializeAws_json1_1AggregateConformancePackComplianceSummaryList(output.AggregateConformancePackComplianceSummaries, context)
7638
7831
  : undefined,
7639
- GroupByKey: smithy_client_1.expectString(output.GroupByKey),
7640
- NextToken: smithy_client_1.expectString(output.NextToken),
7832
+ GroupByKey: (0, smithy_client_1.expectString)(output.GroupByKey),
7833
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7641
7834
  };
7642
7835
  };
7643
7836
  const deserializeAws_json1_1GetAggregateDiscoveredResourceCountsResponse = (output, context) => {
7644
7837
  return {
7645
- GroupByKey: smithy_client_1.expectString(output.GroupByKey),
7838
+ GroupByKey: (0, smithy_client_1.expectString)(output.GroupByKey),
7646
7839
  GroupedResourceCounts: output.GroupedResourceCounts !== undefined && output.GroupedResourceCounts !== null
7647
7840
  ? deserializeAws_json1_1GroupedResourceCountList(output.GroupedResourceCounts, context)
7648
7841
  : undefined,
7649
- NextToken: smithy_client_1.expectString(output.NextToken),
7650
- TotalDiscoveredResources: smithy_client_1.expectLong(output.TotalDiscoveredResources),
7842
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7843
+ TotalDiscoveredResources: (0, smithy_client_1.expectLong)(output.TotalDiscoveredResources),
7651
7844
  };
7652
7845
  };
7653
7846
  const deserializeAws_json1_1GetAggregateResourceConfigResponse = (output, context) => {
@@ -7662,7 +7855,7 @@ const deserializeAws_json1_1GetComplianceDetailsByConfigRuleResponse = (output,
7662
7855
  EvaluationResults: output.EvaluationResults !== undefined && output.EvaluationResults !== null
7663
7856
  ? deserializeAws_json1_1EvaluationResults(output.EvaluationResults, context)
7664
7857
  : undefined,
7665
- NextToken: smithy_client_1.expectString(output.NextToken),
7858
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7666
7859
  };
7667
7860
  };
7668
7861
  const deserializeAws_json1_1GetComplianceDetailsByResourceResponse = (output, context) => {
@@ -7670,7 +7863,7 @@ const deserializeAws_json1_1GetComplianceDetailsByResourceResponse = (output, co
7670
7863
  EvaluationResults: output.EvaluationResults !== undefined && output.EvaluationResults !== null
7671
7864
  ? deserializeAws_json1_1EvaluationResults(output.EvaluationResults, context)
7672
7865
  : undefined,
7673
- NextToken: smithy_client_1.expectString(output.NextToken),
7866
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7674
7867
  };
7675
7868
  };
7676
7869
  const deserializeAws_json1_1GetComplianceSummaryByConfigRuleResponse = (output, context) => {
@@ -7689,11 +7882,11 @@ const deserializeAws_json1_1GetComplianceSummaryByResourceTypeResponse = (output
7689
7882
  };
7690
7883
  const deserializeAws_json1_1GetConformancePackComplianceDetailsResponse = (output, context) => {
7691
7884
  return {
7692
- ConformancePackName: smithy_client_1.expectString(output.ConformancePackName),
7885
+ ConformancePackName: (0, smithy_client_1.expectString)(output.ConformancePackName),
7693
7886
  ConformancePackRuleEvaluationResults: output.ConformancePackRuleEvaluationResults !== undefined && output.ConformancePackRuleEvaluationResults !== null
7694
7887
  ? deserializeAws_json1_1ConformancePackRuleEvaluationResultsList(output.ConformancePackRuleEvaluationResults, context)
7695
7888
  : undefined,
7696
- NextToken: smithy_client_1.expectString(output.NextToken),
7889
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7697
7890
  };
7698
7891
  };
7699
7892
  const deserializeAws_json1_1GetConformancePackComplianceSummaryResponse = (output, context) => {
@@ -7701,21 +7894,26 @@ const deserializeAws_json1_1GetConformancePackComplianceSummaryResponse = (outpu
7701
7894
  ConformancePackComplianceSummaryList: output.ConformancePackComplianceSummaryList !== undefined && output.ConformancePackComplianceSummaryList !== null
7702
7895
  ? deserializeAws_json1_1ConformancePackComplianceSummaryList(output.ConformancePackComplianceSummaryList, context)
7703
7896
  : undefined,
7704
- NextToken: smithy_client_1.expectString(output.NextToken),
7897
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7898
+ };
7899
+ };
7900
+ const deserializeAws_json1_1GetCustomRulePolicyResponse = (output, context) => {
7901
+ return {
7902
+ PolicyText: (0, smithy_client_1.expectString)(output.PolicyText),
7705
7903
  };
7706
7904
  };
7707
7905
  const deserializeAws_json1_1GetDiscoveredResourceCountsResponse = (output, context) => {
7708
7906
  return {
7709
- nextToken: smithy_client_1.expectString(output.nextToken),
7907
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
7710
7908
  resourceCounts: output.resourceCounts !== undefined && output.resourceCounts !== null
7711
7909
  ? deserializeAws_json1_1ResourceCounts(output.resourceCounts, context)
7712
7910
  : undefined,
7713
- totalDiscoveredResources: smithy_client_1.expectLong(output.totalDiscoveredResources),
7911
+ totalDiscoveredResources: (0, smithy_client_1.expectLong)(output.totalDiscoveredResources),
7714
7912
  };
7715
7913
  };
7716
7914
  const deserializeAws_json1_1GetOrganizationConfigRuleDetailedStatusResponse = (output, context) => {
7717
7915
  return {
7718
- NextToken: smithy_client_1.expectString(output.NextToken),
7916
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7719
7917
  OrganizationConfigRuleDetailedStatus: output.OrganizationConfigRuleDetailedStatus !== undefined && output.OrganizationConfigRuleDetailedStatus !== null
7720
7918
  ? deserializeAws_json1_1OrganizationConfigRuleDetailedStatus(output.OrganizationConfigRuleDetailedStatus, context)
7721
7919
  : undefined,
@@ -7723,19 +7921,24 @@ const deserializeAws_json1_1GetOrganizationConfigRuleDetailedStatusResponse = (o
7723
7921
  };
7724
7922
  const deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusResponse = (output, context) => {
7725
7923
  return {
7726
- NextToken: smithy_client_1.expectString(output.NextToken),
7924
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7727
7925
  OrganizationConformancePackDetailedStatuses: output.OrganizationConformancePackDetailedStatuses !== undefined &&
7728
7926
  output.OrganizationConformancePackDetailedStatuses !== null
7729
7927
  ? deserializeAws_json1_1OrganizationConformancePackDetailedStatuses(output.OrganizationConformancePackDetailedStatuses, context)
7730
7928
  : undefined,
7731
7929
  };
7732
7930
  };
7931
+ const deserializeAws_json1_1GetOrganizationCustomRulePolicyResponse = (output, context) => {
7932
+ return {
7933
+ PolicyText: (0, smithy_client_1.expectString)(output.PolicyText),
7934
+ };
7935
+ };
7733
7936
  const deserializeAws_json1_1GetResourceConfigHistoryResponse = (output, context) => {
7734
7937
  return {
7735
7938
  configurationItems: output.configurationItems !== undefined && output.configurationItems !== null
7736
7939
  ? deserializeAws_json1_1ConfigurationItemList(output.configurationItems, context)
7737
7940
  : undefined,
7738
- nextToken: smithy_client_1.expectString(output.nextToken),
7941
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
7739
7942
  };
7740
7943
  };
7741
7944
  const deserializeAws_json1_1GetStoredQueryResponse = (output, context) => {
@@ -7747,8 +7950,8 @@ const deserializeAws_json1_1GetStoredQueryResponse = (output, context) => {
7747
7950
  };
7748
7951
  const deserializeAws_json1_1GroupedResourceCount = (output, context) => {
7749
7952
  return {
7750
- GroupName: smithy_client_1.expectString(output.GroupName),
7751
- ResourceCount: smithy_client_1.expectLong(output.ResourceCount),
7953
+ GroupName: (0, smithy_client_1.expectString)(output.GroupName),
7954
+ ResourceCount: (0, smithy_client_1.expectLong)(output.ResourceCount),
7752
7955
  };
7753
7956
  };
7754
7957
  const deserializeAws_json1_1GroupedResourceCountList = (output, context) => {
@@ -7764,92 +7967,92 @@ const deserializeAws_json1_1GroupedResourceCountList = (output, context) => {
7764
7967
  };
7765
7968
  const deserializeAws_json1_1InsufficientDeliveryPolicyException = (output, context) => {
7766
7969
  return {
7767
- message: smithy_client_1.expectString(output.message),
7970
+ message: (0, smithy_client_1.expectString)(output.message),
7768
7971
  };
7769
7972
  };
7770
7973
  const deserializeAws_json1_1InsufficientPermissionsException = (output, context) => {
7771
7974
  return {
7772
- message: smithy_client_1.expectString(output.message),
7975
+ message: (0, smithy_client_1.expectString)(output.message),
7773
7976
  };
7774
7977
  };
7775
7978
  const deserializeAws_json1_1InvalidConfigurationRecorderNameException = (output, context) => {
7776
7979
  return {
7777
- message: smithy_client_1.expectString(output.message),
7980
+ message: (0, smithy_client_1.expectString)(output.message),
7778
7981
  };
7779
7982
  };
7780
7983
  const deserializeAws_json1_1InvalidDeliveryChannelNameException = (output, context) => {
7781
7984
  return {
7782
- message: smithy_client_1.expectString(output.message),
7985
+ message: (0, smithy_client_1.expectString)(output.message),
7783
7986
  };
7784
7987
  };
7785
7988
  const deserializeAws_json1_1InvalidExpressionException = (output, context) => {
7786
7989
  return {
7787
- message: smithy_client_1.expectString(output.message),
7990
+ message: (0, smithy_client_1.expectString)(output.message),
7788
7991
  };
7789
7992
  };
7790
7993
  const deserializeAws_json1_1InvalidLimitException = (output, context) => {
7791
7994
  return {
7792
- message: smithy_client_1.expectString(output.message),
7995
+ message: (0, smithy_client_1.expectString)(output.message),
7793
7996
  };
7794
7997
  };
7795
7998
  const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
7796
7999
  return {
7797
- message: smithy_client_1.expectString(output.message),
8000
+ message: (0, smithy_client_1.expectString)(output.message),
7798
8001
  };
7799
8002
  };
7800
8003
  const deserializeAws_json1_1InvalidParameterValueException = (output, context) => {
7801
8004
  return {
7802
- message: smithy_client_1.expectString(output.message),
8005
+ message: (0, smithy_client_1.expectString)(output.message),
7803
8006
  };
7804
8007
  };
7805
8008
  const deserializeAws_json1_1InvalidRecordingGroupException = (output, context) => {
7806
8009
  return {
7807
- message: smithy_client_1.expectString(output.message),
8010
+ message: (0, smithy_client_1.expectString)(output.message),
7808
8011
  };
7809
8012
  };
7810
8013
  const deserializeAws_json1_1InvalidResultTokenException = (output, context) => {
7811
8014
  return {
7812
- message: smithy_client_1.expectString(output.message),
8015
+ message: (0, smithy_client_1.expectString)(output.message),
7813
8016
  };
7814
8017
  };
7815
8018
  const deserializeAws_json1_1InvalidRoleException = (output, context) => {
7816
8019
  return {
7817
- message: smithy_client_1.expectString(output.message),
8020
+ message: (0, smithy_client_1.expectString)(output.message),
7818
8021
  };
7819
8022
  };
7820
8023
  const deserializeAws_json1_1InvalidS3KeyPrefixException = (output, context) => {
7821
8024
  return {
7822
- message: smithy_client_1.expectString(output.message),
8025
+ message: (0, smithy_client_1.expectString)(output.message),
7823
8026
  };
7824
8027
  };
7825
8028
  const deserializeAws_json1_1InvalidS3KmsKeyArnException = (output, context) => {
7826
8029
  return {
7827
- message: smithy_client_1.expectString(output.message),
8030
+ message: (0, smithy_client_1.expectString)(output.message),
7828
8031
  };
7829
8032
  };
7830
8033
  const deserializeAws_json1_1InvalidSNSTopicARNException = (output, context) => {
7831
8034
  return {
7832
- message: smithy_client_1.expectString(output.message),
8035
+ message: (0, smithy_client_1.expectString)(output.message),
7833
8036
  };
7834
8037
  };
7835
8038
  const deserializeAws_json1_1InvalidTimeRangeException = (output, context) => {
7836
8039
  return {
7837
- message: smithy_client_1.expectString(output.message),
8040
+ message: (0, smithy_client_1.expectString)(output.message),
7838
8041
  };
7839
8042
  };
7840
8043
  const deserializeAws_json1_1LastDeliveryChannelDeleteFailedException = (output, context) => {
7841
8044
  return {
7842
- message: smithy_client_1.expectString(output.message),
8045
+ message: (0, smithy_client_1.expectString)(output.message),
7843
8046
  };
7844
8047
  };
7845
8048
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
7846
8049
  return {
7847
- message: smithy_client_1.expectString(output.message),
8050
+ message: (0, smithy_client_1.expectString)(output.message),
7848
8051
  };
7849
8052
  };
7850
8053
  const deserializeAws_json1_1ListAggregateDiscoveredResourcesResponse = (output, context) => {
7851
8054
  return {
7852
- NextToken: smithy_client_1.expectString(output.NextToken),
8055
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7853
8056
  ResourceIdentifiers: output.ResourceIdentifiers !== undefined && output.ResourceIdentifiers !== null
7854
8057
  ? deserializeAws_json1_1DiscoveredResourceIdentifierList(output.ResourceIdentifiers, context)
7855
8058
  : undefined,
@@ -7857,7 +8060,7 @@ const deserializeAws_json1_1ListAggregateDiscoveredResourcesResponse = (output,
7857
8060
  };
7858
8061
  const deserializeAws_json1_1ListDiscoveredResourcesResponse = (output, context) => {
7859
8062
  return {
7860
- nextToken: smithy_client_1.expectString(output.nextToken),
8063
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
7861
8064
  resourceIdentifiers: output.resourceIdentifiers !== undefined && output.resourceIdentifiers !== null
7862
8065
  ? deserializeAws_json1_1ResourceIdentifierList(output.resourceIdentifiers, context)
7863
8066
  : undefined,
@@ -7865,7 +8068,7 @@ const deserializeAws_json1_1ListDiscoveredResourcesResponse = (output, context)
7865
8068
  };
7866
8069
  const deserializeAws_json1_1ListStoredQueriesResponse = (output, context) => {
7867
8070
  return {
7868
- NextToken: smithy_client_1.expectString(output.NextToken),
8071
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7869
8072
  StoredQueryMetadata: output.StoredQueryMetadata !== undefined && output.StoredQueryMetadata !== null
7870
8073
  ? deserializeAws_json1_1StoredQueryMetadataList(output.StoredQueryMetadata, context)
7871
8074
  : undefined,
@@ -7873,7 +8076,7 @@ const deserializeAws_json1_1ListStoredQueriesResponse = (output, context) => {
7873
8076
  };
7874
8077
  const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
7875
8078
  return {
7876
- NextToken: smithy_client_1.expectString(output.NextToken),
8079
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
7877
8080
  Tags: output.Tags !== undefined && output.Tags !== null
7878
8081
  ? deserializeAws_json1_1TagList(output.Tags, context)
7879
8082
  : undefined,
@@ -7881,153 +8084,153 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
7881
8084
  };
7882
8085
  const deserializeAws_json1_1MaxActiveResourcesExceededException = (output, context) => {
7883
8086
  return {
7884
- message: smithy_client_1.expectString(output.message),
8087
+ message: (0, smithy_client_1.expectString)(output.message),
7885
8088
  };
7886
8089
  };
7887
8090
  const deserializeAws_json1_1MaxNumberOfConfigRulesExceededException = (output, context) => {
7888
8091
  return {
7889
- message: smithy_client_1.expectString(output.message),
8092
+ message: (0, smithy_client_1.expectString)(output.message),
7890
8093
  };
7891
8094
  };
7892
8095
  const deserializeAws_json1_1MaxNumberOfConfigurationRecordersExceededException = (output, context) => {
7893
8096
  return {
7894
- message: smithy_client_1.expectString(output.message),
8097
+ message: (0, smithy_client_1.expectString)(output.message),
7895
8098
  };
7896
8099
  };
7897
8100
  const deserializeAws_json1_1MaxNumberOfConformancePacksExceededException = (output, context) => {
7898
8101
  return {
7899
- message: smithy_client_1.expectString(output.message),
8102
+ message: (0, smithy_client_1.expectString)(output.message),
7900
8103
  };
7901
8104
  };
7902
8105
  const deserializeAws_json1_1MaxNumberOfDeliveryChannelsExceededException = (output, context) => {
7903
8106
  return {
7904
- message: smithy_client_1.expectString(output.message),
8107
+ message: (0, smithy_client_1.expectString)(output.message),
7905
8108
  };
7906
8109
  };
7907
8110
  const deserializeAws_json1_1MaxNumberOfOrganizationConfigRulesExceededException = (output, context) => {
7908
8111
  return {
7909
- message: smithy_client_1.expectString(output.message),
8112
+ message: (0, smithy_client_1.expectString)(output.message),
7910
8113
  };
7911
8114
  };
7912
8115
  const deserializeAws_json1_1MaxNumberOfOrganizationConformancePacksExceededException = (output, context) => {
7913
8116
  return {
7914
- message: smithy_client_1.expectString(output.message),
8117
+ message: (0, smithy_client_1.expectString)(output.message),
7915
8118
  };
7916
8119
  };
7917
8120
  const deserializeAws_json1_1MaxNumberOfRetentionConfigurationsExceededException = (output, context) => {
7918
8121
  return {
7919
- message: smithy_client_1.expectString(output.message),
8122
+ message: (0, smithy_client_1.expectString)(output.message),
7920
8123
  };
7921
8124
  };
7922
8125
  const deserializeAws_json1_1MemberAccountStatus = (output, context) => {
7923
8126
  return {
7924
- AccountId: smithy_client_1.expectString(output.AccountId),
7925
- ConfigRuleName: smithy_client_1.expectString(output.ConfigRuleName),
7926
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
7927
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
8127
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
8128
+ ConfigRuleName: (0, smithy_client_1.expectString)(output.ConfigRuleName),
8129
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
8130
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
7928
8131
  LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
7929
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTime)))
8132
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
7930
8133
  : undefined,
7931
- MemberAccountRuleStatus: smithy_client_1.expectString(output.MemberAccountRuleStatus),
8134
+ MemberAccountRuleStatus: (0, smithy_client_1.expectString)(output.MemberAccountRuleStatus),
7932
8135
  };
7933
8136
  };
7934
8137
  const deserializeAws_json1_1NoAvailableConfigurationRecorderException = (output, context) => {
7935
8138
  return {
7936
- message: smithy_client_1.expectString(output.message),
8139
+ message: (0, smithy_client_1.expectString)(output.message),
7937
8140
  };
7938
8141
  };
7939
8142
  const deserializeAws_json1_1NoAvailableDeliveryChannelException = (output, context) => {
7940
8143
  return {
7941
- message: smithy_client_1.expectString(output.message),
8144
+ message: (0, smithy_client_1.expectString)(output.message),
7942
8145
  };
7943
8146
  };
7944
8147
  const deserializeAws_json1_1NoAvailableOrganizationException = (output, context) => {
7945
8148
  return {
7946
- message: smithy_client_1.expectString(output.message),
8149
+ message: (0, smithy_client_1.expectString)(output.message),
7947
8150
  };
7948
8151
  };
7949
8152
  const deserializeAws_json1_1NoRunningConfigurationRecorderException = (output, context) => {
7950
8153
  return {
7951
- message: smithy_client_1.expectString(output.message),
8154
+ message: (0, smithy_client_1.expectString)(output.message),
7952
8155
  };
7953
8156
  };
7954
8157
  const deserializeAws_json1_1NoSuchBucketException = (output, context) => {
7955
8158
  return {
7956
- message: smithy_client_1.expectString(output.message),
8159
+ message: (0, smithy_client_1.expectString)(output.message),
7957
8160
  };
7958
8161
  };
7959
8162
  const deserializeAws_json1_1NoSuchConfigRuleException = (output, context) => {
7960
8163
  return {
7961
- message: smithy_client_1.expectString(output.message),
8164
+ message: (0, smithy_client_1.expectString)(output.message),
7962
8165
  };
7963
8166
  };
7964
8167
  const deserializeAws_json1_1NoSuchConfigRuleInConformancePackException = (output, context) => {
7965
8168
  return {
7966
- message: smithy_client_1.expectString(output.message),
8169
+ message: (0, smithy_client_1.expectString)(output.message),
7967
8170
  };
7968
8171
  };
7969
8172
  const deserializeAws_json1_1NoSuchConfigurationAggregatorException = (output, context) => {
7970
8173
  return {
7971
- message: smithy_client_1.expectString(output.message),
8174
+ message: (0, smithy_client_1.expectString)(output.message),
7972
8175
  };
7973
8176
  };
7974
8177
  const deserializeAws_json1_1NoSuchConfigurationRecorderException = (output, context) => {
7975
8178
  return {
7976
- message: smithy_client_1.expectString(output.message),
8179
+ message: (0, smithy_client_1.expectString)(output.message),
7977
8180
  };
7978
8181
  };
7979
8182
  const deserializeAws_json1_1NoSuchConformancePackException = (output, context) => {
7980
8183
  return {
7981
- message: smithy_client_1.expectString(output.message),
8184
+ message: (0, smithy_client_1.expectString)(output.message),
7982
8185
  };
7983
8186
  };
7984
8187
  const deserializeAws_json1_1NoSuchDeliveryChannelException = (output, context) => {
7985
8188
  return {
7986
- message: smithy_client_1.expectString(output.message),
8189
+ message: (0, smithy_client_1.expectString)(output.message),
7987
8190
  };
7988
8191
  };
7989
8192
  const deserializeAws_json1_1NoSuchOrganizationConfigRuleException = (output, context) => {
7990
8193
  return {
7991
- message: smithy_client_1.expectString(output.message),
8194
+ message: (0, smithy_client_1.expectString)(output.message),
7992
8195
  };
7993
8196
  };
7994
8197
  const deserializeAws_json1_1NoSuchOrganizationConformancePackException = (output, context) => {
7995
8198
  return {
7996
- message: smithy_client_1.expectString(output.message),
8199
+ message: (0, smithy_client_1.expectString)(output.message),
7997
8200
  };
7998
8201
  };
7999
8202
  const deserializeAws_json1_1NoSuchRemediationConfigurationException = (output, context) => {
8000
8203
  return {
8001
- message: smithy_client_1.expectString(output.message),
8204
+ message: (0, smithy_client_1.expectString)(output.message),
8002
8205
  };
8003
8206
  };
8004
8207
  const deserializeAws_json1_1NoSuchRemediationExceptionException = (output, context) => {
8005
8208
  return {
8006
- message: smithy_client_1.expectString(output.message),
8209
+ message: (0, smithy_client_1.expectString)(output.message),
8007
8210
  };
8008
8211
  };
8009
8212
  const deserializeAws_json1_1NoSuchRetentionConfigurationException = (output, context) => {
8010
8213
  return {
8011
- message: smithy_client_1.expectString(output.message),
8214
+ message: (0, smithy_client_1.expectString)(output.message),
8012
8215
  };
8013
8216
  };
8014
8217
  const deserializeAws_json1_1OrganizationAccessDeniedException = (output, context) => {
8015
8218
  return {
8016
- message: smithy_client_1.expectString(output.message),
8219
+ message: (0, smithy_client_1.expectString)(output.message),
8017
8220
  };
8018
8221
  };
8019
8222
  const deserializeAws_json1_1OrganizationAggregationSource = (output, context) => {
8020
8223
  return {
8021
- AllAwsRegions: smithy_client_1.expectBoolean(output.AllAwsRegions),
8224
+ AllAwsRegions: (0, smithy_client_1.expectBoolean)(output.AllAwsRegions),
8022
8225
  AwsRegions: output.AwsRegions !== undefined && output.AwsRegions !== null
8023
8226
  ? deserializeAws_json1_1AggregatorRegionList(output.AwsRegions, context)
8024
8227
  : undefined,
8025
- RoleArn: smithy_client_1.expectString(output.RoleArn),
8228
+ RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
8026
8229
  };
8027
8230
  };
8028
8231
  const deserializeAws_json1_1OrganizationAllFeaturesNotEnabledException = (output, context) => {
8029
8232
  return {
8030
- message: smithy_client_1.expectString(output.message),
8233
+ message: (0, smithy_client_1.expectString)(output.message),
8031
8234
  };
8032
8235
  };
8033
8236
  const deserializeAws_json1_1OrganizationConfigRule = (output, context) => {
@@ -8036,10 +8239,13 @@ const deserializeAws_json1_1OrganizationConfigRule = (output, context) => {
8036
8239
  ? deserializeAws_json1_1ExcludedAccounts(output.ExcludedAccounts, context)
8037
8240
  : undefined,
8038
8241
  LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
8039
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTime)))
8242
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
8243
+ : undefined,
8244
+ OrganizationConfigRuleArn: (0, smithy_client_1.expectString)(output.OrganizationConfigRuleArn),
8245
+ OrganizationConfigRuleName: (0, smithy_client_1.expectString)(output.OrganizationConfigRuleName),
8246
+ OrganizationCustomPolicyRuleMetadata: output.OrganizationCustomPolicyRuleMetadata !== undefined && output.OrganizationCustomPolicyRuleMetadata !== null
8247
+ ? deserializeAws_json1_1OrganizationCustomPolicyRuleMetadataNoPolicy(output.OrganizationCustomPolicyRuleMetadata, context)
8040
8248
  : undefined,
8041
- OrganizationConfigRuleArn: smithy_client_1.expectString(output.OrganizationConfigRuleArn),
8042
- OrganizationConfigRuleName: smithy_client_1.expectString(output.OrganizationConfigRuleName),
8043
8249
  OrganizationCustomRuleMetadata: output.OrganizationCustomRuleMetadata !== undefined && output.OrganizationCustomRuleMetadata !== null
8044
8250
  ? deserializeAws_json1_1OrganizationCustomRuleMetadata(output.OrganizationCustomRuleMetadata, context)
8045
8251
  : undefined,
@@ -8072,13 +8278,13 @@ const deserializeAws_json1_1OrganizationConfigRules = (output, context) => {
8072
8278
  };
8073
8279
  const deserializeAws_json1_1OrganizationConfigRuleStatus = (output, context) => {
8074
8280
  return {
8075
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
8076
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
8281
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
8282
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
8077
8283
  LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
8078
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTime)))
8284
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
8079
8285
  : undefined,
8080
- OrganizationConfigRuleName: smithy_client_1.expectString(output.OrganizationConfigRuleName),
8081
- OrganizationRuleStatus: smithy_client_1.expectString(output.OrganizationRuleStatus),
8286
+ OrganizationConfigRuleName: (0, smithy_client_1.expectString)(output.OrganizationConfigRuleName),
8287
+ OrganizationRuleStatus: (0, smithy_client_1.expectString)(output.OrganizationRuleStatus),
8082
8288
  };
8083
8289
  };
8084
8290
  const deserializeAws_json1_1OrganizationConfigRuleStatuses = (output, context) => {
@@ -8092,6 +8298,17 @@ const deserializeAws_json1_1OrganizationConfigRuleStatuses = (output, context) =
8092
8298
  });
8093
8299
  return retVal;
8094
8300
  };
8301
+ const deserializeAws_json1_1OrganizationConfigRuleTriggerTypeNoSNs = (output, context) => {
8302
+ const retVal = (output || [])
8303
+ .filter((e) => e != null)
8304
+ .map((entry) => {
8305
+ if (entry === null) {
8306
+ return null;
8307
+ }
8308
+ return (0, smithy_client_1.expectString)(entry);
8309
+ });
8310
+ return retVal;
8311
+ };
8095
8312
  const deserializeAws_json1_1OrganizationConfigRuleTriggerTypes = (output, context) => {
8096
8313
  const retVal = (output || [])
8097
8314
  .filter((e) => e != null)
@@ -8099,7 +8316,7 @@ const deserializeAws_json1_1OrganizationConfigRuleTriggerTypes = (output, contex
8099
8316
  if (entry === null) {
8100
8317
  return null;
8101
8318
  }
8102
- return smithy_client_1.expectString(entry);
8319
+ return (0, smithy_client_1.expectString)(entry);
8103
8320
  });
8104
8321
  return retVal;
8105
8322
  };
@@ -8108,28 +8325,28 @@ const deserializeAws_json1_1OrganizationConformancePack = (output, context) => {
8108
8325
  ConformancePackInputParameters: output.ConformancePackInputParameters !== undefined && output.ConformancePackInputParameters !== null
8109
8326
  ? deserializeAws_json1_1ConformancePackInputParameters(output.ConformancePackInputParameters, context)
8110
8327
  : undefined,
8111
- DeliveryS3Bucket: smithy_client_1.expectString(output.DeliveryS3Bucket),
8112
- DeliveryS3KeyPrefix: smithy_client_1.expectString(output.DeliveryS3KeyPrefix),
8328
+ DeliveryS3Bucket: (0, smithy_client_1.expectString)(output.DeliveryS3Bucket),
8329
+ DeliveryS3KeyPrefix: (0, smithy_client_1.expectString)(output.DeliveryS3KeyPrefix),
8113
8330
  ExcludedAccounts: output.ExcludedAccounts !== undefined && output.ExcludedAccounts !== null
8114
8331
  ? deserializeAws_json1_1ExcludedAccounts(output.ExcludedAccounts, context)
8115
8332
  : undefined,
8116
8333
  LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
8117
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTime)))
8334
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
8118
8335
  : undefined,
8119
- OrganizationConformancePackArn: smithy_client_1.expectString(output.OrganizationConformancePackArn),
8120
- OrganizationConformancePackName: smithy_client_1.expectString(output.OrganizationConformancePackName),
8336
+ OrganizationConformancePackArn: (0, smithy_client_1.expectString)(output.OrganizationConformancePackArn),
8337
+ OrganizationConformancePackName: (0, smithy_client_1.expectString)(output.OrganizationConformancePackName),
8121
8338
  };
8122
8339
  };
8123
8340
  const deserializeAws_json1_1OrganizationConformancePackDetailedStatus = (output, context) => {
8124
8341
  return {
8125
- AccountId: smithy_client_1.expectString(output.AccountId),
8126
- ConformancePackName: smithy_client_1.expectString(output.ConformancePackName),
8127
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
8128
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
8342
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
8343
+ ConformancePackName: (0, smithy_client_1.expectString)(output.ConformancePackName),
8344
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
8345
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
8129
8346
  LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
8130
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTime)))
8347
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
8131
8348
  : undefined,
8132
- Status: smithy_client_1.expectString(output.Status),
8349
+ Status: (0, smithy_client_1.expectString)(output.Status),
8133
8350
  };
8134
8351
  };
8135
8352
  const deserializeAws_json1_1OrganizationConformancePackDetailedStatuses = (output, context) => {
@@ -8156,13 +8373,13 @@ const deserializeAws_json1_1OrganizationConformancePacks = (output, context) =>
8156
8373
  };
8157
8374
  const deserializeAws_json1_1OrganizationConformancePackStatus = (output, context) => {
8158
8375
  return {
8159
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
8160
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
8376
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
8377
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
8161
8378
  LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
8162
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTime)))
8379
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
8163
8380
  : undefined,
8164
- OrganizationConformancePackName: smithy_client_1.expectString(output.OrganizationConformancePackName),
8165
- Status: smithy_client_1.expectString(output.Status),
8381
+ OrganizationConformancePackName: (0, smithy_client_1.expectString)(output.OrganizationConformancePackName),
8382
+ Status: (0, smithy_client_1.expectString)(output.Status),
8166
8383
  };
8167
8384
  };
8168
8385
  const deserializeAws_json1_1OrganizationConformancePackStatuses = (output, context) => {
@@ -8178,49 +8395,69 @@ const deserializeAws_json1_1OrganizationConformancePackStatuses = (output, conte
8178
8395
  };
8179
8396
  const deserializeAws_json1_1OrganizationConformancePackTemplateValidationException = (output, context) => {
8180
8397
  return {
8181
- message: smithy_client_1.expectString(output.message),
8398
+ message: (0, smithy_client_1.expectString)(output.message),
8399
+ };
8400
+ };
8401
+ const deserializeAws_json1_1OrganizationCustomPolicyRuleMetadataNoPolicy = (output, context) => {
8402
+ return {
8403
+ DebugLogDeliveryAccounts: output.DebugLogDeliveryAccounts !== undefined && output.DebugLogDeliveryAccounts !== null
8404
+ ? deserializeAws_json1_1DebugLogDeliveryAccounts(output.DebugLogDeliveryAccounts, context)
8405
+ : undefined,
8406
+ Description: (0, smithy_client_1.expectString)(output.Description),
8407
+ InputParameters: (0, smithy_client_1.expectString)(output.InputParameters),
8408
+ MaximumExecutionFrequency: (0, smithy_client_1.expectString)(output.MaximumExecutionFrequency),
8409
+ OrganizationConfigRuleTriggerTypes: output.OrganizationConfigRuleTriggerTypes !== undefined && output.OrganizationConfigRuleTriggerTypes !== null
8410
+ ? deserializeAws_json1_1OrganizationConfigRuleTriggerTypeNoSNs(output.OrganizationConfigRuleTriggerTypes, context)
8411
+ : undefined,
8412
+ PolicyRuntime: (0, smithy_client_1.expectString)(output.PolicyRuntime),
8413
+ ResourceIdScope: (0, smithy_client_1.expectString)(output.ResourceIdScope),
8414
+ ResourceTypesScope: output.ResourceTypesScope !== undefined && output.ResourceTypesScope !== null
8415
+ ? deserializeAws_json1_1ResourceTypesScope(output.ResourceTypesScope, context)
8416
+ : undefined,
8417
+ TagKeyScope: (0, smithy_client_1.expectString)(output.TagKeyScope),
8418
+ TagValueScope: (0, smithy_client_1.expectString)(output.TagValueScope),
8182
8419
  };
8183
8420
  };
8184
8421
  const deserializeAws_json1_1OrganizationCustomRuleMetadata = (output, context) => {
8185
8422
  return {
8186
- Description: smithy_client_1.expectString(output.Description),
8187
- InputParameters: smithy_client_1.expectString(output.InputParameters),
8188
- LambdaFunctionArn: smithy_client_1.expectString(output.LambdaFunctionArn),
8189
- MaximumExecutionFrequency: smithy_client_1.expectString(output.MaximumExecutionFrequency),
8423
+ Description: (0, smithy_client_1.expectString)(output.Description),
8424
+ InputParameters: (0, smithy_client_1.expectString)(output.InputParameters),
8425
+ LambdaFunctionArn: (0, smithy_client_1.expectString)(output.LambdaFunctionArn),
8426
+ MaximumExecutionFrequency: (0, smithy_client_1.expectString)(output.MaximumExecutionFrequency),
8190
8427
  OrganizationConfigRuleTriggerTypes: output.OrganizationConfigRuleTriggerTypes !== undefined && output.OrganizationConfigRuleTriggerTypes !== null
8191
8428
  ? deserializeAws_json1_1OrganizationConfigRuleTriggerTypes(output.OrganizationConfigRuleTriggerTypes, context)
8192
8429
  : undefined,
8193
- ResourceIdScope: smithy_client_1.expectString(output.ResourceIdScope),
8430
+ ResourceIdScope: (0, smithy_client_1.expectString)(output.ResourceIdScope),
8194
8431
  ResourceTypesScope: output.ResourceTypesScope !== undefined && output.ResourceTypesScope !== null
8195
8432
  ? deserializeAws_json1_1ResourceTypesScope(output.ResourceTypesScope, context)
8196
8433
  : undefined,
8197
- TagKeyScope: smithy_client_1.expectString(output.TagKeyScope),
8198
- TagValueScope: smithy_client_1.expectString(output.TagValueScope),
8434
+ TagKeyScope: (0, smithy_client_1.expectString)(output.TagKeyScope),
8435
+ TagValueScope: (0, smithy_client_1.expectString)(output.TagValueScope),
8199
8436
  };
8200
8437
  };
8201
8438
  const deserializeAws_json1_1OrganizationManagedRuleMetadata = (output, context) => {
8202
8439
  return {
8203
- Description: smithy_client_1.expectString(output.Description),
8204
- InputParameters: smithy_client_1.expectString(output.InputParameters),
8205
- MaximumExecutionFrequency: smithy_client_1.expectString(output.MaximumExecutionFrequency),
8206
- ResourceIdScope: smithy_client_1.expectString(output.ResourceIdScope),
8440
+ Description: (0, smithy_client_1.expectString)(output.Description),
8441
+ InputParameters: (0, smithy_client_1.expectString)(output.InputParameters),
8442
+ MaximumExecutionFrequency: (0, smithy_client_1.expectString)(output.MaximumExecutionFrequency),
8443
+ ResourceIdScope: (0, smithy_client_1.expectString)(output.ResourceIdScope),
8207
8444
  ResourceTypesScope: output.ResourceTypesScope !== undefined && output.ResourceTypesScope !== null
8208
8445
  ? deserializeAws_json1_1ResourceTypesScope(output.ResourceTypesScope, context)
8209
8446
  : undefined,
8210
- RuleIdentifier: smithy_client_1.expectString(output.RuleIdentifier),
8211
- TagKeyScope: smithy_client_1.expectString(output.TagKeyScope),
8212
- TagValueScope: smithy_client_1.expectString(output.TagValueScope),
8447
+ RuleIdentifier: (0, smithy_client_1.expectString)(output.RuleIdentifier),
8448
+ TagKeyScope: (0, smithy_client_1.expectString)(output.TagKeyScope),
8449
+ TagValueScope: (0, smithy_client_1.expectString)(output.TagValueScope),
8213
8450
  };
8214
8451
  };
8215
8452
  const deserializeAws_json1_1OversizedConfigurationItemException = (output, context) => {
8216
8453
  return {
8217
- message: smithy_client_1.expectString(output.message),
8454
+ message: (0, smithy_client_1.expectString)(output.message),
8218
8455
  };
8219
8456
  };
8220
8457
  const deserializeAws_json1_1PendingAggregationRequest = (output, context) => {
8221
8458
  return {
8222
- RequesterAccountId: smithy_client_1.expectString(output.RequesterAccountId),
8223
- RequesterAwsRegion: smithy_client_1.expectString(output.RequesterAwsRegion),
8459
+ RequesterAccountId: (0, smithy_client_1.expectString)(output.RequesterAccountId),
8460
+ RequesterAwsRegion: (0, smithy_client_1.expectString)(output.RequesterAwsRegion),
8224
8461
  };
8225
8462
  };
8226
8463
  const deserializeAws_json1_1PendingAggregationRequestList = (output, context) => {
@@ -8250,7 +8487,7 @@ const deserializeAws_json1_1PutConfigurationAggregatorResponse = (output, contex
8250
8487
  };
8251
8488
  const deserializeAws_json1_1PutConformancePackResponse = (output, context) => {
8252
8489
  return {
8253
- ConformancePackArn: smithy_client_1.expectString(output.ConformancePackArn),
8490
+ ConformancePackArn: (0, smithy_client_1.expectString)(output.ConformancePackArn),
8254
8491
  };
8255
8492
  };
8256
8493
  const deserializeAws_json1_1PutEvaluationsResponse = (output, context) => {
@@ -8265,12 +8502,12 @@ const deserializeAws_json1_1PutExternalEvaluationResponse = (output, context) =>
8265
8502
  };
8266
8503
  const deserializeAws_json1_1PutOrganizationConfigRuleResponse = (output, context) => {
8267
8504
  return {
8268
- OrganizationConfigRuleArn: smithy_client_1.expectString(output.OrganizationConfigRuleArn),
8505
+ OrganizationConfigRuleArn: (0, smithy_client_1.expectString)(output.OrganizationConfigRuleArn),
8269
8506
  };
8270
8507
  };
8271
8508
  const deserializeAws_json1_1PutOrganizationConformancePackResponse = (output, context) => {
8272
8509
  return {
8273
- OrganizationConformancePackArn: smithy_client_1.expectString(output.OrganizationConformancePackArn),
8510
+ OrganizationConformancePackArn: (0, smithy_client_1.expectString)(output.OrganizationConformancePackArn),
8274
8511
  };
8275
8512
  };
8276
8513
  const deserializeAws_json1_1PutRemediationConfigurationsResponse = (output, context) => {
@@ -8296,7 +8533,7 @@ const deserializeAws_json1_1PutRetentionConfigurationResponse = (output, context
8296
8533
  };
8297
8534
  const deserializeAws_json1_1PutStoredQueryResponse = (output, context) => {
8298
8535
  return {
8299
- QueryArn: smithy_client_1.expectString(output.QueryArn),
8536
+ QueryArn: (0, smithy_client_1.expectString)(output.QueryArn),
8300
8537
  };
8301
8538
  };
8302
8539
  const deserializeAws_json1_1QueryInfo = (output, context) => {
@@ -8308,8 +8545,8 @@ const deserializeAws_json1_1QueryInfo = (output, context) => {
8308
8545
  };
8309
8546
  const deserializeAws_json1_1RecordingGroup = (output, context) => {
8310
8547
  return {
8311
- allSupported: smithy_client_1.expectBoolean(output.allSupported),
8312
- includeGlobalResourceTypes: smithy_client_1.expectBoolean(output.includeGlobalResourceTypes),
8548
+ allSupported: (0, smithy_client_1.expectBoolean)(output.allSupported),
8549
+ includeGlobalResourceTypes: (0, smithy_client_1.expectBoolean)(output.includeGlobalResourceTypes),
8313
8550
  resourceTypes: output.resourceTypes !== undefined && output.resourceTypes !== null
8314
8551
  ? deserializeAws_json1_1ResourceTypeList(output.resourceTypes, context)
8315
8552
  : undefined,
@@ -8322,16 +8559,16 @@ const deserializeAws_json1_1RelatedEventList = (output, context) => {
8322
8559
  if (entry === null) {
8323
8560
  return null;
8324
8561
  }
8325
- return smithy_client_1.expectString(entry);
8562
+ return (0, smithy_client_1.expectString)(entry);
8326
8563
  });
8327
8564
  return retVal;
8328
8565
  };
8329
8566
  const deserializeAws_json1_1Relationship = (output, context) => {
8330
8567
  return {
8331
- relationshipName: smithy_client_1.expectString(output.relationshipName),
8332
- resourceId: smithy_client_1.expectString(output.resourceId),
8333
- resourceName: smithy_client_1.expectString(output.resourceName),
8334
- resourceType: smithy_client_1.expectString(output.resourceType),
8568
+ relationshipName: (0, smithy_client_1.expectString)(output.relationshipName),
8569
+ resourceId: (0, smithy_client_1.expectString)(output.resourceId),
8570
+ resourceName: (0, smithy_client_1.expectString)(output.resourceName),
8571
+ resourceType: (0, smithy_client_1.expectString)(output.resourceType),
8335
8572
  };
8336
8573
  };
8337
8574
  const deserializeAws_json1_1RelationshipList = (output, context) => {
@@ -8347,22 +8584,22 @@ const deserializeAws_json1_1RelationshipList = (output, context) => {
8347
8584
  };
8348
8585
  const deserializeAws_json1_1RemediationConfiguration = (output, context) => {
8349
8586
  return {
8350
- Arn: smithy_client_1.expectString(output.Arn),
8351
- Automatic: smithy_client_1.expectBoolean(output.Automatic),
8352
- ConfigRuleName: smithy_client_1.expectString(output.ConfigRuleName),
8353
- CreatedByService: smithy_client_1.expectString(output.CreatedByService),
8587
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
8588
+ Automatic: (0, smithy_client_1.expectBoolean)(output.Automatic),
8589
+ ConfigRuleName: (0, smithy_client_1.expectString)(output.ConfigRuleName),
8590
+ CreatedByService: (0, smithy_client_1.expectString)(output.CreatedByService),
8354
8591
  ExecutionControls: output.ExecutionControls !== undefined && output.ExecutionControls !== null
8355
8592
  ? deserializeAws_json1_1ExecutionControls(output.ExecutionControls, context)
8356
8593
  : undefined,
8357
- MaximumAutomaticAttempts: smithy_client_1.expectInt32(output.MaximumAutomaticAttempts),
8594
+ MaximumAutomaticAttempts: (0, smithy_client_1.expectInt32)(output.MaximumAutomaticAttempts),
8358
8595
  Parameters: output.Parameters !== undefined && output.Parameters !== null
8359
8596
  ? deserializeAws_json1_1RemediationParameters(output.Parameters, context)
8360
8597
  : undefined,
8361
- ResourceType: smithy_client_1.expectString(output.ResourceType),
8362
- RetryAttemptSeconds: smithy_client_1.expectLong(output.RetryAttemptSeconds),
8363
- TargetId: smithy_client_1.expectString(output.TargetId),
8364
- TargetType: smithy_client_1.expectString(output.TargetType),
8365
- TargetVersion: smithy_client_1.expectString(output.TargetVersion),
8598
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
8599
+ RetryAttemptSeconds: (0, smithy_client_1.expectLong)(output.RetryAttemptSeconds),
8600
+ TargetId: (0, smithy_client_1.expectString)(output.TargetId),
8601
+ TargetType: (0, smithy_client_1.expectString)(output.TargetType),
8602
+ TargetVersion: (0, smithy_client_1.expectString)(output.TargetVersion),
8366
8603
  };
8367
8604
  };
8368
8605
  const deserializeAws_json1_1RemediationConfigurations = (output, context) => {
@@ -8378,19 +8615,19 @@ const deserializeAws_json1_1RemediationConfigurations = (output, context) => {
8378
8615
  };
8379
8616
  const deserializeAws_json1_1RemediationException = (output, context) => {
8380
8617
  return {
8381
- ConfigRuleName: smithy_client_1.expectString(output.ConfigRuleName),
8618
+ ConfigRuleName: (0, smithy_client_1.expectString)(output.ConfigRuleName),
8382
8619
  ExpirationTime: output.ExpirationTime !== undefined && output.ExpirationTime !== null
8383
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpirationTime)))
8620
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpirationTime)))
8384
8621
  : undefined,
8385
- Message: smithy_client_1.expectString(output.Message),
8386
- ResourceId: smithy_client_1.expectString(output.ResourceId),
8387
- ResourceType: smithy_client_1.expectString(output.ResourceType),
8622
+ Message: (0, smithy_client_1.expectString)(output.Message),
8623
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
8624
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
8388
8625
  };
8389
8626
  };
8390
8627
  const deserializeAws_json1_1RemediationExceptionResourceKey = (output, context) => {
8391
8628
  return {
8392
- ResourceId: smithy_client_1.expectString(output.ResourceId),
8393
- ResourceType: smithy_client_1.expectString(output.ResourceType),
8629
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
8630
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
8394
8631
  };
8395
8632
  };
8396
8633
  const deserializeAws_json1_1RemediationExceptionResourceKeys = (output, context) => {
@@ -8418,15 +8655,15 @@ const deserializeAws_json1_1RemediationExceptions = (output, context) => {
8418
8655
  const deserializeAws_json1_1RemediationExecutionStatus = (output, context) => {
8419
8656
  return {
8420
8657
  InvocationTime: output.InvocationTime !== undefined && output.InvocationTime !== null
8421
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.InvocationTime)))
8658
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.InvocationTime)))
8422
8659
  : undefined,
8423
8660
  LastUpdatedTime: output.LastUpdatedTime !== undefined && output.LastUpdatedTime !== null
8424
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedTime)))
8661
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedTime)))
8425
8662
  : undefined,
8426
8663
  ResourceKey: output.ResourceKey !== undefined && output.ResourceKey !== null
8427
8664
  ? deserializeAws_json1_1ResourceKey(output.ResourceKey, context)
8428
8665
  : undefined,
8429
- State: smithy_client_1.expectString(output.State),
8666
+ State: (0, smithy_client_1.expectString)(output.State),
8430
8667
  StepDetails: output.StepDetails !== undefined && output.StepDetails !== null
8431
8668
  ? deserializeAws_json1_1RemediationExecutionSteps(output.StepDetails, context)
8432
8669
  : undefined,
@@ -8445,14 +8682,14 @@ const deserializeAws_json1_1RemediationExecutionStatuses = (output, context) =>
8445
8682
  };
8446
8683
  const deserializeAws_json1_1RemediationExecutionStep = (output, context) => {
8447
8684
  return {
8448
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
8449
- Name: smithy_client_1.expectString(output.Name),
8685
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
8686
+ Name: (0, smithy_client_1.expectString)(output.Name),
8450
8687
  StartTime: output.StartTime !== undefined && output.StartTime !== null
8451
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
8688
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
8452
8689
  : undefined,
8453
- State: smithy_client_1.expectString(output.State),
8690
+ State: (0, smithy_client_1.expectString)(output.State),
8454
8691
  StopTime: output.StopTime !== undefined && output.StopTime !== null
8455
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StopTime)))
8692
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StopTime)))
8456
8693
  : undefined,
8457
8694
  };
8458
8695
  };
@@ -8469,7 +8706,7 @@ const deserializeAws_json1_1RemediationExecutionSteps = (output, context) => {
8469
8706
  };
8470
8707
  const deserializeAws_json1_1RemediationInProgressException = (output, context) => {
8471
8708
  return {
8472
- message: smithy_client_1.expectString(output.message),
8709
+ message: (0, smithy_client_1.expectString)(output.message),
8473
8710
  };
8474
8711
  };
8475
8712
  const deserializeAws_json1_1RemediationParameters = (output, context) => {
@@ -8495,13 +8732,13 @@ const deserializeAws_json1_1RemediationParameterValue = (output, context) => {
8495
8732
  };
8496
8733
  const deserializeAws_json1_1ResourceConcurrentModificationException = (output, context) => {
8497
8734
  return {
8498
- message: smithy_client_1.expectString(output.message),
8735
+ message: (0, smithy_client_1.expectString)(output.message),
8499
8736
  };
8500
8737
  };
8501
8738
  const deserializeAws_json1_1ResourceCount = (output, context) => {
8502
8739
  return {
8503
- count: smithy_client_1.expectLong(output.count),
8504
- resourceType: smithy_client_1.expectString(output.resourceType),
8740
+ count: (0, smithy_client_1.expectLong)(output.count),
8741
+ resourceType: (0, smithy_client_1.expectString)(output.resourceType),
8505
8742
  };
8506
8743
  };
8507
8744
  const deserializeAws_json1_1ResourceCounts = (output, context) => {
@@ -8518,11 +8755,11 @@ const deserializeAws_json1_1ResourceCounts = (output, context) => {
8518
8755
  const deserializeAws_json1_1ResourceIdentifier = (output, context) => {
8519
8756
  return {
8520
8757
  resourceDeletionTime: output.resourceDeletionTime !== undefined && output.resourceDeletionTime !== null
8521
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.resourceDeletionTime)))
8758
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.resourceDeletionTime)))
8522
8759
  : undefined,
8523
- resourceId: smithy_client_1.expectString(output.resourceId),
8524
- resourceName: smithy_client_1.expectString(output.resourceName),
8525
- resourceType: smithy_client_1.expectString(output.resourceType),
8760
+ resourceId: (0, smithy_client_1.expectString)(output.resourceId),
8761
+ resourceName: (0, smithy_client_1.expectString)(output.resourceName),
8762
+ resourceType: (0, smithy_client_1.expectString)(output.resourceType),
8526
8763
  };
8527
8764
  };
8528
8765
  const deserializeAws_json1_1ResourceIdentifierList = (output, context) => {
@@ -8538,13 +8775,13 @@ const deserializeAws_json1_1ResourceIdentifierList = (output, context) => {
8538
8775
  };
8539
8776
  const deserializeAws_json1_1ResourceInUseException = (output, context) => {
8540
8777
  return {
8541
- message: smithy_client_1.expectString(output.message),
8778
+ message: (0, smithy_client_1.expectString)(output.message),
8542
8779
  };
8543
8780
  };
8544
8781
  const deserializeAws_json1_1ResourceKey = (output, context) => {
8545
8782
  return {
8546
- resourceId: smithy_client_1.expectString(output.resourceId),
8547
- resourceType: smithy_client_1.expectString(output.resourceType),
8783
+ resourceId: (0, smithy_client_1.expectString)(output.resourceId),
8784
+ resourceType: (0, smithy_client_1.expectString)(output.resourceType),
8548
8785
  };
8549
8786
  };
8550
8787
  const deserializeAws_json1_1ResourceKeys = (output, context) => {
@@ -8560,12 +8797,12 @@ const deserializeAws_json1_1ResourceKeys = (output, context) => {
8560
8797
  };
8561
8798
  const deserializeAws_json1_1ResourceNotDiscoveredException = (output, context) => {
8562
8799
  return {
8563
- message: smithy_client_1.expectString(output.message),
8800
+ message: (0, smithy_client_1.expectString)(output.message),
8564
8801
  };
8565
8802
  };
8566
8803
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
8567
8804
  return {
8568
- message: smithy_client_1.expectString(output.message),
8805
+ message: (0, smithy_client_1.expectString)(output.message),
8569
8806
  };
8570
8807
  };
8571
8808
  const deserializeAws_json1_1ResourceTypeList = (output, context) => {
@@ -8575,7 +8812,7 @@ const deserializeAws_json1_1ResourceTypeList = (output, context) => {
8575
8812
  if (entry === null) {
8576
8813
  return null;
8577
8814
  }
8578
- return smithy_client_1.expectString(entry);
8815
+ return (0, smithy_client_1.expectString)(entry);
8579
8816
  });
8580
8817
  return retVal;
8581
8818
  };
@@ -8586,13 +8823,13 @@ const deserializeAws_json1_1ResourceTypesScope = (output, context) => {
8586
8823
  if (entry === null) {
8587
8824
  return null;
8588
8825
  }
8589
- return smithy_client_1.expectString(entry);
8826
+ return (0, smithy_client_1.expectString)(entry);
8590
8827
  });
8591
8828
  return retVal;
8592
8829
  };
8593
8830
  const deserializeAws_json1_1ResourceValue = (output, context) => {
8594
8831
  return {
8595
- Value: smithy_client_1.expectString(output.Value),
8832
+ Value: (0, smithy_client_1.expectString)(output.Value),
8596
8833
  };
8597
8834
  };
8598
8835
  const deserializeAws_json1_1Results = (output, context) => {
@@ -8602,14 +8839,14 @@ const deserializeAws_json1_1Results = (output, context) => {
8602
8839
  if (entry === null) {
8603
8840
  return null;
8604
8841
  }
8605
- return smithy_client_1.expectString(entry);
8842
+ return (0, smithy_client_1.expectString)(entry);
8606
8843
  });
8607
8844
  return retVal;
8608
8845
  };
8609
8846
  const deserializeAws_json1_1RetentionConfiguration = (output, context) => {
8610
8847
  return {
8611
- Name: smithy_client_1.expectString(output.Name),
8612
- RetentionPeriodInDays: smithy_client_1.expectInt32(output.RetentionPeriodInDays),
8848
+ Name: (0, smithy_client_1.expectString)(output.Name),
8849
+ RetentionPeriodInDays: (0, smithy_client_1.expectInt32)(output.RetentionPeriodInDays),
8613
8850
  };
8614
8851
  };
8615
8852
  const deserializeAws_json1_1RetentionConfigurationList = (output, context) => {
@@ -8625,17 +8862,17 @@ const deserializeAws_json1_1RetentionConfigurationList = (output, context) => {
8625
8862
  };
8626
8863
  const deserializeAws_json1_1Scope = (output, context) => {
8627
8864
  return {
8628
- ComplianceResourceId: smithy_client_1.expectString(output.ComplianceResourceId),
8865
+ ComplianceResourceId: (0, smithy_client_1.expectString)(output.ComplianceResourceId),
8629
8866
  ComplianceResourceTypes: output.ComplianceResourceTypes !== undefined && output.ComplianceResourceTypes !== null
8630
8867
  ? deserializeAws_json1_1ComplianceResourceTypes(output.ComplianceResourceTypes, context)
8631
8868
  : undefined,
8632
- TagKey: smithy_client_1.expectString(output.TagKey),
8633
- TagValue: smithy_client_1.expectString(output.TagValue),
8869
+ TagKey: (0, smithy_client_1.expectString)(output.TagKey),
8870
+ TagValue: (0, smithy_client_1.expectString)(output.TagValue),
8634
8871
  };
8635
8872
  };
8636
8873
  const deserializeAws_json1_1SelectAggregateResourceConfigResponse = (output, context) => {
8637
8874
  return {
8638
- NextToken: smithy_client_1.expectString(output.NextToken),
8875
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
8639
8876
  QueryInfo: output.QueryInfo !== undefined && output.QueryInfo !== null
8640
8877
  ? deserializeAws_json1_1QueryInfo(output.QueryInfo, context)
8641
8878
  : undefined,
@@ -8646,7 +8883,7 @@ const deserializeAws_json1_1SelectAggregateResourceConfigResponse = (output, con
8646
8883
  };
8647
8884
  const deserializeAws_json1_1SelectResourceConfigResponse = (output, context) => {
8648
8885
  return {
8649
- NextToken: smithy_client_1.expectString(output.NextToken),
8886
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
8650
8887
  QueryInfo: output.QueryInfo !== undefined && output.QueryInfo !== null
8651
8888
  ? deserializeAws_json1_1QueryInfo(output.QueryInfo, context)
8652
8889
  : undefined,
@@ -8657,18 +8894,21 @@ const deserializeAws_json1_1SelectResourceConfigResponse = (output, context) =>
8657
8894
  };
8658
8895
  const deserializeAws_json1_1Source = (output, context) => {
8659
8896
  return {
8660
- Owner: smithy_client_1.expectString(output.Owner),
8897
+ CustomPolicyDetails: output.CustomPolicyDetails !== undefined && output.CustomPolicyDetails !== null
8898
+ ? deserializeAws_json1_1CustomPolicyDetails(output.CustomPolicyDetails, context)
8899
+ : undefined,
8900
+ Owner: (0, smithy_client_1.expectString)(output.Owner),
8661
8901
  SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
8662
8902
  ? deserializeAws_json1_1SourceDetails(output.SourceDetails, context)
8663
8903
  : undefined,
8664
- SourceIdentifier: smithy_client_1.expectString(output.SourceIdentifier),
8904
+ SourceIdentifier: (0, smithy_client_1.expectString)(output.SourceIdentifier),
8665
8905
  };
8666
8906
  };
8667
8907
  const deserializeAws_json1_1SourceDetail = (output, context) => {
8668
8908
  return {
8669
- EventSource: smithy_client_1.expectString(output.EventSource),
8670
- MaximumExecutionFrequency: smithy_client_1.expectString(output.MaximumExecutionFrequency),
8671
- MessageType: smithy_client_1.expectString(output.MessageType),
8909
+ EventSource: (0, smithy_client_1.expectString)(output.EventSource),
8910
+ MaximumExecutionFrequency: (0, smithy_client_1.expectString)(output.MaximumExecutionFrequency),
8911
+ MessageType: (0, smithy_client_1.expectString)(output.MessageType),
8672
8912
  };
8673
8913
  };
8674
8914
  const deserializeAws_json1_1SourceDetails = (output, context) => {
@@ -8684,8 +8924,8 @@ const deserializeAws_json1_1SourceDetails = (output, context) => {
8684
8924
  };
8685
8925
  const deserializeAws_json1_1SsmControls = (output, context) => {
8686
8926
  return {
8687
- ConcurrentExecutionRatePercentage: smithy_client_1.expectInt32(output.ConcurrentExecutionRatePercentage),
8688
- ErrorPercentage: smithy_client_1.expectInt32(output.ErrorPercentage),
8927
+ ConcurrentExecutionRatePercentage: (0, smithy_client_1.expectInt32)(output.ConcurrentExecutionRatePercentage),
8928
+ ErrorPercentage: (0, smithy_client_1.expectInt32)(output.ErrorPercentage),
8689
8929
  };
8690
8930
  };
8691
8931
  const deserializeAws_json1_1StartConfigRulesEvaluationResponse = (output, context) => {
@@ -8696,7 +8936,7 @@ const deserializeAws_json1_1StartRemediationExecutionResponse = (output, context
8696
8936
  FailedItems: output.FailedItems !== undefined && output.FailedItems !== null
8697
8937
  ? deserializeAws_json1_1ResourceKeys(output.FailedItems, context)
8698
8938
  : undefined,
8699
- FailureMessage: smithy_client_1.expectString(output.FailureMessage),
8939
+ FailureMessage: (0, smithy_client_1.expectString)(output.FailureMessage),
8700
8940
  };
8701
8941
  };
8702
8942
  const deserializeAws_json1_1StaticParameterValues = (output, context) => {
@@ -8706,7 +8946,7 @@ const deserializeAws_json1_1StaticParameterValues = (output, context) => {
8706
8946
  if (entry === null) {
8707
8947
  return null;
8708
8948
  }
8709
- return smithy_client_1.expectString(entry);
8949
+ return (0, smithy_client_1.expectString)(entry);
8710
8950
  });
8711
8951
  return retVal;
8712
8952
  };
@@ -8719,19 +8959,19 @@ const deserializeAws_json1_1StaticValue = (output, context) => {
8719
8959
  };
8720
8960
  const deserializeAws_json1_1StoredQuery = (output, context) => {
8721
8961
  return {
8722
- Description: smithy_client_1.expectString(output.Description),
8723
- Expression: smithy_client_1.expectString(output.Expression),
8724
- QueryArn: smithy_client_1.expectString(output.QueryArn),
8725
- QueryId: smithy_client_1.expectString(output.QueryId),
8726
- QueryName: smithy_client_1.expectString(output.QueryName),
8962
+ Description: (0, smithy_client_1.expectString)(output.Description),
8963
+ Expression: (0, smithy_client_1.expectString)(output.Expression),
8964
+ QueryArn: (0, smithy_client_1.expectString)(output.QueryArn),
8965
+ QueryId: (0, smithy_client_1.expectString)(output.QueryId),
8966
+ QueryName: (0, smithy_client_1.expectString)(output.QueryName),
8727
8967
  };
8728
8968
  };
8729
8969
  const deserializeAws_json1_1StoredQueryMetadata = (output, context) => {
8730
8970
  return {
8731
- Description: smithy_client_1.expectString(output.Description),
8732
- QueryArn: smithy_client_1.expectString(output.QueryArn),
8733
- QueryId: smithy_client_1.expectString(output.QueryId),
8734
- QueryName: smithy_client_1.expectString(output.QueryName),
8971
+ Description: (0, smithy_client_1.expectString)(output.Description),
8972
+ QueryArn: (0, smithy_client_1.expectString)(output.QueryArn),
8973
+ QueryId: (0, smithy_client_1.expectString)(output.QueryId),
8974
+ QueryName: (0, smithy_client_1.expectString)(output.QueryName),
8735
8975
  };
8736
8976
  };
8737
8977
  const deserializeAws_json1_1StoredQueryMetadataList = (output, context) => {
@@ -8752,14 +8992,14 @@ const deserializeAws_json1_1SupplementaryConfiguration = (output, context) => {
8752
8992
  }
8753
8993
  return {
8754
8994
  ...acc,
8755
- [key]: smithy_client_1.expectString(value),
8995
+ [key]: (0, smithy_client_1.expectString)(value),
8756
8996
  };
8757
8997
  }, {});
8758
8998
  };
8759
8999
  const deserializeAws_json1_1Tag = (output, context) => {
8760
9000
  return {
8761
- Key: smithy_client_1.expectString(output.Key),
8762
- Value: smithy_client_1.expectString(output.Value),
9001
+ Key: (0, smithy_client_1.expectString)(output.Key),
9002
+ Value: (0, smithy_client_1.expectString)(output.Value),
8763
9003
  };
8764
9004
  };
8765
9005
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -8780,13 +9020,13 @@ const deserializeAws_json1_1Tags = (output, context) => {
8780
9020
  }
8781
9021
  return {
8782
9022
  ...acc,
8783
- [key]: smithy_client_1.expectString(value),
9023
+ [key]: (0, smithy_client_1.expectString)(value),
8784
9024
  };
8785
9025
  }, {});
8786
9026
  };
8787
9027
  const deserializeAws_json1_1TooManyTagsException = (output, context) => {
8788
9028
  return {
8789
- message: smithy_client_1.expectString(output.message),
9029
+ message: (0, smithy_client_1.expectString)(output.message),
8790
9030
  };
8791
9031
  };
8792
9032
  const deserializeAws_json1_1UnprocessedResourceIdentifierList = (output, context) => {
@@ -8802,7 +9042,7 @@ const deserializeAws_json1_1UnprocessedResourceIdentifierList = (output, context
8802
9042
  };
8803
9043
  const deserializeAws_json1_1ValidationException = (output, context) => {
8804
9044
  return {
8805
- message: smithy_client_1.expectString(output.message),
9045
+ message: (0, smithy_client_1.expectString)(output.message),
8806
9046
  };
8807
9047
  };
8808
9048
  const deserializeMetadata = (output) => {