@aws-sdk/client-inspector2 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 (229) hide show
  1. package/dist-cjs/commands/AssociateMemberCommand.js +18 -41
  2. package/dist-cjs/commands/BatchGetAccountStatusCommand.js +18 -41
  3. package/dist-cjs/commands/BatchGetCodeSnippetCommand.js +18 -41
  4. package/dist-cjs/commands/BatchGetFindingDetailsCommand.js +18 -41
  5. package/dist-cjs/commands/BatchGetFreeTrialInfoCommand.js +18 -41
  6. package/dist-cjs/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +18 -41
  7. package/dist-cjs/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +18 -41
  8. package/dist-cjs/commands/CancelFindingsReportCommand.js +18 -41
  9. package/dist-cjs/commands/CancelSbomExportCommand.js +18 -41
  10. package/dist-cjs/commands/CreateFilterCommand.js +18 -41
  11. package/dist-cjs/commands/CreateFindingsReportCommand.js +18 -41
  12. package/dist-cjs/commands/CreateSbomExportCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteFilterCommand.js +18 -41
  14. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +18 -41
  15. package/dist-cjs/commands/DisableCommand.js +18 -41
  16. package/dist-cjs/commands/DisableDelegatedAdminAccountCommand.js +18 -41
  17. package/dist-cjs/commands/DisassociateMemberCommand.js +18 -41
  18. package/dist-cjs/commands/EnableCommand.js +18 -41
  19. package/dist-cjs/commands/EnableDelegatedAdminAccountCommand.js +18 -41
  20. package/dist-cjs/commands/GetConfigurationCommand.js +18 -41
  21. package/dist-cjs/commands/GetDelegatedAdminAccountCommand.js +18 -41
  22. package/dist-cjs/commands/GetEc2DeepInspectionConfigurationCommand.js +18 -41
  23. package/dist-cjs/commands/GetEncryptionKeyCommand.js +18 -41
  24. package/dist-cjs/commands/GetFindingsReportStatusCommand.js +18 -41
  25. package/dist-cjs/commands/GetMemberCommand.js +18 -41
  26. package/dist-cjs/commands/GetSbomExportCommand.js +18 -41
  27. package/dist-cjs/commands/ListAccountPermissionsCommand.js +18 -41
  28. package/dist-cjs/commands/ListCoverageCommand.js +18 -41
  29. package/dist-cjs/commands/ListCoverageStatisticsCommand.js +18 -41
  30. package/dist-cjs/commands/ListDelegatedAdminAccountsCommand.js +18 -41
  31. package/dist-cjs/commands/ListFiltersCommand.js +18 -41
  32. package/dist-cjs/commands/ListFindingAggregationsCommand.js +18 -41
  33. package/dist-cjs/commands/ListFindingsCommand.js +18 -41
  34. package/dist-cjs/commands/ListMembersCommand.js +18 -41
  35. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  36. package/dist-cjs/commands/ListUsageTotalsCommand.js +18 -41
  37. package/dist-cjs/commands/ResetEncryptionKeyCommand.js +18 -41
  38. package/dist-cjs/commands/SearchVulnerabilitiesCommand.js +18 -41
  39. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  40. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  41. package/dist-cjs/commands/UpdateConfigurationCommand.js +18 -41
  42. package/dist-cjs/commands/UpdateEc2DeepInspectionConfigurationCommand.js +18 -41
  43. package/dist-cjs/commands/UpdateEncryptionKeyCommand.js +18 -41
  44. package/dist-cjs/commands/UpdateFilterCommand.js +18 -41
  45. package/dist-cjs/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +18 -41
  46. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +18 -41
  47. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  48. package/dist-cjs/pagination/ListAccountPermissionsPaginator.js +2 -24
  49. package/dist-cjs/pagination/ListCoveragePaginator.js +2 -24
  50. package/dist-cjs/pagination/ListCoverageStatisticsPaginator.js +2 -23
  51. package/dist-cjs/pagination/ListDelegatedAdminAccountsPaginator.js +2 -24
  52. package/dist-cjs/pagination/ListFiltersPaginator.js +2 -24
  53. package/dist-cjs/pagination/ListFindingAggregationsPaginator.js +2 -24
  54. package/dist-cjs/pagination/ListFindingsPaginator.js +2 -24
  55. package/dist-cjs/pagination/ListMembersPaginator.js +2 -24
  56. package/dist-cjs/pagination/ListUsageTotalsPaginator.js +2 -24
  57. package/dist-cjs/pagination/SearchVulnerabilitiesPaginator.js +2 -23
  58. package/dist-es/commands/AssociateMemberCommand.js +18 -41
  59. package/dist-es/commands/BatchGetAccountStatusCommand.js +18 -41
  60. package/dist-es/commands/BatchGetCodeSnippetCommand.js +18 -41
  61. package/dist-es/commands/BatchGetFindingDetailsCommand.js +18 -41
  62. package/dist-es/commands/BatchGetFreeTrialInfoCommand.js +18 -41
  63. package/dist-es/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +18 -41
  64. package/dist-es/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +18 -41
  65. package/dist-es/commands/CancelFindingsReportCommand.js +18 -41
  66. package/dist-es/commands/CancelSbomExportCommand.js +18 -41
  67. package/dist-es/commands/CreateFilterCommand.js +18 -41
  68. package/dist-es/commands/CreateFindingsReportCommand.js +18 -41
  69. package/dist-es/commands/CreateSbomExportCommand.js +18 -41
  70. package/dist-es/commands/DeleteFilterCommand.js +18 -41
  71. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +18 -41
  72. package/dist-es/commands/DisableCommand.js +18 -41
  73. package/dist-es/commands/DisableDelegatedAdminAccountCommand.js +18 -41
  74. package/dist-es/commands/DisassociateMemberCommand.js +18 -41
  75. package/dist-es/commands/EnableCommand.js +18 -41
  76. package/dist-es/commands/EnableDelegatedAdminAccountCommand.js +18 -41
  77. package/dist-es/commands/GetConfigurationCommand.js +18 -41
  78. package/dist-es/commands/GetDelegatedAdminAccountCommand.js +18 -41
  79. package/dist-es/commands/GetEc2DeepInspectionConfigurationCommand.js +18 -41
  80. package/dist-es/commands/GetEncryptionKeyCommand.js +18 -41
  81. package/dist-es/commands/GetFindingsReportStatusCommand.js +18 -41
  82. package/dist-es/commands/GetMemberCommand.js +18 -41
  83. package/dist-es/commands/GetSbomExportCommand.js +18 -41
  84. package/dist-es/commands/ListAccountPermissionsCommand.js +18 -41
  85. package/dist-es/commands/ListCoverageCommand.js +18 -41
  86. package/dist-es/commands/ListCoverageStatisticsCommand.js +18 -41
  87. package/dist-es/commands/ListDelegatedAdminAccountsCommand.js +18 -41
  88. package/dist-es/commands/ListFiltersCommand.js +18 -41
  89. package/dist-es/commands/ListFindingAggregationsCommand.js +18 -41
  90. package/dist-es/commands/ListFindingsCommand.js +18 -41
  91. package/dist-es/commands/ListMembersCommand.js +18 -41
  92. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  93. package/dist-es/commands/ListUsageTotalsCommand.js +18 -41
  94. package/dist-es/commands/ResetEncryptionKeyCommand.js +18 -41
  95. package/dist-es/commands/SearchVulnerabilitiesCommand.js +18 -41
  96. package/dist-es/commands/TagResourceCommand.js +18 -41
  97. package/dist-es/commands/UntagResourceCommand.js +18 -41
  98. package/dist-es/commands/UpdateConfigurationCommand.js +18 -41
  99. package/dist-es/commands/UpdateEc2DeepInspectionConfigurationCommand.js +18 -41
  100. package/dist-es/commands/UpdateEncryptionKeyCommand.js +18 -41
  101. package/dist-es/commands/UpdateFilterCommand.js +18 -41
  102. package/dist-es/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +18 -41
  103. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +18 -41
  104. package/dist-es/endpoint/EndpointParameters.js +6 -0
  105. package/dist-es/pagination/ListAccountPermissionsPaginator.js +2 -23
  106. package/dist-es/pagination/ListCoveragePaginator.js +2 -23
  107. package/dist-es/pagination/ListCoverageStatisticsPaginator.js +2 -22
  108. package/dist-es/pagination/ListDelegatedAdminAccountsPaginator.js +2 -23
  109. package/dist-es/pagination/ListFiltersPaginator.js +2 -23
  110. package/dist-es/pagination/ListFindingAggregationsPaginator.js +2 -23
  111. package/dist-es/pagination/ListFindingsPaginator.js +2 -23
  112. package/dist-es/pagination/ListMembersPaginator.js +2 -23
  113. package/dist-es/pagination/ListUsageTotalsPaginator.js +2 -23
  114. package/dist-es/pagination/SearchVulnerabilitiesPaginator.js +2 -22
  115. package/dist-types/commands/AssociateMemberCommand.d.ts +6 -21
  116. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +6 -21
  117. package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +6 -21
  118. package/dist-types/commands/BatchGetFindingDetailsCommand.d.ts +6 -21
  119. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +6 -21
  120. package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +6 -21
  121. package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +6 -21
  122. package/dist-types/commands/CancelFindingsReportCommand.d.ts +6 -21
  123. package/dist-types/commands/CancelSbomExportCommand.d.ts +6 -21
  124. package/dist-types/commands/CreateFilterCommand.d.ts +6 -21
  125. package/dist-types/commands/CreateFindingsReportCommand.d.ts +6 -21
  126. package/dist-types/commands/CreateSbomExportCommand.d.ts +6 -21
  127. package/dist-types/commands/DeleteFilterCommand.d.ts +6 -21
  128. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +6 -21
  129. package/dist-types/commands/DisableCommand.d.ts +6 -21
  130. package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +6 -21
  131. package/dist-types/commands/DisassociateMemberCommand.d.ts +6 -21
  132. package/dist-types/commands/EnableCommand.d.ts +6 -21
  133. package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +6 -21
  134. package/dist-types/commands/GetConfigurationCommand.d.ts +6 -21
  135. package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +6 -21
  136. package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +6 -21
  137. package/dist-types/commands/GetEncryptionKeyCommand.d.ts +6 -21
  138. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +6 -21
  139. package/dist-types/commands/GetMemberCommand.d.ts +6 -21
  140. package/dist-types/commands/GetSbomExportCommand.d.ts +6 -21
  141. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +6 -21
  142. package/dist-types/commands/ListCoverageCommand.d.ts +6 -21
  143. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +6 -21
  144. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +6 -21
  145. package/dist-types/commands/ListFiltersCommand.d.ts +6 -21
  146. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +6 -21
  147. package/dist-types/commands/ListFindingsCommand.d.ts +6 -21
  148. package/dist-types/commands/ListMembersCommand.d.ts +6 -21
  149. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  150. package/dist-types/commands/ListUsageTotalsCommand.d.ts +6 -21
  151. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +6 -21
  152. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +6 -21
  153. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  154. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  155. package/dist-types/commands/UpdateConfigurationCommand.d.ts +6 -21
  156. package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +6 -21
  157. package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +6 -21
  158. package/dist-types/commands/UpdateFilterCommand.d.ts +6 -21
  159. package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +6 -21
  160. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +6 -21
  161. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  162. package/dist-types/pagination/ListAccountPermissionsPaginator.d.ts +1 -1
  163. package/dist-types/pagination/ListCoveragePaginator.d.ts +1 -1
  164. package/dist-types/pagination/ListCoverageStatisticsPaginator.d.ts +1 -1
  165. package/dist-types/pagination/ListDelegatedAdminAccountsPaginator.d.ts +1 -1
  166. package/dist-types/pagination/ListFiltersPaginator.d.ts +1 -1
  167. package/dist-types/pagination/ListFindingAggregationsPaginator.d.ts +1 -1
  168. package/dist-types/pagination/ListFindingsPaginator.d.ts +1 -1
  169. package/dist-types/pagination/ListMembersPaginator.d.ts +1 -1
  170. package/dist-types/pagination/ListUsageTotalsPaginator.d.ts +1 -1
  171. package/dist-types/pagination/SearchVulnerabilitiesPaginator.d.ts +1 -1
  172. package/dist-types/ts3.4/commands/AssociateMemberCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/BatchGetAccountStatusCommand.d.ts +12 -24
  174. package/dist-types/ts3.4/commands/BatchGetCodeSnippetCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/BatchGetFindingDetailsCommand.d.ts +12 -24
  176. package/dist-types/ts3.4/commands/BatchGetFreeTrialInfoCommand.d.ts +12 -24
  177. package/dist-types/ts3.4/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +12 -24
  178. package/dist-types/ts3.4/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/CancelFindingsReportCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/CancelSbomExportCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/CreateFindingsReportCommand.d.ts +12 -24
  183. package/dist-types/ts3.4/commands/CreateSbomExportCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +12 -24
  186. package/dist-types/ts3.4/commands/DisableCommand.d.ts +12 -23
  187. package/dist-types/ts3.4/commands/DisableDelegatedAdminAccountCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/DisassociateMemberCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/EnableCommand.d.ts +12 -23
  190. package/dist-types/ts3.4/commands/EnableDelegatedAdminAccountCommand.d.ts +12 -24
  191. package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +12 -24
  193. package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +12 -24
  194. package/dist-types/ts3.4/commands/GetEncryptionKeyCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +12 -24
  199. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +12 -24
  201. package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +12 -24
  202. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +14 -23
  203. package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +12 -24
  204. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  207. package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +14 -23
  208. package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  211. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +12 -24
  214. package/dist-types/ts3.4/commands/UpdateEncryptionKeyCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +12 -24
  217. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +12 -24
  218. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  219. package/dist-types/ts3.4/pagination/ListAccountPermissionsPaginator.d.ts +3 -3
  220. package/dist-types/ts3.4/pagination/ListCoveragePaginator.d.ts +3 -3
  221. package/dist-types/ts3.4/pagination/ListCoverageStatisticsPaginator.d.ts +3 -3
  222. package/dist-types/ts3.4/pagination/ListDelegatedAdminAccountsPaginator.d.ts +3 -3
  223. package/dist-types/ts3.4/pagination/ListFiltersPaginator.d.ts +3 -3
  224. package/dist-types/ts3.4/pagination/ListFindingAggregationsPaginator.d.ts +3 -3
  225. package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +3 -3
  226. package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +3 -3
  227. package/dist-types/ts3.4/pagination/ListUsageTotalsPaginator.d.ts +3 -3
  228. package/dist-types/ts3.4/pagination/SearchVulnerabilitiesPaginator.d.ts +3 -3
  229. package/package.json +11 -11
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListFindingAggregationsCommand, } from "../commands/ListFindingAggregationsCommand";
2
3
  import { Inspector2Client } from "../Inspector2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListFindingAggregationsCommand(input), ...args);
