@aws-sdk/client-securityhub 3.477.0 → 3.481.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 (389) hide show
  1. package/dist-cjs/commands/AcceptAdministratorInvitationCommand.js +18 -41
  2. package/dist-cjs/commands/AcceptInvitationCommand.js +18 -41
  3. package/dist-cjs/commands/BatchDeleteAutomationRulesCommand.js +18 -41
  4. package/dist-cjs/commands/BatchDisableStandardsCommand.js +18 -41
  5. package/dist-cjs/commands/BatchEnableStandardsCommand.js +18 -41
  6. package/dist-cjs/commands/BatchGetAutomationRulesCommand.js +18 -41
  7. package/dist-cjs/commands/BatchGetConfigurationPolicyAssociationsCommand.js +18 -41
  8. package/dist-cjs/commands/BatchGetSecurityControlsCommand.js +18 -41
  9. package/dist-cjs/commands/BatchGetStandardsControlAssociationsCommand.js +18 -41
  10. package/dist-cjs/commands/BatchImportFindingsCommand.js +18 -41
  11. package/dist-cjs/commands/BatchUpdateAutomationRulesCommand.js +18 -41
  12. package/dist-cjs/commands/BatchUpdateFindingsCommand.js +18 -41
  13. package/dist-cjs/commands/BatchUpdateStandardsControlAssociationsCommand.js +18 -41
  14. package/dist-cjs/commands/CreateActionTargetCommand.js +18 -41
  15. package/dist-cjs/commands/CreateAutomationRuleCommand.js +18 -41
  16. package/dist-cjs/commands/CreateConfigurationPolicyCommand.js +18 -41
  17. package/dist-cjs/commands/CreateFindingAggregatorCommand.js +18 -41
  18. package/dist-cjs/commands/CreateInsightCommand.js +18 -41
  19. package/dist-cjs/commands/CreateMembersCommand.js +18 -41
  20. package/dist-cjs/commands/DeclineInvitationsCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteActionTargetCommand.js +18 -41
  22. package/dist-cjs/commands/DeleteConfigurationPolicyCommand.js +18 -41
  23. package/dist-cjs/commands/DeleteFindingAggregatorCommand.js +18 -41
  24. package/dist-cjs/commands/DeleteInsightCommand.js +18 -41
  25. package/dist-cjs/commands/DeleteInvitationsCommand.js +18 -41
  26. package/dist-cjs/commands/DeleteMembersCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeActionTargetsCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeHubCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeProductsCommand.js +18 -41
  31. package/dist-cjs/commands/DescribeStandardsCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeStandardsControlsCommand.js +18 -41
  33. package/dist-cjs/commands/DisableImportFindingsForProductCommand.js +18 -41
  34. package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +18 -41
  35. package/dist-cjs/commands/DisableSecurityHubCommand.js +18 -41
  36. package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +18 -41
  37. package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +18 -41
  38. package/dist-cjs/commands/DisassociateMembersCommand.js +18 -41
  39. package/dist-cjs/commands/EnableImportFindingsForProductCommand.js +18 -41
  40. package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +18 -41
  41. package/dist-cjs/commands/EnableSecurityHubCommand.js +18 -41
  42. package/dist-cjs/commands/GetAdministratorAccountCommand.js +18 -41
  43. package/dist-cjs/commands/GetConfigurationPolicyAssociationCommand.js +18 -41
  44. package/dist-cjs/commands/GetConfigurationPolicyCommand.js +18 -41
  45. package/dist-cjs/commands/GetEnabledStandardsCommand.js +18 -41
  46. package/dist-cjs/commands/GetFindingAggregatorCommand.js +18 -41
  47. package/dist-cjs/commands/GetFindingHistoryCommand.js +18 -41
  48. package/dist-cjs/commands/GetFindingsCommand.js +18 -41
  49. package/dist-cjs/commands/GetInsightResultsCommand.js +18 -41
  50. package/dist-cjs/commands/GetInsightsCommand.js +18 -41
  51. package/dist-cjs/commands/GetInvitationsCountCommand.js +18 -41
  52. package/dist-cjs/commands/GetMasterAccountCommand.js +18 -41
  53. package/dist-cjs/commands/GetMembersCommand.js +18 -41
  54. package/dist-cjs/commands/GetSecurityControlDefinitionCommand.js +18 -41
  55. package/dist-cjs/commands/InviteMembersCommand.js +18 -41
  56. package/dist-cjs/commands/ListAutomationRulesCommand.js +18 -41
  57. package/dist-cjs/commands/ListConfigurationPoliciesCommand.js +18 -41
  58. package/dist-cjs/commands/ListConfigurationPolicyAssociationsCommand.js +18 -41
  59. package/dist-cjs/commands/ListEnabledProductsForImportCommand.js +18 -41
  60. package/dist-cjs/commands/ListFindingAggregatorsCommand.js +18 -41
  61. package/dist-cjs/commands/ListInvitationsCommand.js +18 -41
  62. package/dist-cjs/commands/ListMembersCommand.js +18 -41
  63. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +18 -41
  64. package/dist-cjs/commands/ListSecurityControlDefinitionsCommand.js +18 -41
  65. package/dist-cjs/commands/ListStandardsControlAssociationsCommand.js +18 -41
  66. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  67. package/dist-cjs/commands/StartConfigurationPolicyAssociationCommand.js +18 -41
  68. package/dist-cjs/commands/StartConfigurationPolicyDisassociationCommand.js +18 -41
  69. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  70. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  71. package/dist-cjs/commands/UpdateActionTargetCommand.js +18 -41
  72. package/dist-cjs/commands/UpdateConfigurationPolicyCommand.js +18 -41
  73. package/dist-cjs/commands/UpdateFindingAggregatorCommand.js +18 -41
  74. package/dist-cjs/commands/UpdateFindingsCommand.js +18 -41
  75. package/dist-cjs/commands/UpdateInsightCommand.js +18 -41
  76. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +18 -41
  77. package/dist-cjs/commands/UpdateSecurityControlCommand.js +18 -41
  78. package/dist-cjs/commands/UpdateSecurityHubConfigurationCommand.js +18 -41
  79. package/dist-cjs/commands/UpdateStandardsControlCommand.js +18 -41
  80. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  81. package/dist-cjs/pagination/DescribeActionTargetsPaginator.js +2 -24
  82. package/dist-cjs/pagination/DescribeProductsPaginator.js +2 -24
  83. package/dist-cjs/pagination/DescribeStandardsControlsPaginator.js +2 -24
  84. package/dist-cjs/pagination/DescribeStandardsPaginator.js +2 -24
  85. package/dist-cjs/pagination/GetEnabledStandardsPaginator.js +2 -24
  86. package/dist-cjs/pagination/GetFindingHistoryPaginator.js +2 -24
  87. package/dist-cjs/pagination/GetFindingsPaginator.js +2 -24
  88. package/dist-cjs/pagination/GetInsightsPaginator.js +2 -24
  89. package/dist-cjs/pagination/ListConfigurationPoliciesPaginator.js +2 -24
  90. package/dist-cjs/pagination/ListConfigurationPolicyAssociationsPaginator.js +2 -24
  91. package/dist-cjs/pagination/ListEnabledProductsForImportPaginator.js +2 -24
  92. package/dist-cjs/pagination/ListFindingAggregatorsPaginator.js +2 -24
  93. package/dist-cjs/pagination/ListInvitationsPaginator.js +2 -24
  94. package/dist-cjs/pagination/ListMembersPaginator.js +2 -24
  95. package/dist-cjs/pagination/ListOrganizationAdminAccountsPaginator.js +2 -24
  96. package/dist-cjs/pagination/ListSecurityControlDefinitionsPaginator.js +2 -24
  97. package/dist-cjs/pagination/ListStandardsControlAssociationsPaginator.js +2 -24
  98. package/dist-es/commands/AcceptAdministratorInvitationCommand.js +18 -41
  99. package/dist-es/commands/AcceptInvitationCommand.js +18 -41
  100. package/dist-es/commands/BatchDeleteAutomationRulesCommand.js +18 -41
  101. package/dist-es/commands/BatchDisableStandardsCommand.js +18 -41
  102. package/dist-es/commands/BatchEnableStandardsCommand.js +18 -41
  103. package/dist-es/commands/BatchGetAutomationRulesCommand.js +18 -41
  104. package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +18 -41
  105. package/dist-es/commands/BatchGetSecurityControlsCommand.js +18 -41
  106. package/dist-es/commands/BatchGetStandardsControlAssociationsCommand.js +18 -41
  107. package/dist-es/commands/BatchImportFindingsCommand.js +18 -41
  108. package/dist-es/commands/BatchUpdateAutomationRulesCommand.js +18 -41
  109. package/dist-es/commands/BatchUpdateFindingsCommand.js +18 -41
  110. package/dist-es/commands/BatchUpdateStandardsControlAssociationsCommand.js +18 -41
  111. package/dist-es/commands/CreateActionTargetCommand.js +18 -41
  112. package/dist-es/commands/CreateAutomationRuleCommand.js +18 -41
  113. package/dist-es/commands/CreateConfigurationPolicyCommand.js +18 -41
  114. package/dist-es/commands/CreateFindingAggregatorCommand.js +18 -41
  115. package/dist-es/commands/CreateInsightCommand.js +18 -41
  116. package/dist-es/commands/CreateMembersCommand.js +18 -41
  117. package/dist-es/commands/DeclineInvitationsCommand.js +18 -41
  118. package/dist-es/commands/DeleteActionTargetCommand.js +18 -41
  119. package/dist-es/commands/DeleteConfigurationPolicyCommand.js +18 -41
  120. package/dist-es/commands/DeleteFindingAggregatorCommand.js +18 -41
  121. package/dist-es/commands/DeleteInsightCommand.js +18 -41
  122. package/dist-es/commands/DeleteInvitationsCommand.js +18 -41
  123. package/dist-es/commands/DeleteMembersCommand.js +18 -41
  124. package/dist-es/commands/DescribeActionTargetsCommand.js +18 -41
  125. package/dist-es/commands/DescribeHubCommand.js +18 -41
  126. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +18 -41
  127. package/dist-es/commands/DescribeProductsCommand.js +18 -41
  128. package/dist-es/commands/DescribeStandardsCommand.js +18 -41
  129. package/dist-es/commands/DescribeStandardsControlsCommand.js +18 -41
  130. package/dist-es/commands/DisableImportFindingsForProductCommand.js +18 -41
  131. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +18 -41
  132. package/dist-es/commands/DisableSecurityHubCommand.js +18 -41
  133. package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +18 -41
  134. package/dist-es/commands/DisassociateFromMasterAccountCommand.js +18 -41
  135. package/dist-es/commands/DisassociateMembersCommand.js +18 -41
  136. package/dist-es/commands/EnableImportFindingsForProductCommand.js +18 -41
  137. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +18 -41
  138. package/dist-es/commands/EnableSecurityHubCommand.js +18 -41
  139. package/dist-es/commands/GetAdministratorAccountCommand.js +18 -41
  140. package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +18 -41
  141. package/dist-es/commands/GetConfigurationPolicyCommand.js +18 -41
  142. package/dist-es/commands/GetEnabledStandardsCommand.js +18 -41
  143. package/dist-es/commands/GetFindingAggregatorCommand.js +18 -41
  144. package/dist-es/commands/GetFindingHistoryCommand.js +18 -41
  145. package/dist-es/commands/GetFindingsCommand.js +18 -41
  146. package/dist-es/commands/GetInsightResultsCommand.js +18 -41
  147. package/dist-es/commands/GetInsightsCommand.js +18 -41
  148. package/dist-es/commands/GetInvitationsCountCommand.js +18 -41
  149. package/dist-es/commands/GetMasterAccountCommand.js +18 -41
  150. package/dist-es/commands/GetMembersCommand.js +18 -41
  151. package/dist-es/commands/GetSecurityControlDefinitionCommand.js +18 -41
  152. package/dist-es/commands/InviteMembersCommand.js +18 -41
  153. package/dist-es/commands/ListAutomationRulesCommand.js +18 -41
  154. package/dist-es/commands/ListConfigurationPoliciesCommand.js +18 -41
  155. package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +18 -41
  156. package/dist-es/commands/ListEnabledProductsForImportCommand.js +18 -41
  157. package/dist-es/commands/ListFindingAggregatorsCommand.js +18 -41
  158. package/dist-es/commands/ListInvitationsCommand.js +18 -41
  159. package/dist-es/commands/ListMembersCommand.js +18 -41
  160. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +18 -41
  161. package/dist-es/commands/ListSecurityControlDefinitionsCommand.js +18 -41
  162. package/dist-es/commands/ListStandardsControlAssociationsCommand.js +18 -41
  163. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  164. package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +18 -41
  165. package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +18 -41
  166. package/dist-es/commands/TagResourceCommand.js +18 -41
  167. package/dist-es/commands/UntagResourceCommand.js +18 -41
  168. package/dist-es/commands/UpdateActionTargetCommand.js +18 -41
  169. package/dist-es/commands/UpdateConfigurationPolicyCommand.js +18 -41
  170. package/dist-es/commands/UpdateFindingAggregatorCommand.js +18 -41
  171. package/dist-es/commands/UpdateFindingsCommand.js +18 -41
  172. package/dist-es/commands/UpdateInsightCommand.js +18 -41
  173. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +18 -41
  174. package/dist-es/commands/UpdateSecurityControlCommand.js +18 -41
  175. package/dist-es/commands/UpdateSecurityHubConfigurationCommand.js +18 -41
  176. package/dist-es/commands/UpdateStandardsControlCommand.js +18 -41
  177. package/dist-es/endpoint/EndpointParameters.js +6 -0
  178. package/dist-es/pagination/DescribeActionTargetsPaginator.js +2 -23
  179. package/dist-es/pagination/DescribeProductsPaginator.js +2 -23
  180. package/dist-es/pagination/DescribeStandardsControlsPaginator.js +2 -23
  181. package/dist-es/pagination/DescribeStandardsPaginator.js +2 -23
  182. package/dist-es/pagination/GetEnabledStandardsPaginator.js +2 -23
  183. package/dist-es/pagination/GetFindingHistoryPaginator.js +2 -23
  184. package/dist-es/pagination/GetFindingsPaginator.js +2 -23
  185. package/dist-es/pagination/GetInsightsPaginator.js +2 -23
  186. package/dist-es/pagination/ListConfigurationPoliciesPaginator.js +2 -23
  187. package/dist-es/pagination/ListConfigurationPolicyAssociationsPaginator.js +2 -23
  188. package/dist-es/pagination/ListEnabledProductsForImportPaginator.js +2 -23
  189. package/dist-es/pagination/ListFindingAggregatorsPaginator.js +2 -23
  190. package/dist-es/pagination/ListInvitationsPaginator.js +2 -23
  191. package/dist-es/pagination/ListMembersPaginator.js +2 -23
  192. package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +2 -23
  193. package/dist-es/pagination/ListSecurityControlDefinitionsPaginator.js +2 -23
  194. package/dist-es/pagination/ListStandardsControlAssociationsPaginator.js +2 -23
  195. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +6 -21
  196. package/dist-types/commands/AcceptInvitationCommand.d.ts +6 -21
  197. package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +6 -21
  198. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +6 -21
  199. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +6 -21
  200. package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +6 -21
  201. package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +6 -21
  202. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +6 -21
  203. package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +6 -21
  204. package/dist-types/commands/BatchImportFindingsCommand.d.ts +6 -21
  205. package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +6 -21
  206. package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +6 -21
  207. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +6 -21
  208. package/dist-types/commands/CreateActionTargetCommand.d.ts +6 -21
  209. package/dist-types/commands/CreateAutomationRuleCommand.d.ts +6 -21
  210. package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +6 -21
  211. package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +6 -21
  212. package/dist-types/commands/CreateInsightCommand.d.ts +6 -21
  213. package/dist-types/commands/CreateMembersCommand.d.ts +6 -21
  214. package/dist-types/commands/DeclineInvitationsCommand.d.ts +6 -21
  215. package/dist-types/commands/DeleteActionTargetCommand.d.ts +6 -21
  216. package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +6 -21
  217. package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +6 -21
  218. package/dist-types/commands/DeleteInsightCommand.d.ts +6 -21
  219. package/dist-types/commands/DeleteInvitationsCommand.d.ts +6 -21
  220. package/dist-types/commands/DeleteMembersCommand.d.ts +6 -21
  221. package/dist-types/commands/DescribeActionTargetsCommand.d.ts +6 -21
  222. package/dist-types/commands/DescribeHubCommand.d.ts +6 -21
  223. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +6 -21
  224. package/dist-types/commands/DescribeProductsCommand.d.ts +6 -21
  225. package/dist-types/commands/DescribeStandardsCommand.d.ts +6 -21
  226. package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +6 -21
  227. package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +6 -21
  228. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +6 -21
  229. package/dist-types/commands/DisableSecurityHubCommand.d.ts +6 -21
  230. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +6 -21
  231. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +6 -21
  232. package/dist-types/commands/DisassociateMembersCommand.d.ts +6 -21
  233. package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +6 -21
  234. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +6 -21
  235. package/dist-types/commands/EnableSecurityHubCommand.d.ts +6 -21
  236. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +6 -21
  237. package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +6 -21
  238. package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +6 -21
  239. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +6 -21
  240. package/dist-types/commands/GetFindingAggregatorCommand.d.ts +6 -21
  241. package/dist-types/commands/GetFindingHistoryCommand.d.ts +6 -21
  242. package/dist-types/commands/GetFindingsCommand.d.ts +6 -21
  243. package/dist-types/commands/GetInsightResultsCommand.d.ts +6 -21
  244. package/dist-types/commands/GetInsightsCommand.d.ts +6 -21
  245. package/dist-types/commands/GetInvitationsCountCommand.d.ts +6 -21
  246. package/dist-types/commands/GetMasterAccountCommand.d.ts +6 -21
  247. package/dist-types/commands/GetMembersCommand.d.ts +6 -21
  248. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +6 -21
  249. package/dist-types/commands/InviteMembersCommand.d.ts +6 -21
  250. package/dist-types/commands/ListAutomationRulesCommand.d.ts +6 -21
  251. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +6 -21
  252. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +6 -21
  253. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +6 -21
  254. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +6 -21
  255. package/dist-types/commands/ListInvitationsCommand.d.ts +6 -21
  256. package/dist-types/commands/ListMembersCommand.d.ts +6 -21
  257. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +6 -21
  258. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +6 -21
  259. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +6 -21
  260. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  261. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +6 -21
  262. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +6 -21
  263. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  264. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  265. package/dist-types/commands/UpdateActionTargetCommand.d.ts +6 -21
  266. package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +6 -21
  267. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +6 -21
  268. package/dist-types/commands/UpdateFindingsCommand.d.ts +6 -21
  269. package/dist-types/commands/UpdateInsightCommand.d.ts +6 -21
  270. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +6 -21
  271. package/dist-types/commands/UpdateSecurityControlCommand.d.ts +6 -21
  272. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +6 -21
  273. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +6 -21
  274. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  275. package/dist-types/pagination/DescribeActionTargetsPaginator.d.ts +1 -1
  276. package/dist-types/pagination/DescribeProductsPaginator.d.ts +1 -1
  277. package/dist-types/pagination/DescribeStandardsControlsPaginator.d.ts +1 -1
  278. package/dist-types/pagination/DescribeStandardsPaginator.d.ts +1 -1
  279. package/dist-types/pagination/GetEnabledStandardsPaginator.d.ts +1 -1
  280. package/dist-types/pagination/GetFindingHistoryPaginator.d.ts +1 -1
  281. package/dist-types/pagination/GetFindingsPaginator.d.ts +1 -1
  282. package/dist-types/pagination/GetInsightsPaginator.d.ts +1 -1
  283. package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +1 -1
  284. package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +1 -1
  285. package/dist-types/pagination/ListEnabledProductsForImportPaginator.d.ts +1 -1
  286. package/dist-types/pagination/ListFindingAggregatorsPaginator.d.ts +1 -1
  287. package/dist-types/pagination/ListInvitationsPaginator.d.ts +1 -1
  288. package/dist-types/pagination/ListMembersPaginator.d.ts +1 -1
  289. package/dist-types/pagination/ListOrganizationAdminAccountsPaginator.d.ts +1 -1
  290. package/dist-types/pagination/ListSecurityControlDefinitionsPaginator.d.ts +1 -1
  291. package/dist-types/pagination/ListStandardsControlAssociationsPaginator.d.ts +1 -1
  292. package/dist-types/ts3.4/commands/AcceptAdministratorInvitationCommand.d.ts +12 -24
  293. package/dist-types/ts3.4/commands/AcceptInvitationCommand.d.ts +14 -23
  294. package/dist-types/ts3.4/commands/BatchDeleteAutomationRulesCommand.d.ts +12 -24
  295. package/dist-types/ts3.4/commands/BatchDisableStandardsCommand.d.ts +12 -24
  296. package/dist-types/ts3.4/commands/BatchEnableStandardsCommand.d.ts +12 -24
  297. package/dist-types/ts3.4/commands/BatchGetAutomationRulesCommand.d.ts +12 -24
  298. package/dist-types/ts3.4/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +12 -24
  299. package/dist-types/ts3.4/commands/BatchGetSecurityControlsCommand.d.ts +12 -24
  300. package/dist-types/ts3.4/commands/BatchGetStandardsControlAssociationsCommand.d.ts +12 -24
  301. package/dist-types/ts3.4/commands/BatchImportFindingsCommand.d.ts +14 -23
  302. package/dist-types/ts3.4/commands/BatchUpdateAutomationRulesCommand.d.ts +12 -24
  303. package/dist-types/ts3.4/commands/BatchUpdateFindingsCommand.d.ts +14 -23
  304. package/dist-types/ts3.4/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +12 -24
  305. package/dist-types/ts3.4/commands/CreateActionTargetCommand.d.ts +14 -23
  306. package/dist-types/ts3.4/commands/CreateAutomationRuleCommand.d.ts +12 -24
  307. package/dist-types/ts3.4/commands/CreateConfigurationPolicyCommand.d.ts +12 -24
  308. package/dist-types/ts3.4/commands/CreateFindingAggregatorCommand.d.ts +12 -24
  309. package/dist-types/ts3.4/commands/CreateInsightCommand.d.ts +14 -23
  310. package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +14 -23
  311. package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +14 -23
  312. package/dist-types/ts3.4/commands/DeleteActionTargetCommand.d.ts +14 -23
  313. package/dist-types/ts3.4/commands/DeleteConfigurationPolicyCommand.d.ts +12 -24
  314. package/dist-types/ts3.4/commands/DeleteFindingAggregatorCommand.d.ts +12 -24
  315. package/dist-types/ts3.4/commands/DeleteInsightCommand.d.ts +14 -23
  316. package/dist-types/ts3.4/commands/DeleteInvitationsCommand.d.ts +14 -23
  317. package/dist-types/ts3.4/commands/DeleteMembersCommand.d.ts +14 -23
  318. package/dist-types/ts3.4/commands/DescribeActionTargetsCommand.d.ts +12 -24
  319. package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +14 -23
  320. package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +12 -24
  321. package/dist-types/ts3.4/commands/DescribeProductsCommand.d.ts +14 -23
  322. package/dist-types/ts3.4/commands/DescribeStandardsCommand.d.ts +14 -23
  323. package/dist-types/ts3.4/commands/DescribeStandardsControlsCommand.d.ts +12 -24
  324. package/dist-types/ts3.4/commands/DisableImportFindingsForProductCommand.d.ts +12 -24
  325. package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +12 -24
  326. package/dist-types/ts3.4/commands/DisableSecurityHubCommand.d.ts +14 -23
  327. package/dist-types/ts3.4/commands/DisassociateFromAdministratorAccountCommand.d.ts +12 -24
  328. package/dist-types/ts3.4/commands/DisassociateFromMasterAccountCommand.d.ts +12 -24
  329. package/dist-types/ts3.4/commands/DisassociateMembersCommand.d.ts +14 -23
  330. package/dist-types/ts3.4/commands/EnableImportFindingsForProductCommand.d.ts +12 -24
  331. package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +12 -24
  332. package/dist-types/ts3.4/commands/EnableSecurityHubCommand.d.ts +14 -23
  333. package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +12 -24
  334. package/dist-types/ts3.4/commands/GetConfigurationPolicyAssociationCommand.d.ts +12 -24
  335. package/dist-types/ts3.4/commands/GetConfigurationPolicyCommand.d.ts +12 -24
  336. package/dist-types/ts3.4/commands/GetEnabledStandardsCommand.d.ts +14 -23
  337. package/dist-types/ts3.4/commands/GetFindingAggregatorCommand.d.ts +12 -24
  338. package/dist-types/ts3.4/commands/GetFindingHistoryCommand.d.ts +14 -23
  339. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +14 -23
  340. package/dist-types/ts3.4/commands/GetInsightResultsCommand.d.ts +14 -23
  341. package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +14 -23
  342. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +14 -23
  343. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +14 -23
  344. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +14 -23
  345. package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +12 -24
  346. package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +14 -23
  347. package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +14 -23
  348. package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +12 -24
  349. package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +12 -24
  350. package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +12 -24
  351. package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +12 -24
  352. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +14 -23
  353. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +14 -23
  354. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +12 -24
  355. package/dist-types/ts3.4/commands/ListSecurityControlDefinitionsCommand.d.ts +12 -24
  356. package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +12 -24
  357. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  358. package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +12 -24
  359. package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +12 -24
  360. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  361. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  362. package/dist-types/ts3.4/commands/UpdateActionTargetCommand.d.ts +14 -23
  363. package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +12 -24
  364. package/dist-types/ts3.4/commands/UpdateFindingAggregatorCommand.d.ts +12 -24
  365. package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +14 -23
  366. package/dist-types/ts3.4/commands/UpdateInsightCommand.d.ts +14 -23
  367. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +12 -24
  368. package/dist-types/ts3.4/commands/UpdateSecurityControlCommand.d.ts +12 -24
  369. package/dist-types/ts3.4/commands/UpdateSecurityHubConfigurationCommand.d.ts +12 -24
  370. package/dist-types/ts3.4/commands/UpdateStandardsControlCommand.d.ts +12 -24
  371. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  372. package/dist-types/ts3.4/pagination/DescribeActionTargetsPaginator.d.ts +3 -3
  373. package/dist-types/ts3.4/pagination/DescribeProductsPaginator.d.ts +3 -3
  374. package/dist-types/ts3.4/pagination/DescribeStandardsControlsPaginator.d.ts +3 -3
  375. package/dist-types/ts3.4/pagination/DescribeStandardsPaginator.d.ts +3 -3
  376. package/dist-types/ts3.4/pagination/GetEnabledStandardsPaginator.d.ts +3 -3
  377. package/dist-types/ts3.4/pagination/GetFindingHistoryPaginator.d.ts +3 -3
  378. package/dist-types/ts3.4/pagination/GetFindingsPaginator.d.ts +3 -3
  379. package/dist-types/ts3.4/pagination/GetInsightsPaginator.d.ts +3 -3
  380. package/dist-types/ts3.4/pagination/ListConfigurationPoliciesPaginator.d.ts +3 -3
  381. package/dist-types/ts3.4/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +3 -3
  382. package/dist-types/ts3.4/pagination/ListEnabledProductsForImportPaginator.d.ts +3 -3
  383. package/dist-types/ts3.4/pagination/ListFindingAggregatorsPaginator.d.ts +3 -3
  384. package/dist-types/ts3.4/pagination/ListInvitationsPaginator.d.ts +3 -3
  385. package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +3 -3
  386. package/dist-types/ts3.4/pagination/ListOrganizationAdminAccountsPaginator.d.ts +3 -3
  387. package/dist-types/ts3.4/pagination/ListSecurityControlDefinitionsPaginator.d.ts +3 -3
  388. package/dist-types/ts3.4/pagination/ListStandardsControlAssociationsPaginator.d.ts +3 -3
  389. package/package.json +11 -11
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateFindingAggregatorCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateFindingAggregatorCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SecurityHubClient";
29
- const commandName = "UpdateFindingAggregatorCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "SecurityHubAPIService",
38
- operation: "UpdateFindingAggregator",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateFindingAggregatorCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateFindingAggregatorCommand)(output, context);
49
- }
10
+ class UpdateFindingAggregatorCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("SecurityHubAPIService", "UpdateFindingAggregator", {})
22
+ .n("SecurityHubClient", "UpdateFindingAggregatorCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateFindingAggregatorCommand)
25
+ .de(Aws_restJson1_1.de_UpdateFindingAggregatorCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateFindingAggregatorCommand = UpdateFindingAggregatorCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateFindingsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateFindingsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SecurityHubClient";
29
- const commandName = "UpdateFindingsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "SecurityHubAPIService",
38
- operation: "UpdateFindings",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateFindingsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateFindingsCommand)(output, context);
49
- }
10
+ class UpdateFindingsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("SecurityHubAPIService", "UpdateFindings", {})
22
+ .n("SecurityHubClient", "UpdateFindingsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateFindingsCommand)
25
+ .de(Aws_restJson1_1.de_UpdateFindingsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateFindingsCommand = UpdateFindingsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateInsightCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateInsightCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SecurityHubClient";
29
- const commandName = "UpdateInsightCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "SecurityHubAPIService",
38
- operation: "UpdateInsight",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateInsightCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateInsightCommand)(output, context);
49
- }
10
+ class UpdateInsightCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("SecurityHubAPIService", "UpdateInsight", {})
22
+ .n("SecurityHubClient", "UpdateInsightCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateInsightCommand)
25
+ .de(Aws_restJson1_1.de_UpdateInsightCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateInsightCommand = UpdateInsightCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateOrganizationConfigurationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SecurityHubClient";
29
- const commandName = "UpdateOrganizationConfigurationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "SecurityHubAPIService",
38
- operation: "UpdateOrganizationConfiguration",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateOrganizationConfigurationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateOrganizationConfigurationCommand)(output, context);
49
- }
10
+ class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("SecurityHubAPIService", "UpdateOrganizationConfiguration", {})
22
+ .n("SecurityHubClient", "UpdateOrganizationConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateOrganizationConfigurationCommand)
25
+ .de(Aws_restJson1_1.de_UpdateOrganizationConfigurationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateOrganizationConfigurationCommand = UpdateOrganizationConfigurationCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateSecurityControlCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateSecurityControlCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SecurityHubClient";
29
- const commandName = "UpdateSecurityControlCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "SecurityHubAPIService",
38
- operation: "UpdateSecurityControl",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateSecurityControlCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateSecurityControlCommand)(output, context);
49
- }
10
+ class UpdateSecurityControlCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("SecurityHubAPIService", "UpdateSecurityControl", {})
22
+ .n("SecurityHubClient", "UpdateSecurityControlCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateSecurityControlCommand)
25
+ .de(Aws_restJson1_1.de_UpdateSecurityControlCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateSecurityControlCommand = UpdateSecurityControlCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateSecurityHubConfigurationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateSecurityHubConfigurationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SecurityHubClient";
29
- const commandName = "UpdateSecurityHubConfigurationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "SecurityHubAPIService",
38
- operation: "UpdateSecurityHubConfiguration",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateSecurityHubConfigurationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateSecurityHubConfigurationCommand)(output, context);
49
- }
10
+ class UpdateSecurityHubConfigurationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("SecurityHubAPIService", "UpdateSecurityHubConfiguration", {})
22
+ .n("SecurityHubClient", "UpdateSecurityHubConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateSecurityHubConfigurationCommand)
25
+ .de(Aws_restJson1_1.de_UpdateSecurityHubConfigurationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateSecurityHubConfigurationCommand = UpdateSecurityHubConfigurationCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateStandardsControlCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateStandardsControlCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "SecurityHubClient";
29
- const commandName = "UpdateStandardsControlCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "SecurityHubAPIService",
38
- operation: "UpdateStandardsControl",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateStandardsControlCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateStandardsControlCommand)(output, context);
49
- }
10
+ class UpdateStandardsControlCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("SecurityHubAPIService", "UpdateStandardsControl", {})
22
+ .n("SecurityHubClient", "UpdateStandardsControlCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateStandardsControlCommand)
25
+ .de(Aws_restJson1_1.de_UpdateStandardsControlCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateStandardsControlCommand = UpdateStandardsControlCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeActionTargets = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeActionTargetsCommand_1 = require("../commands/DescribeActionTargetsCommand");
5
6
  const SecurityHubClient_1 = require("../SecurityHubClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeActionTargetsCommand_1.DescribeActionTargetsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeActionTargets(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeActionTargets = paginateDescribeActionTargets;
7
+ exports.paginateDescribeActionTargets = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, DescribeActionTargetsCommand_1.DescribeActionTargetsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeProducts = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeProductsCommand_1 = require("../commands/DescribeProductsCommand");
5
6
  const SecurityHubClient_1 = require("../SecurityHubClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeProductsCommand_1.DescribeProductsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeProducts(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeProducts = paginateDescribeProducts;
7
+ exports.paginateDescribeProducts = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, DescribeProductsCommand_1.DescribeProductsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeStandardsControls = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeStandardsControlsCommand_1 = require("../commands/DescribeStandardsControlsCommand");
5
6
  const SecurityHubClient_1 = require("../SecurityHubClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeStandardsControlsCommand_1.DescribeStandardsControlsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeStandardsControls(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeStandardsControls = paginateDescribeStandardsControls;
7
+ exports.paginateDescribeStandardsControls = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, DescribeStandardsControlsCommand_1.DescribeStandardsControlsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeStandards = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeStandardsCommand_1 = require("../commands/DescribeStandardsCommand");
5
6
  const SecurityHubClient_1 = require("../SecurityHubClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeStandardsCommand_1.DescribeStandardsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeStandards(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof SecurityHubClient_1.SecurityHubClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected SecurityHub | SecurityHubClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeStandards = paginateDescribeStandards;
7
+ exports.paginateDescribeStandards = (0, core_1.createPaginator)(SecurityHubClient_1.SecurityHubClient, DescribeStandardsCommand_1.DescribeStandardsCommand, "NextToken", "NextToken", "MaxResults");