5
- };
6
- export async function* paginateListFindingAggregations(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof Inspector2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListFindingAggregations = createPaginator(Inspector2Client, ListFindingAggregationsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListFindingsCommand, } from "../commands/ListFindingsCommand";
2
3
  import { Inspector2Client } from "../Inspector2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListFindingsCommand(input), ...args);
5
- };
6
- export async function* paginateListFindings(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof Inspector2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListFindings = createPaginator(Inspector2Client, ListFindingsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListMembersCommand } from "../commands/ListMembersCommand";
2
3
  import { Inspector2Client } from "../Inspector2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListMembersCommand(input), ...args);
5
- };
6
- export async function* paginateListMembers(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof Inspector2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListMembers = createPaginator(Inspector2Client, ListMembersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListUsageTotalsCommand, } from "../commands/ListUsageTotalsCommand";
2
3
  import { Inspector2Client } from "../Inspector2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListUsageTotalsCommand(input), ...args);
5
- };
6
- export async function* paginateListUsageTotals(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof Inspector2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListUsageTotals = createPaginator(Inspector2Client, ListUsageTotalsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { SearchVulnerabilitiesCommand, } from "../commands/SearchVulnerabilitiesCommand";
2
3
  import { Inspector2Client } from "../Inspector2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new SearchVulnerabilitiesCommand(input), ...args);
5
- };
6
- export async function* paginateSearchVulnerabilities(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- if (config.client instanceof Inspector2Client) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected Inspector2 | Inspector2Client");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.nextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateSearchVulnerabilities = createPaginator(Inspector2Client, SearchVulnerabilitiesCommand, "nextToken", "nextToken", "");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
5
4
  import { AssociateMemberRequest, AssociateMemberResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AssociateMemberCommandInput extends AssociateMemberRequest {
21
20
  */
22
21
  export interface AssociateMemberCommandOutput extends AssociateMemberResponse, __MetadataBearer {
23
22
  }
23
+ declare const AssociateMemberCommand_base: {
24
+ new (input: AssociateMemberCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateMemberCommandInput, AssociateMemberCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_ListMembers.html">ListMembers</a> for multiple accounts or <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_GetMember.html">GetMembers</a> for a single account.</p>
@@ -64,23 +67,5 @@ export interface AssociateMemberCommandOutput extends AssociateMemberResponse, _
64
67
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
65
68
  *
66
69
  */
67
- export declare class AssociateMemberCommand extends $Command<AssociateMemberCommandInput, AssociateMemberCommandOutput, Inspector2ClientResolvedConfig> {
68
- readonly input: AssociateMemberCommandInput;
69
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
- /**
71
- * @public
72
- */
73
- constructor(input: AssociateMemberCommandInput);
74
- /**
75
- * @internal
76
- */
77
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateMemberCommandInput, AssociateMemberCommandOutput>;
78
- /**
79
- * @internal
80
- */
81
- private serialize;
82
- /**
83
- * @internal
84
- */
85
- private deserialize;
70
+ export declare class AssociateMemberCommand extends AssociateMemberCommand_base {
86
71
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
5
4
  import { BatchGetAccountStatusRequest, BatchGetAccountStatusResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchGetAccountStatusCommandInput extends BatchGetAccountStatus
21
20
  */
22
21
  export interface BatchGetAccountStatusCommandOutput extends BatchGetAccountStatusResponse, __MetadataBearer {
23
22
  }
23
+ declare const BatchGetAccountStatusCommand_base: {
24
+ new (input: BatchGetAccountStatusCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetAccountStatusCommandInput, BatchGetAccountStatusCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.</p>
@@ -114,23 +117,5 @@ export interface BatchGetAccountStatusCommandOutput extends BatchGetAccountStatu
114
117
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
115
118
  *
116
119
  */
117
- export declare class BatchGetAccountStatusCommand extends $Command<BatchGetAccountStatusCommandInput, BatchGetAccountStatusCommandOutput, Inspector2ClientResolvedConfig> {
118
- readonly input: BatchGetAccountStatusCommandInput;
119
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
120
- /**
121
- * @public
122
- */
123
- constructor(input: BatchGetAccountStatusCommandInput);
124
- /**
125
- * @internal
126
- */
127
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetAccountStatusCommandInput, BatchGetAccountStatusCommandOutput>;
128
- /**
129
- * @internal
130
- */
131
- private serialize;
132
- /**
133
- * @internal
134
- */
135
- private deserialize;
120
+ export declare class BatchGetAccountStatusCommand extends BatchGetAccountStatusCommand_base {
136
121
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
5
4
  import { BatchGetCodeSnippetRequest, BatchGetCodeSnippetResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchGetCodeSnippetCommandInput extends BatchGetCodeSnippetRequ
21
20
  */
22
21
  export interface BatchGetCodeSnippetCommandOutput extends BatchGetCodeSnippetResponse, __MetadataBearer {
23
22
  }
23
+ declare const BatchGetCodeSnippetCommand_base: {
24
+ new (input: BatchGetCodeSnippetCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetCodeSnippetCommandInput, BatchGetCodeSnippetCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.</p>
@@ -91,23 +94,5 @@ export interface BatchGetCodeSnippetCommandOutput extends BatchGetCodeSnippetRes
91
94
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
92
95
  *
93
96
  */
94
- export declare class BatchGetCodeSnippetCommand extends $Command<BatchGetCodeSnippetCommandInput, BatchGetCodeSnippetCommandOutput, Inspector2ClientResolvedConfig> {
95
- readonly input: BatchGetCodeSnippetCommandInput;
96
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
97
- /**
98
- * @public
99
- */
100
- constructor(input: BatchGetCodeSnippetCommandInput);
101
- /**
102
- * @internal
103
- */
104
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetCodeSnippetCommandInput, BatchGetCodeSnippetCommandOutput>;
105
- /**
106
- * @internal
107
- */
108
- private serialize;
109
- /**
110
- * @internal
111
- */
112
- private deserialize;
97
+ export declare class BatchGetCodeSnippetCommand extends BatchGetCodeSnippetCommand_base {
113
98
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
5
4
  import { BatchGetFindingDetailsRequest, BatchGetFindingDetailsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchGetFindingDetailsCommandInput extends BatchGetFindingDetai
21
20
  */
22
21
  export interface BatchGetFindingDetailsCommandOutput extends BatchGetFindingDetailsResponse, __MetadataBearer {
23
22
  }
23
+ declare const BatchGetFindingDetailsCommand_base: {
24
+ new (input: BatchGetFindingDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetFindingDetailsCommandInput, BatchGetFindingDetailsCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets vulnerability details for findings.</p>
@@ -107,23 +110,5 @@ export interface BatchGetFindingDetailsCommandOutput extends BatchGetFindingDeta
107
110
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
108
111
  *
109
112
  */
110
- export declare class BatchGetFindingDetailsCommand extends $Command<BatchGetFindingDetailsCommandInput, BatchGetFindingDetailsCommandOutput, Inspector2ClientResolvedConfig> {
111
- readonly input: BatchGetFindingDetailsCommandInput;
112
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
113
- /**
114
- * @public
115
- */
116
- constructor(input: BatchGetFindingDetailsCommandInput);
117
- /**
118
- * @internal
119
- */
120
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetFindingDetailsCommandInput, BatchGetFindingDetailsCommandOutput>;
121
- /**
122
- * @internal
123
- */
124
- private serialize;
125
- /**
126
- * @internal
127
- */
128
- private deserialize;
113
+ export declare class BatchGetFindingDetailsCommand extends BatchGetFindingDetailsCommand_base {
129
114
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
5
4
  import { BatchGetFreeTrialInfoRequest, BatchGetFreeTrialInfoResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchGetFreeTrialInfoCommandInput extends BatchGetFreeTrialInfo
21
20
  */
22
21
  export interface BatchGetFreeTrialInfoCommandOutput extends BatchGetFreeTrialInfoResponse, __MetadataBearer {
23
22
  }
23
+ declare const BatchGetFreeTrialInfoCommand_base: {
24
+ new (input: BatchGetFreeTrialInfoCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetFreeTrialInfoCommandInput, BatchGetFreeTrialInfoCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets free trial status for multiple Amazon Web Services accounts.</p>
@@ -85,23 +88,5 @@ export interface BatchGetFreeTrialInfoCommandOutput extends BatchGetFreeTrialInf
85
88
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
86
89
  *
87
90
  */
88
- export declare class BatchGetFreeTrialInfoCommand extends $Command<BatchGetFreeTrialInfoCommandInput, BatchGetFreeTrialInfoCommandOutput, Inspector2ClientResolvedConfig> {
89
- readonly input: BatchGetFreeTrialInfoCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: BatchGetFreeTrialInfoCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetFreeTrialInfoCommandInput, BatchGetFreeTrialInfoCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class BatchGetFreeTrialInfoCommand extends BatchGetFreeTrialInfoCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
5
4
  import { BatchGetMemberEc2DeepInspectionStatusRequest, BatchGetMemberEc2DeepInspectionStatusResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchGetMemberEc2DeepInspectionStatusCommandInput extends Batch
21
20
  */
22
21
  export interface BatchGetMemberEc2DeepInspectionStatusCommandOutput extends BatchGetMemberEc2DeepInspectionStatusResponse, __MetadataBearer {
23
22
  }
23
+ declare const BatchGetMemberEc2DeepInspectionStatusCommand_base: {
24
+ new (input: BatchGetMemberEc2DeepInspectionStatusCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetMemberEc2DeepInspectionStatusCommandInput, BatchGetMemberEc2DeepInspectionStatusCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.</p>
@@ -79,23 +82,5 @@ export interface BatchGetMemberEc2DeepInspectionStatusCommandOutput extends Batc
79
82
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
80
83
  *
81
84
  */
82
- export declare class BatchGetMemberEc2DeepInspectionStatusCommand extends $Command<BatchGetMemberEc2DeepInspectionStatusCommandInput, BatchGetMemberEc2DeepInspectionStatusCommandOutput, Inspector2ClientResolvedConfig> {
83
- readonly input: BatchGetMemberEc2DeepInspectionStatusCommandInput;
84
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
- /**
86
- * @public
87
- */
88
- constructor(input: BatchGetMemberEc2DeepInspectionStatusCommandInput);
89
- /**
90
- * @internal
91
- */
92
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetMemberEc2DeepInspectionStatusCommandInput, BatchGetMemberEc2DeepInspectionStatusCommandOutput>;
93
- /**
94
- * @internal
95
- */
96
- private serialize;
97
- /**
98
- * @internal
99
- */
100
- private deserialize;
85
+ export declare class BatchGetMemberEc2DeepInspectionStatusCommand extends BatchGetMemberEc2DeepInspectionStatusCommand_base {
101
86
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
5
4
  import { BatchUpdateMemberEc2DeepInspectionStatusRequest, BatchUpdateMemberEc2DeepInspectionStatusResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchUpdateMemberEc2DeepInspectionStatusCommandInput extends Ba
21
20
  */
22
21
  export interface BatchUpdateMemberEc2DeepInspectionStatusCommandOutput extends BatchUpdateMemberEc2DeepInspectionStatusResponse, __MetadataBearer {
23
22
  }
23
+ declare const BatchUpdateMemberEc2DeepInspectionStatusCommand_base: {
24
+ new (input: BatchUpdateMemberEc2DeepInspectionStatusCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateMemberEc2DeepInspectionStatusCommandInput, BatchUpdateMemberEc2DeepInspectionStatusCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.</p>
@@ -82,23 +85,5 @@ export interface BatchUpdateMemberEc2DeepInspectionStatusCommandOutput extends B
82
85
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
83
86
  *
84
87
  */
85
- export declare class BatchUpdateMemberEc2DeepInspectionStatusCommand extends $Command<BatchUpdateMemberEc2DeepInspectionStatusCommandInput, BatchUpdateMemberEc2DeepInspectionStatusCommandOutput, Inspector2ClientResolvedConfig> {
86
- readonly input: BatchUpdateMemberEc2DeepInspectionStatusCommandInput;
87
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
- /**
89
- * @public
90
- */
91
- constructor(input: BatchUpdateMemberEc2DeepInspectionStatusCommandInput);
92
- /**
93
- * @internal
94
- */
95
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchUpdateMemberEc2DeepInspectionStatusCommandInput, BatchUpdateMemberEc2DeepInspectionStatusCommandOutput>;
96
- /**
97
- * @internal
98
- */
99
- private serialize;
100
- /**
101
- * @internal
102
- */
103
- private deserialize;
88
+ export declare class BatchUpdateMemberEc2DeepInspectionStatusCommand extends BatchUpdateMemberEc2DeepInspectionStatusCommand_base {
104
89
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
5
4
  import { CancelFindingsReportRequest, CancelFindingsReportResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CancelFindingsReportCommandInput extends CancelFindingsReportRe
21
20
  */
22
21
  export interface CancelFindingsReportCommandOutput extends CancelFindingsReportResponse, __MetadataBearer {
23
22
  }
23
+ declare const CancelFindingsReportCommand_base: {
24
+ new (input: CancelFindingsReportCommandInput): import("@smithy/smithy-client").CommandImpl<CancelFindingsReportCommandInput, CancelFindingsReportCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Cancels the given findings report.</p>
@@ -67,23 +70,5 @@ export interface CancelFindingsReportCommandOutput extends CancelFindingsReportR
67
70
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
68
71
  *
69
72
  */
70
- export declare class CancelFindingsReportCommand extends $Command<CancelFindingsReportCommandInput, CancelFindingsReportCommandOutput, Inspector2ClientResolvedConfig> {
71
- readonly input: CancelFindingsReportCommandInput;
72
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
- /**
74
- * @public
75
- */
76
- constructor(input: CancelFindingsReportCommandInput);
77
- /**
78
- * @internal
79
- */
80
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelFindingsReportCommandInput, CancelFindingsReportCommandOutput>;
81
- /**
82
- * @internal
83
- */
84
- private serialize;
85
- /**
86
- * @internal
87
- */
88
- private deserialize;
73
+ export declare class CancelFindingsReportCommand extends CancelFindingsReportCommand_base {
89
74
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
5
4
  import { CancelSbomExportRequest, CancelSbomExportResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CancelSbomExportCommandInput extends CancelSbomExportRequest {
21
20
  */
22
21
  export interface CancelSbomExportCommandOutput extends CancelSbomExportResponse, __MetadataBearer {
23
22
  }
23
+ declare const CancelSbomExportCommand_base: {
24
+ new (input: CancelSbomExportCommandInput): import("@smithy/smithy-client").CommandImpl<CancelSbomExportCommandInput, CancelSbomExportCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Cancels a software bill of materials (SBOM) report.</p>
@@ -67,23 +70,5 @@ export interface CancelSbomExportCommandOutput extends CancelSbomExportResponse,
67
70
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
68
71
  *
69
72
  */
70
- export declare class CancelSbomExportCommand extends $Command<CancelSbomExportCommandInput, CancelSbomExportCommandOutput, Inspector2ClientResolvedConfig> {
71
- readonly input: CancelSbomExportCommandInput;
72
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
- /**
74
- * @public
75
- */
76
- constructor(input: CancelSbomExportCommandInput);
77
- /**
78
- * @internal
79
- */
80
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelSbomExportCommandInput, CancelSbomExportCommandOutput>;
81
- /**
82
- * @internal
83
- */
84
- private serialize;
85
- /**
86
- * @internal
87
- */
88
- private deserialize;
73
+ export declare class CancelSbomExportCommand extends CancelSbomExportCommand_base {
89
74
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
5
4
  import { CreateFilterRequest, CreateFilterResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateFilterCommandInput extends CreateFilterRequest {
21
20
  */
22
21
  export interface CreateFilterCommandOutput extends CreateFilterResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateFilterCommand_base: {
24
+ new (input: CreateFilterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFilterCommandInput, CreateFilterCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a filter resource using specified filter criteria. When the filter action is set to <code>SUPPRESS</code> this action creates a suppression rule.</p>
@@ -205,23 +208,5 @@ export interface CreateFilterCommandOutput extends CreateFilterResponse, __Metad
205
208
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
206
209
  *
207
210
  */
208
- export declare class CreateFilterCommand extends $Command<CreateFilterCommandInput, CreateFilterCommandOutput, Inspector2ClientResolvedConfig> {
209
- readonly input: CreateFilterCommandInput;
210
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
211
- /**
212
- * @public
213
- */
214
- constructor(input: CreateFilterCommandInput);
215
- /**
216
- * @internal
217
- */
218
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFilterCommandInput, CreateFilterCommandOutput>;
219
- /**
220
- * @internal
221
- */
222
- private serialize;
223
- /**
224
- * @internal
225
- */
226
- private deserialize;
211
+ export declare class CreateFilterCommand extends CreateFilterCommand_base {
227
212
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
5
4
  import { CreateFindingsReportRequest, CreateFindingsReportResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateFindingsReportCommandInput extends CreateFindingsReportRe
21
20
  */
22
21
  export interface CreateFindingsReportCommandOutput extends CreateFindingsReportResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateFindingsReportCommand_base: {
24
+ new (input: CreateFindingsReportCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFindingsReportCommandInput, CreateFindingsReportCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a finding report. By default only <code>ACTIVE</code> findings are returned in the report. To see <code>SUPRESSED</code> or <code>CLOSED</code> findings you must specify a value for the <code>findingStatus</code> filter criteria. </p>
@@ -200,23 +203,5 @@ export interface CreateFindingsReportCommandOutput extends CreateFindingsReportR
200
203
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
201
204
  *
202
205
  */
203
- export declare class CreateFindingsReportCommand extends $Command<CreateFindingsReportCommandInput, CreateFindingsReportCommandOutput, Inspector2ClientResolvedConfig> {
204
- readonly input: CreateFindingsReportCommandInput;
205
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
206
- /**
207
- * @public
208
- */
209
- constructor(input: CreateFindingsReportCommandInput);
210
- /**
211
- * @internal
212
- */
213
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFindingsReportCommandInput, CreateFindingsReportCommandOutput>;
214
- /**
215
- * @internal
216
- */
217
- private serialize;
218
- /**
219
- * @internal
220
- */
221
- private deserialize;
206
+ export declare class CreateFindingsReportCommand extends CreateFindingsReportCommand_base {
222
207
  }