@aws-sdk/client-inspector2 3.496.0 → 3.498.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 (137) hide show
  1. package/README.md +104 -0
  2. package/dist-cjs/commands/CreateCisScanConfigurationCommand.js +1 -0
  3. package/dist-cjs/commands/DeleteCisScanConfigurationCommand.js +1 -0
  4. package/dist-cjs/commands/GetCisScanReportCommand.js +1 -0
  5. package/dist-cjs/commands/GetCisScanResultDetailsCommand.js +1 -0
  6. package/dist-cjs/commands/ListCisScanConfigurationsCommand.js +1 -0
  7. package/dist-cjs/commands/ListCisScanResultsAggregatedByChecksCommand.js +1 -0
  8. package/dist-cjs/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +1 -0
  9. package/dist-cjs/commands/ListCisScansCommand.js +1 -0
  10. package/dist-cjs/commands/SendCisSessionHealthCommand.js +1 -0
  11. package/dist-cjs/commands/SendCisSessionTelemetryCommand.js +1 -0
  12. package/dist-cjs/commands/StartCisSessionCommand.js +1 -0
  13. package/dist-cjs/commands/StopCisSessionCommand.js +1 -0
  14. package/dist-cjs/commands/UpdateCisScanConfigurationCommand.js +1 -0
  15. package/dist-cjs/index.js +1721 -398
  16. package/dist-cjs/models/models_1.js +1 -0
  17. package/dist-cjs/pagination/GetCisScanResultDetailsPaginator.js +1 -0
  18. package/dist-cjs/pagination/ListCisScanConfigurationsPaginator.js +1 -0
  19. package/dist-cjs/pagination/ListCisScanResultsAggregatedByChecksPaginator.js +1 -0
  20. package/dist-cjs/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.js +1 -0
  21. package/dist-cjs/pagination/ListCisScansPaginator.js +1 -0
  22. package/dist-es/Inspector2.js +26 -0
  23. package/dist-es/commands/CreateCisScanConfigurationCommand.js +24 -0
  24. package/dist-es/commands/DeleteCisScanConfigurationCommand.js +24 -0
  25. package/dist-es/commands/GetCisScanReportCommand.js +24 -0
  26. package/dist-es/commands/GetCisScanResultDetailsCommand.js +24 -0
  27. package/dist-es/commands/ListCisScanConfigurationsCommand.js +24 -0
  28. package/dist-es/commands/ListCisScanResultsAggregatedByChecksCommand.js +24 -0
  29. package/dist-es/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +24 -0
  30. package/dist-es/commands/ListCisScansCommand.js +24 -0
  31. package/dist-es/commands/SendCisSessionHealthCommand.js +24 -0
  32. package/dist-es/commands/SendCisSessionTelemetryCommand.js +24 -0
  33. package/dist-es/commands/StartCisSessionCommand.js +24 -0
  34. package/dist-es/commands/StopCisSessionCommand.js +24 -0
  35. package/dist-es/commands/UpdateCisScanConfigurationCommand.js +24 -0
  36. package/dist-es/commands/index.js +13 -0
  37. package/dist-es/models/index.js +1 -0
  38. package/dist-es/models/models_0.js +126 -28
  39. package/dist-es/models/models_1.js +35 -0
  40. package/dist-es/pagination/GetCisScanResultDetailsPaginator.js +4 -0
  41. package/dist-es/pagination/ListCisScanConfigurationsPaginator.js +4 -0
  42. package/dist-es/pagination/ListCisScanResultsAggregatedByChecksPaginator.js +4 -0
  43. package/dist-es/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.js +4 -0
  44. package/dist-es/pagination/ListCisScansPaginator.js +4 -0
  45. package/dist-es/pagination/index.js +5 -0
  46. package/dist-es/protocols/Aws_restJson1.js +847 -20
  47. package/dist-types/Inspector2.d.ts +91 -0
  48. package/dist-types/Inspector2Client.d.ts +15 -2
  49. package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +110 -0
  50. package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +74 -0
  51. package/dist-types/commands/GetCisScanReportCommand.d.ts +75 -0
  52. package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +125 -0
  53. package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +141 -0
  54. package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +129 -0
  55. package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +152 -0
  56. package/dist-types/commands/ListCisScansCommand.d.ts +158 -0
  57. package/dist-types/commands/ListCoverageCommand.d.ts +2 -1
  58. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  59. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  60. package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
  61. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +1 -1
  62. package/dist-types/commands/ListFindingsCommand.d.ts +1 -1
  63. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  64. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  65. package/dist-types/commands/ListUsageTotalsCommand.d.ts +1 -1
  66. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  67. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  68. package/dist-types/commands/SendCisSessionHealthCommand.d.ts +77 -0
  69. package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +84 -0
  70. package/dist-types/commands/StartCisSessionCommand.d.ts +79 -0
  71. package/dist-types/commands/StopCisSessionCommand.d.ts +98 -0
  72. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  73. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +111 -0
  75. package/dist-types/commands/UpdateConfigurationCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateFilterCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  81. package/dist-types/commands/index.d.ts +13 -0
  82. package/dist-types/models/index.d.ts +1 -0
  83. package/dist-types/models/models_0.d.ts +2223 -1516
  84. package/dist-types/models/models_1.d.ts +1053 -0
  85. package/dist-types/pagination/GetCisScanResultDetailsPaginator.d.ts +7 -0
  86. package/dist-types/pagination/ListCisScanConfigurationsPaginator.d.ts +7 -0
  87. package/dist-types/pagination/ListCisScanResultsAggregatedByChecksPaginator.d.ts +7 -0
  88. package/dist-types/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.d.ts +7 -0
  89. package/dist-types/pagination/ListCisScansPaginator.d.ts +7 -0
  90. package/dist-types/pagination/index.d.ts +5 -0
  91. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  92. package/dist-types/ts3.4/Inspector2.d.ts +233 -0
  93. package/dist-types/ts3.4/Inspector2Client.d.ts +78 -0
  94. package/dist-types/ts3.4/commands/CreateCisScanConfigurationCommand.d.ts +30 -0
  95. package/dist-types/ts3.4/commands/DeleteCisScanConfigurationCommand.d.ts +30 -0
  96. package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +29 -0
  97. package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +30 -0
  98. package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +30 -0
  99. package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +30 -0
  100. package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +30 -0
  101. package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +26 -0
  102. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +2 -1
  103. package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/SendCisSessionHealthCommand.d.ts +30 -0
  114. package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +30 -0
  115. package/dist-types/ts3.4/commands/StartCisSessionCommand.d.ts +29 -0
  116. package/dist-types/ts3.4/commands/StopCisSessionCommand.d.ts +29 -0
  117. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/UpdateCisScanConfigurationCommand.d.ts +30 -0
  120. package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/UpdateEncryptionKeyCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  127. package/dist-types/ts3.4/models/index.d.ts +1 -0
  128. package/dist-types/ts3.4/models/models_0.d.ts +449 -192
  129. package/dist-types/ts3.4/models/models_1.d.ts +309 -0
  130. package/dist-types/ts3.4/pagination/GetCisScanResultDetailsPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListCisScanConfigurationsPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/ListCisScanResultsAggregatedByChecksPaginator.d.ts +11 -0
  133. package/dist-types/ts3.4/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.d.ts +11 -0
  134. package/dist-types/ts3.4/pagination/ListCisScansPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  136. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  137. package/package.json +1 -1
@@ -8,9 +8,11 @@ import { BatchGetMemberEc2DeepInspectionStatusCommandInput, BatchGetMemberEc2Dee
8
8
  import { BatchUpdateMemberEc2DeepInspectionStatusCommandInput, BatchUpdateMemberEc2DeepInspectionStatusCommandOutput } from "./commands/BatchUpdateMemberEc2DeepInspectionStatusCommand";
9
9
  import { CancelFindingsReportCommandInput, CancelFindingsReportCommandOutput } from "./commands/CancelFindingsReportCommand";
10
10
  import { CancelSbomExportCommandInput, CancelSbomExportCommandOutput } from "./commands/CancelSbomExportCommand";
11
+ import { CreateCisScanConfigurationCommandInput, CreateCisScanConfigurationCommandOutput } from "./commands/CreateCisScanConfigurationCommand";
11
12
  import { CreateFilterCommandInput, CreateFilterCommandOutput } from "./commands/CreateFilterCommand";
12
13
  import { CreateFindingsReportCommandInput, CreateFindingsReportCommandOutput } from "./commands/CreateFindingsReportCommand";
13
14
  import { CreateSbomExportCommandInput, CreateSbomExportCommandOutput } from "./commands/CreateSbomExportCommand";
15
+ import { DeleteCisScanConfigurationCommandInput, DeleteCisScanConfigurationCommandOutput } from "./commands/DeleteCisScanConfigurationCommand";
14
16
  import { DeleteFilterCommandInput, DeleteFilterCommandOutput } from "./commands/DeleteFilterCommand";
15
17
  import { DescribeOrganizationConfigurationCommandInput, DescribeOrganizationConfigurationCommandOutput } from "./commands/DescribeOrganizationConfigurationCommand";
16
18
  import { DisableCommandInput, DisableCommandOutput } from "./commands/DisableCommand";
@@ -18,6 +20,8 @@ import { DisableDelegatedAdminAccountCommandInput, DisableDelegatedAdminAccountC
18
20
  import { DisassociateMemberCommandInput, DisassociateMemberCommandOutput } from "./commands/DisassociateMemberCommand";
19
21
  import { EnableCommandInput, EnableCommandOutput } from "./commands/EnableCommand";
20
22
  import { EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCommandOutput } from "./commands/EnableDelegatedAdminAccountCommand";
23
+ import { GetCisScanReportCommandInput, GetCisScanReportCommandOutput } from "./commands/GetCisScanReportCommand";
24
+ import { GetCisScanResultDetailsCommandInput, GetCisScanResultDetailsCommandOutput } from "./commands/GetCisScanResultDetailsCommand";
21
25
  import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "./commands/GetConfigurationCommand";
22
26
  import { GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput } from "./commands/GetDelegatedAdminAccountCommand";
23
27
  import { GetEc2DeepInspectionConfigurationCommandInput, GetEc2DeepInspectionConfigurationCommandOutput } from "./commands/GetEc2DeepInspectionConfigurationCommand";
@@ -26,6 +30,10 @@ import { GetFindingsReportStatusCommandInput, GetFindingsReportStatusCommandOutp
26
30
  import { GetMemberCommandInput, GetMemberCommandOutput } from "./commands/GetMemberCommand";
27
31
  import { GetSbomExportCommandInput, GetSbomExportCommandOutput } from "./commands/GetSbomExportCommand";
28
32
  import { ListAccountPermissionsCommandInput, ListAccountPermissionsCommandOutput } from "./commands/ListAccountPermissionsCommand";
33
+ import { ListCisScanConfigurationsCommandInput, ListCisScanConfigurationsCommandOutput } from "./commands/ListCisScanConfigurationsCommand";
34
+ import { ListCisScanResultsAggregatedByChecksCommandInput, ListCisScanResultsAggregatedByChecksCommandOutput } from "./commands/ListCisScanResultsAggregatedByChecksCommand";
35
+ import { ListCisScanResultsAggregatedByTargetResourceCommandInput, ListCisScanResultsAggregatedByTargetResourceCommandOutput } from "./commands/ListCisScanResultsAggregatedByTargetResourceCommand";
36
+ import { ListCisScansCommandInput, ListCisScansCommandOutput } from "./commands/ListCisScansCommand";
29
37
  import { ListCoverageCommandInput, ListCoverageCommandOutput } from "./commands/ListCoverageCommand";
30
38
  import { ListCoverageStatisticsCommandInput, ListCoverageStatisticsCommandOutput } from "./commands/ListCoverageStatisticsCommand";
31
39
  import { ListDelegatedAdminAccountsCommandInput, ListDelegatedAdminAccountsCommandOutput } from "./commands/ListDelegatedAdminAccountsCommand";
@@ -37,8 +45,13 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
37
45
  import { ListUsageTotalsCommandInput, ListUsageTotalsCommandOutput } from "./commands/ListUsageTotalsCommand";
38
46
  import { ResetEncryptionKeyCommandInput, ResetEncryptionKeyCommandOutput } from "./commands/ResetEncryptionKeyCommand";
39
47
  import { SearchVulnerabilitiesCommandInput, SearchVulnerabilitiesCommandOutput } from "./commands/SearchVulnerabilitiesCommand";
48
+ import { SendCisSessionHealthCommandInput, SendCisSessionHealthCommandOutput } from "./commands/SendCisSessionHealthCommand";
49
+ import { SendCisSessionTelemetryCommandInput, SendCisSessionTelemetryCommandOutput } from "./commands/SendCisSessionTelemetryCommand";
50
+ import { StartCisSessionCommandInput, StartCisSessionCommandOutput } from "./commands/StartCisSessionCommand";
51
+ import { StopCisSessionCommandInput, StopCisSessionCommandOutput } from "./commands/StopCisSessionCommand";
40
52
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
41
53
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
54
+ import { UpdateCisScanConfigurationCommandInput, UpdateCisScanConfigurationCommandOutput } from "./commands/UpdateCisScanConfigurationCommand";
42
55
  import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
43
56
  import { UpdateEc2DeepInspectionConfigurationCommandInput, UpdateEc2DeepInspectionConfigurationCommandOutput } from "./commands/UpdateEc2DeepInspectionConfigurationCommand";
44
57
  import { UpdateEncryptionKeyCommandInput, UpdateEncryptionKeyCommandOutput } from "./commands/UpdateEncryptionKeyCommand";
@@ -101,6 +114,12 @@ export interface Inspector2 {
101
114
  cancelSbomExport(args: CancelSbomExportCommandInput, options?: __HttpHandlerOptions): Promise<CancelSbomExportCommandOutput>;
102
115
  cancelSbomExport(args: CancelSbomExportCommandInput, cb: (err: any, data?: CancelSbomExportCommandOutput) => void): void;
103
116
  cancelSbomExport(args: CancelSbomExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelSbomExportCommandOutput) => void): void;
117
+ /**
118
+ * @see {@link CreateCisScanConfigurationCommand}
119
+ */
120
+ createCisScanConfiguration(args: CreateCisScanConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateCisScanConfigurationCommandOutput>;
121
+ createCisScanConfiguration(args: CreateCisScanConfigurationCommandInput, cb: (err: any, data?: CreateCisScanConfigurationCommandOutput) => void): void;
122
+ createCisScanConfiguration(args: CreateCisScanConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCisScanConfigurationCommandOutput) => void): void;
104
123
  /**
105
124
  * @see {@link CreateFilterCommand}
106
125
  */
@@ -119,6 +138,12 @@ export interface Inspector2 {
119
138
  createSbomExport(args: CreateSbomExportCommandInput, options?: __HttpHandlerOptions): Promise<CreateSbomExportCommandOutput>;
120
139
  createSbomExport(args: CreateSbomExportCommandInput, cb: (err: any, data?: CreateSbomExportCommandOutput) => void): void;
121
140
  createSbomExport(args: CreateSbomExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSbomExportCommandOutput) => void): void;
141
+ /**
142
+ * @see {@link DeleteCisScanConfigurationCommand}
143
+ */
144
+ deleteCisScanConfiguration(args: DeleteCisScanConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCisScanConfigurationCommandOutput>;
145
+ deleteCisScanConfiguration(args: DeleteCisScanConfigurationCommandInput, cb: (err: any, data?: DeleteCisScanConfigurationCommandOutput) => void): void;
146
+ deleteCisScanConfiguration(args: DeleteCisScanConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCisScanConfigurationCommandOutput) => void): void;
122
147
  /**
123
148
  * @see {@link DeleteFilterCommand}
124
149
  */
@@ -161,6 +186,18 @@ export interface Inspector2 {
161
186
  enableDelegatedAdminAccount(args: EnableDelegatedAdminAccountCommandInput, options?: __HttpHandlerOptions): Promise<EnableDelegatedAdminAccountCommandOutput>;
162
187
  enableDelegatedAdminAccount(args: EnableDelegatedAdminAccountCommandInput, cb: (err: any, data?: EnableDelegatedAdminAccountCommandOutput) => void): void;
163
188
  enableDelegatedAdminAccount(args: EnableDelegatedAdminAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableDelegatedAdminAccountCommandOutput) => void): void;
189
+ /**
190
+ * @see {@link GetCisScanReportCommand}
191
+ */
192
+ getCisScanReport(args: GetCisScanReportCommandInput, options?: __HttpHandlerOptions): Promise<GetCisScanReportCommandOutput>;
193
+ getCisScanReport(args: GetCisScanReportCommandInput, cb: (err: any, data?: GetCisScanReportCommandOutput) => void): void;
194
+ getCisScanReport(args: GetCisScanReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCisScanReportCommandOutput) => void): void;
195
+ /**
196
+ * @see {@link GetCisScanResultDetailsCommand}
197
+ */
198
+ getCisScanResultDetails(args: GetCisScanResultDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetCisScanResultDetailsCommandOutput>;
199
+ getCisScanResultDetails(args: GetCisScanResultDetailsCommandInput, cb: (err: any, data?: GetCisScanResultDetailsCommandOutput) => void): void;
200
+ getCisScanResultDetails(args: GetCisScanResultDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCisScanResultDetailsCommandOutput) => void): void;
164
201
  /**
165
202
  * @see {@link GetConfigurationCommand}
166
203
  */
@@ -209,6 +246,30 @@ export interface Inspector2 {
209
246
  listAccountPermissions(args: ListAccountPermissionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccountPermissionsCommandOutput>;
210
247
  listAccountPermissions(args: ListAccountPermissionsCommandInput, cb: (err: any, data?: ListAccountPermissionsCommandOutput) => void): void;
211
248
  listAccountPermissions(args: ListAccountPermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccountPermissionsCommandOutput) => void): void;
249
+ /**
250
+ * @see {@link ListCisScanConfigurationsCommand}
251
+ */
252
+ listCisScanConfigurations(args: ListCisScanConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListCisScanConfigurationsCommandOutput>;
253
+ listCisScanConfigurations(args: ListCisScanConfigurationsCommandInput, cb: (err: any, data?: ListCisScanConfigurationsCommandOutput) => void): void;
254
+ listCisScanConfigurations(args: ListCisScanConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCisScanConfigurationsCommandOutput) => void): void;
255
+ /**
256
+ * @see {@link ListCisScanResultsAggregatedByChecksCommand}
257
+ */
258
+ listCisScanResultsAggregatedByChecks(args: ListCisScanResultsAggregatedByChecksCommandInput, options?: __HttpHandlerOptions): Promise<ListCisScanResultsAggregatedByChecksCommandOutput>;
259
+ listCisScanResultsAggregatedByChecks(args: ListCisScanResultsAggregatedByChecksCommandInput, cb: (err: any, data?: ListCisScanResultsAggregatedByChecksCommandOutput) => void): void;
260
+ listCisScanResultsAggregatedByChecks(args: ListCisScanResultsAggregatedByChecksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCisScanResultsAggregatedByChecksCommandOutput) => void): void;
261
+ /**
262
+ * @see {@link ListCisScanResultsAggregatedByTargetResourceCommand}
263
+ */
264
+ listCisScanResultsAggregatedByTargetResource(args: ListCisScanResultsAggregatedByTargetResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListCisScanResultsAggregatedByTargetResourceCommandOutput>;
265
+ listCisScanResultsAggregatedByTargetResource(args: ListCisScanResultsAggregatedByTargetResourceCommandInput, cb: (err: any, data?: ListCisScanResultsAggregatedByTargetResourceCommandOutput) => void): void;
266
+ listCisScanResultsAggregatedByTargetResource(args: ListCisScanResultsAggregatedByTargetResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCisScanResultsAggregatedByTargetResourceCommandOutput) => void): void;
267
+ /**
268
+ * @see {@link ListCisScansCommand}
269
+ */
270
+ listCisScans(args: ListCisScansCommandInput, options?: __HttpHandlerOptions): Promise<ListCisScansCommandOutput>;
271
+ listCisScans(args: ListCisScansCommandInput, cb: (err: any, data?: ListCisScansCommandOutput) => void): void;
272
+ listCisScans(args: ListCisScansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCisScansCommandOutput) => void): void;
212
273
  /**
213
274
  * @see {@link ListCoverageCommand}
214
275
  */
@@ -275,6 +336,30 @@ export interface Inspector2 {
275
336
  searchVulnerabilities(args: SearchVulnerabilitiesCommandInput, options?: __HttpHandlerOptions): Promise<SearchVulnerabilitiesCommandOutput>;
276
337
  searchVulnerabilities(args: SearchVulnerabilitiesCommandInput, cb: (err: any, data?: SearchVulnerabilitiesCommandOutput) => void): void;
277
338
  searchVulnerabilities(args: SearchVulnerabilitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchVulnerabilitiesCommandOutput) => void): void;
339
+ /**
340
+ * @see {@link SendCisSessionHealthCommand}
341
+ */
342
+ sendCisSessionHealth(args: SendCisSessionHealthCommandInput, options?: __HttpHandlerOptions): Promise<SendCisSessionHealthCommandOutput>;
343
+ sendCisSessionHealth(args: SendCisSessionHealthCommandInput, cb: (err: any, data?: SendCisSessionHealthCommandOutput) => void): void;
344
+ sendCisSessionHealth(args: SendCisSessionHealthCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendCisSessionHealthCommandOutput) => void): void;
345
+ /**
346
+ * @see {@link SendCisSessionTelemetryCommand}
347
+ */
348
+ sendCisSessionTelemetry(args: SendCisSessionTelemetryCommandInput, options?: __HttpHandlerOptions): Promise<SendCisSessionTelemetryCommandOutput>;
349
+ sendCisSessionTelemetry(args: SendCisSessionTelemetryCommandInput, cb: (err: any, data?: SendCisSessionTelemetryCommandOutput) => void): void;
350
+ sendCisSessionTelemetry(args: SendCisSessionTelemetryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendCisSessionTelemetryCommandOutput) => void): void;
351
+ /**
352
+ * @see {@link StartCisSessionCommand}
353
+ */
354
+ startCisSession(args: StartCisSessionCommandInput, options?: __HttpHandlerOptions): Promise<StartCisSessionCommandOutput>;
355
+ startCisSession(args: StartCisSessionCommandInput, cb: (err: any, data?: StartCisSessionCommandOutput) => void): void;
356
+ startCisSession(args: StartCisSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCisSessionCommandOutput) => void): void;
357
+ /**
358
+ * @see {@link StopCisSessionCommand}
359
+ */
360
+ stopCisSession(args: StopCisSessionCommandInput, options?: __HttpHandlerOptions): Promise<StopCisSessionCommandOutput>;
361
+ stopCisSession(args: StopCisSessionCommandInput, cb: (err: any, data?: StopCisSessionCommandOutput) => void): void;
362
+ stopCisSession(args: StopCisSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopCisSessionCommandOutput) => void): void;
278
363
  /**
279
364
  * @see {@link TagResourceCommand}
280
365
  */
@@ -287,6 +372,12 @@ export interface Inspector2 {
287
372
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
288
373
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
289
374
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
375
+ /**
376
+ * @see {@link UpdateCisScanConfigurationCommand}
377
+ */
378
+ updateCisScanConfiguration(args: UpdateCisScanConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCisScanConfigurationCommandOutput>;
379
+ updateCisScanConfiguration(args: UpdateCisScanConfigurationCommandInput, cb: (err: any, data?: UpdateCisScanConfigurationCommandOutput) => void): void;
380
+ updateCisScanConfiguration(args: UpdateCisScanConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCisScanConfigurationCommandOutput) => void): void;
290
381
  /**
291
382
  * @see {@link UpdateConfigurationCommand}
292
383
  */
@@ -17,9 +17,11 @@ import { BatchGetMemberEc2DeepInspectionStatusCommandInput, BatchGetMemberEc2Dee
17
17
  import { BatchUpdateMemberEc2DeepInspectionStatusCommandInput, BatchUpdateMemberEc2DeepInspectionStatusCommandOutput } from "./commands/BatchUpdateMemberEc2DeepInspectionStatusCommand";
18
18
  import { CancelFindingsReportCommandInput, CancelFindingsReportCommandOutput } from "./commands/CancelFindingsReportCommand";
19
19
  import { CancelSbomExportCommandInput, CancelSbomExportCommandOutput } from "./commands/CancelSbomExportCommand";
20
+ import { CreateCisScanConfigurationCommandInput, CreateCisScanConfigurationCommandOutput } from "./commands/CreateCisScanConfigurationCommand";
20
21
  import { CreateFilterCommandInput, CreateFilterCommandOutput } from "./commands/CreateFilterCommand";
21
22
  import { CreateFindingsReportCommandInput, CreateFindingsReportCommandOutput } from "./commands/CreateFindingsReportCommand";
22
23
  import { CreateSbomExportCommandInput, CreateSbomExportCommandOutput } from "./commands/CreateSbomExportCommand";
24
+ import { DeleteCisScanConfigurationCommandInput, DeleteCisScanConfigurationCommandOutput } from "./commands/DeleteCisScanConfigurationCommand";
23
25
  import { DeleteFilterCommandInput, DeleteFilterCommandOutput } from "./commands/DeleteFilterCommand";
24
26
  import { DescribeOrganizationConfigurationCommandInput, DescribeOrganizationConfigurationCommandOutput } from "./commands/DescribeOrganizationConfigurationCommand";
25
27
  import { DisableCommandInput, DisableCommandOutput } from "./commands/DisableCommand";
@@ -27,6 +29,8 @@ import { DisableDelegatedAdminAccountCommandInput, DisableDelegatedAdminAccountC
27
29
  import { DisassociateMemberCommandInput, DisassociateMemberCommandOutput } from "./commands/DisassociateMemberCommand";
28
30
  import { EnableCommandInput, EnableCommandOutput } from "./commands/EnableCommand";
29
31
  import { EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCommandOutput } from "./commands/EnableDelegatedAdminAccountCommand";
32
+ import { GetCisScanReportCommandInput, GetCisScanReportCommandOutput } from "./commands/GetCisScanReportCommand";
33
+ import { GetCisScanResultDetailsCommandInput, GetCisScanResultDetailsCommandOutput } from "./commands/GetCisScanResultDetailsCommand";
30
34
  import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "./commands/GetConfigurationCommand";
31
35
  import { GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput } from "./commands/GetDelegatedAdminAccountCommand";
32
36
  import { GetEc2DeepInspectionConfigurationCommandInput, GetEc2DeepInspectionConfigurationCommandOutput } from "./commands/GetEc2DeepInspectionConfigurationCommand";
@@ -35,6 +39,10 @@ import { GetFindingsReportStatusCommandInput, GetFindingsReportStatusCommandOutp
35
39
  import { GetMemberCommandInput, GetMemberCommandOutput } from "./commands/GetMemberCommand";
36
40
  import { GetSbomExportCommandInput, GetSbomExportCommandOutput } from "./commands/GetSbomExportCommand";
37
41
  import { ListAccountPermissionsCommandInput, ListAccountPermissionsCommandOutput } from "./commands/ListAccountPermissionsCommand";
42
+ import { ListCisScanConfigurationsCommandInput, ListCisScanConfigurationsCommandOutput } from "./commands/ListCisScanConfigurationsCommand";
43
+ import { ListCisScanResultsAggregatedByChecksCommandInput, ListCisScanResultsAggregatedByChecksCommandOutput } from "./commands/ListCisScanResultsAggregatedByChecksCommand";
44
+ import { ListCisScanResultsAggregatedByTargetResourceCommandInput, ListCisScanResultsAggregatedByTargetResourceCommandOutput } from "./commands/ListCisScanResultsAggregatedByTargetResourceCommand";
45
+ import { ListCisScansCommandInput, ListCisScansCommandOutput } from "./commands/ListCisScansCommand";
38
46
  import { ListCoverageCommandInput, ListCoverageCommandOutput } from "./commands/ListCoverageCommand";
39
47
  import { ListCoverageStatisticsCommandInput, ListCoverageStatisticsCommandOutput } from "./commands/ListCoverageStatisticsCommand";
40
48
  import { ListDelegatedAdminAccountsCommandInput, ListDelegatedAdminAccountsCommandOutput } from "./commands/ListDelegatedAdminAccountsCommand";
@@ -46,8 +54,13 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
46
54
  import { ListUsageTotalsCommandInput, ListUsageTotalsCommandOutput } from "./commands/ListUsageTotalsCommand";
47
55
  import { ResetEncryptionKeyCommandInput, ResetEncryptionKeyCommandOutput } from "./commands/ResetEncryptionKeyCommand";
48
56
  import { SearchVulnerabilitiesCommandInput, SearchVulnerabilitiesCommandOutput } from "./commands/SearchVulnerabilitiesCommand";
57
+ import { SendCisSessionHealthCommandInput, SendCisSessionHealthCommandOutput } from "./commands/SendCisSessionHealthCommand";
58
+ import { SendCisSessionTelemetryCommandInput, SendCisSessionTelemetryCommandOutput } from "./commands/SendCisSessionTelemetryCommand";
59
+ import { StartCisSessionCommandInput, StartCisSessionCommandOutput } from "./commands/StartCisSessionCommand";
60
+ import { StopCisSessionCommandInput, StopCisSessionCommandOutput } from "./commands/StopCisSessionCommand";
49
61
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
50
62
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
63
+ import { UpdateCisScanConfigurationCommandInput, UpdateCisScanConfigurationCommandOutput } from "./commands/UpdateCisScanConfigurationCommand";
51
64
  import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
52
65
  import { UpdateEc2DeepInspectionConfigurationCommandInput, UpdateEc2DeepInspectionConfigurationCommandOutput } from "./commands/UpdateEc2DeepInspectionConfigurationCommand";
53
66
  import { UpdateEncryptionKeyCommandInput, UpdateEncryptionKeyCommandOutput } from "./commands/UpdateEncryptionKeyCommand";
@@ -60,11 +73,11 @@ export { __Client };
60
73
  /**
61
74
  * @public
62
75
  */
63
- export type ServiceInputTypes = AssociateMemberCommandInput | BatchGetAccountStatusCommandInput | BatchGetCodeSnippetCommandInput | BatchGetFindingDetailsCommandInput | BatchGetFreeTrialInfoCommandInput | BatchGetMemberEc2DeepInspectionStatusCommandInput | BatchUpdateMemberEc2DeepInspectionStatusCommandInput | CancelFindingsReportCommandInput | CancelSbomExportCommandInput | CreateFilterCommandInput | CreateFindingsReportCommandInput | CreateSbomExportCommandInput | DeleteFilterCommandInput | DescribeOrganizationConfigurationCommandInput | DisableCommandInput | DisableDelegatedAdminAccountCommandInput | DisassociateMemberCommandInput | EnableCommandInput | EnableDelegatedAdminAccountCommandInput | GetConfigurationCommandInput | GetDelegatedAdminAccountCommandInput | GetEc2DeepInspectionConfigurationCommandInput | GetEncryptionKeyCommandInput | GetFindingsReportStatusCommandInput | GetMemberCommandInput | GetSbomExportCommandInput | ListAccountPermissionsCommandInput | ListCoverageCommandInput | ListCoverageStatisticsCommandInput | ListDelegatedAdminAccountsCommandInput | ListFiltersCommandInput | ListFindingAggregationsCommandInput | ListFindingsCommandInput | ListMembersCommandInput | ListTagsForResourceCommandInput | ListUsageTotalsCommandInput | ResetEncryptionKeyCommandInput | SearchVulnerabilitiesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConfigurationCommandInput | UpdateEc2DeepInspectionConfigurationCommandInput | UpdateEncryptionKeyCommandInput | UpdateFilterCommandInput | UpdateOrgEc2DeepInspectionConfigurationCommandInput | UpdateOrganizationConfigurationCommandInput;
76
+ export type ServiceInputTypes = AssociateMemberCommandInput | BatchGetAccountStatusCommandInput | BatchGetCodeSnippetCommandInput | BatchGetFindingDetailsCommandInput | BatchGetFreeTrialInfoCommandInput | BatchGetMemberEc2DeepInspectionStatusCommandInput | BatchUpdateMemberEc2DeepInspectionStatusCommandInput | CancelFindingsReportCommandInput | CancelSbomExportCommandInput | CreateCisScanConfigurationCommandInput | CreateFilterCommandInput | CreateFindingsReportCommandInput | CreateSbomExportCommandInput | DeleteCisScanConfigurationCommandInput | DeleteFilterCommandInput | DescribeOrganizationConfigurationCommandInput | DisableCommandInput | DisableDelegatedAdminAccountCommandInput | DisassociateMemberCommandInput | EnableCommandInput | EnableDelegatedAdminAccountCommandInput | GetCisScanReportCommandInput | GetCisScanResultDetailsCommandInput | GetConfigurationCommandInput | GetDelegatedAdminAccountCommandInput | GetEc2DeepInspectionConfigurationCommandInput | GetEncryptionKeyCommandInput | GetFindingsReportStatusCommandInput | GetMemberCommandInput | GetSbomExportCommandInput | ListAccountPermissionsCommandInput | ListCisScanConfigurationsCommandInput | ListCisScanResultsAggregatedByChecksCommandInput | ListCisScanResultsAggregatedByTargetResourceCommandInput | ListCisScansCommandInput | ListCoverageCommandInput | ListCoverageStatisticsCommandInput | ListDelegatedAdminAccountsCommandInput | ListFiltersCommandInput | ListFindingAggregationsCommandInput | ListFindingsCommandInput | ListMembersCommandInput | ListTagsForResourceCommandInput | ListUsageTotalsCommandInput | ResetEncryptionKeyCommandInput | SearchVulnerabilitiesCommandInput | SendCisSessionHealthCommandInput | SendCisSessionTelemetryCommandInput | StartCisSessionCommandInput | StopCisSessionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCisScanConfigurationCommandInput | UpdateConfigurationCommandInput | UpdateEc2DeepInspectionConfigurationCommandInput | UpdateEncryptionKeyCommandInput | UpdateFilterCommandInput | UpdateOrgEc2DeepInspectionConfigurationCommandInput | UpdateOrganizationConfigurationCommandInput;
64
77
  /**
65
78
  * @public
66
79
  */
67
- export type ServiceOutputTypes = AssociateMemberCommandOutput | BatchGetAccountStatusCommandOutput | BatchGetCodeSnippetCommandOutput | BatchGetFindingDetailsCommandOutput | BatchGetFreeTrialInfoCommandOutput | BatchGetMemberEc2DeepInspectionStatusCommandOutput | BatchUpdateMemberEc2DeepInspectionStatusCommandOutput | CancelFindingsReportCommandOutput | CancelSbomExportCommandOutput | CreateFilterCommandOutput | CreateFindingsReportCommandOutput | CreateSbomExportCommandOutput | DeleteFilterCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableCommandOutput | DisableDelegatedAdminAccountCommandOutput | DisassociateMemberCommandOutput | EnableCommandOutput | EnableDelegatedAdminAccountCommandOutput | GetConfigurationCommandOutput | GetDelegatedAdminAccountCommandOutput | GetEc2DeepInspectionConfigurationCommandOutput | GetEncryptionKeyCommandOutput | GetFindingsReportStatusCommandOutput | GetMemberCommandOutput | GetSbomExportCommandOutput | ListAccountPermissionsCommandOutput | ListCoverageCommandOutput | ListCoverageStatisticsCommandOutput | ListDelegatedAdminAccountsCommandOutput | ListFiltersCommandOutput | ListFindingAggregationsCommandOutput | ListFindingsCommandOutput | ListMembersCommandOutput | ListTagsForResourceCommandOutput | ListUsageTotalsCommandOutput | ResetEncryptionKeyCommandOutput | SearchVulnerabilitiesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConfigurationCommandOutput | UpdateEc2DeepInspectionConfigurationCommandOutput | UpdateEncryptionKeyCommandOutput | UpdateFilterCommandOutput | UpdateOrgEc2DeepInspectionConfigurationCommandOutput | UpdateOrganizationConfigurationCommandOutput;
80
+ export type ServiceOutputTypes = AssociateMemberCommandOutput | BatchGetAccountStatusCommandOutput | BatchGetCodeSnippetCommandOutput | BatchGetFindingDetailsCommandOutput | BatchGetFreeTrialInfoCommandOutput | BatchGetMemberEc2DeepInspectionStatusCommandOutput | BatchUpdateMemberEc2DeepInspectionStatusCommandOutput | CancelFindingsReportCommandOutput | CancelSbomExportCommandOutput | CreateCisScanConfigurationCommandOutput | CreateFilterCommandOutput | CreateFindingsReportCommandOutput | CreateSbomExportCommandOutput | DeleteCisScanConfigurationCommandOutput | DeleteFilterCommandOutput | DescribeOrganizationConfigurationCommandOutput | DisableCommandOutput | DisableDelegatedAdminAccountCommandOutput | DisassociateMemberCommandOutput | EnableCommandOutput | EnableDelegatedAdminAccountCommandOutput | GetCisScanReportCommandOutput | GetCisScanResultDetailsCommandOutput | GetConfigurationCommandOutput | GetDelegatedAdminAccountCommandOutput | GetEc2DeepInspectionConfigurationCommandOutput | GetEncryptionKeyCommandOutput | GetFindingsReportStatusCommandOutput | GetMemberCommandOutput | GetSbomExportCommandOutput | ListAccountPermissionsCommandOutput | ListCisScanConfigurationsCommandOutput | ListCisScanResultsAggregatedByChecksCommandOutput | ListCisScanResultsAggregatedByTargetResourceCommandOutput | ListCisScansCommandOutput | ListCoverageCommandOutput | ListCoverageStatisticsCommandOutput | ListDelegatedAdminAccountsCommandOutput | ListFiltersCommandOutput | ListFindingAggregationsCommandOutput | ListFindingsCommandOutput | ListMembersCommandOutput | ListTagsForResourceCommandOutput | ListUsageTotalsCommandOutput | ResetEncryptionKeyCommandOutput | SearchVulnerabilitiesCommandOutput | SendCisSessionHealthCommandOutput | SendCisSessionTelemetryCommandOutput | StartCisSessionCommandOutput | StopCisSessionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCisScanConfigurationCommandOutput | UpdateConfigurationCommandOutput | UpdateEc2DeepInspectionConfigurationCommandOutput | UpdateEncryptionKeyCommandOutput | UpdateFilterCommandOutput | UpdateOrgEc2DeepInspectionConfigurationCommandOutput | UpdateOrganizationConfigurationCommandOutput;
68
81
  /**
69
82
  * @public
70
83
  */
@@ -0,0 +1,110 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
+ import { CreateCisScanConfigurationRequest, CreateCisScanConfigurationResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link CreateCisScanConfigurationCommand}.
13
+ */
14
+ export interface CreateCisScanConfigurationCommandInput extends CreateCisScanConfigurationRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link CreateCisScanConfigurationCommand}.
20
+ */
21
+ export interface CreateCisScanConfigurationCommandOutput extends CreateCisScanConfigurationResponse, __MetadataBearer {
22
+ }
23
+ declare const CreateCisScanConfigurationCommand_base: {
24
+ new (input: CreateCisScanConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCisScanConfigurationCommandInput, CreateCisScanConfigurationCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Creates a CIS scan configuration.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { Inspector2Client, CreateCisScanConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
34
+ * // const { Inspector2Client, CreateCisScanConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
35
+ * const client = new Inspector2Client(config);
36
+ * const input = { // CreateCisScanConfigurationRequest
37
+ * scanName: "STRING_VALUE", // required
38
+ * securityLevel: "LEVEL_1" || "LEVEL_2", // required
39
+ * schedule: { // Schedule Union: only one key present
40
+ * oneTime: {},
41
+ * daily: { // DailySchedule
42
+ * startTime: { // Time
43
+ * timeOfDay: "STRING_VALUE", // required
44
+ * timezone: "STRING_VALUE", // required
45
+ * },
46
+ * },
47
+ * weekly: { // WeeklySchedule
48
+ * startTime: {
49
+ * timeOfDay: "STRING_VALUE", // required
50
+ * timezone: "STRING_VALUE", // required
51
+ * },
52
+ * days: [ // DaysList // required
53
+ * "SUN" || "MON" || "TUE" || "WED" || "THU" || "FRI" || "SAT",
54
+ * ],
55
+ * },
56
+ * monthly: { // MonthlySchedule
57
+ * startTime: {
58
+ * timeOfDay: "STRING_VALUE", // required
59
+ * timezone: "STRING_VALUE", // required
60
+ * },
61
+ * day: "SUN" || "MON" || "TUE" || "WED" || "THU" || "FRI" || "SAT", // required
62
+ * },
63
+ * },
64
+ * targets: { // CreateCisTargets
65
+ * accountIds: [ // TargetAccountList // required
66
+ * "STRING_VALUE",
67
+ * ],
68
+ * targetResourceTags: { // TargetResourceTags // required
69
+ * "<keys>": [ // TagValueList
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * },
73
+ * },
74
+ * tags: { // CisTagMap
75
+ * "<keys>": "STRING_VALUE",
76
+ * },
77
+ * };
78
+ * const command = new CreateCisScanConfigurationCommand(input);
79
+ * const response = await client.send(command);
80
+ * // { // CreateCisScanConfigurationResponse
81
+ * // scanConfigurationArn: "STRING_VALUE",
82
+ * // };
83
+ *
84
+ * ```
85
+ *
86
+ * @param CreateCisScanConfigurationCommandInput - {@link CreateCisScanConfigurationCommandInput}
87
+ * @returns {@link CreateCisScanConfigurationCommandOutput}
88
+ * @see {@link CreateCisScanConfigurationCommandInput} for command's `input` shape.
89
+ * @see {@link CreateCisScanConfigurationCommandOutput} for command's `response` shape.
90
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
91
+ *
92
+ * @throws {@link AccessDeniedException} (client fault)
93
+ * <p>You do not have sufficient access to perform this action.</p>
94
+ *
95
+ * @throws {@link InternalServerException} (server fault)
96
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
97
+ *
98
+ * @throws {@link ThrottlingException} (client fault)
99
+ * <p>The limit on the number of requests per second was exceeded.</p>
100
+ *
101
+ * @throws {@link ValidationException} (client fault)
102
+ * <p>The request has failed validation due to missing required fields or having invalid
103
+ * inputs.</p>
104
+ *
105
+ * @throws {@link Inspector2ServiceException}
106
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
107
+ *
108
+ */
109
+ export declare class CreateCisScanConfigurationCommand extends CreateCisScanConfigurationCommand_base {
110
+ }
@@ -0,0 +1,74 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
+ import { DeleteCisScanConfigurationRequest, DeleteCisScanConfigurationResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link DeleteCisScanConfigurationCommand}.
13
+ */
14
+ export interface DeleteCisScanConfigurationCommandInput extends DeleteCisScanConfigurationRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link DeleteCisScanConfigurationCommand}.
20
+ */
21
+ export interface DeleteCisScanConfigurationCommandOutput extends DeleteCisScanConfigurationResponse, __MetadataBearer {
22
+ }
23
+ declare const DeleteCisScanConfigurationCommand_base: {
24
+ new (input: DeleteCisScanConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCisScanConfigurationCommandInput, DeleteCisScanConfigurationCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Deletes a CIS scan configuration.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { Inspector2Client, DeleteCisScanConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
34
+ * // const { Inspector2Client, DeleteCisScanConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
35
+ * const client = new Inspector2Client(config);
36
+ * const input = { // DeleteCisScanConfigurationRequest
37
+ * scanConfigurationArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteCisScanConfigurationCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DeleteCisScanConfigurationResponse
42
+ * // scanConfigurationArn: "STRING_VALUE", // required
43
+ * // };
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeleteCisScanConfigurationCommandInput - {@link DeleteCisScanConfigurationCommandInput}
48
+ * @returns {@link DeleteCisScanConfigurationCommandOutput}
49
+ * @see {@link DeleteCisScanConfigurationCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteCisScanConfigurationCommandOutput} for command's `response` shape.
51
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>You do not have sufficient access to perform this action.</p>
55
+ *
56
+ * @throws {@link InternalServerException} (server fault)
57
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
61
+ *
62
+ * @throws {@link ThrottlingException} (client fault)
63
+ * <p>The limit on the number of requests per second was exceeded.</p>
64
+ *
65
+ * @throws {@link ValidationException} (client fault)
66
+ * <p>The request has failed validation due to missing required fields or having invalid
67
+ * inputs.</p>
68
+ *
69
+ * @throws {@link Inspector2ServiceException}
70
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
71
+ *
72
+ */
73
+ export declare class DeleteCisScanConfigurationCommand extends DeleteCisScanConfigurationCommand_base {
74
+ }
@@ -0,0 +1,75 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
+ import { GetCisScanReportRequest, GetCisScanReportResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link GetCisScanReportCommand}.
13
+ */
14
+ export interface GetCisScanReportCommandInput extends GetCisScanReportRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetCisScanReportCommand}.
20
+ */
21
+ export interface GetCisScanReportCommandOutput extends GetCisScanReportResponse, __MetadataBearer {
22
+ }
23
+ declare const GetCisScanReportCommand_base: {
24
+ new (input: GetCisScanReportCommandInput): import("@smithy/smithy-client").CommandImpl<GetCisScanReportCommandInput, GetCisScanReportCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Retrieves a CIS scan report.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { Inspector2Client, GetCisScanReportCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
34
+ * // const { Inspector2Client, GetCisScanReportCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
35
+ * const client = new Inspector2Client(config);
36
+ * const input = { // GetCisScanReportRequest
37
+ * scanArn: "STRING_VALUE", // required
38
+ * targetAccounts: [ // ReportTargetAccounts
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
42
+ * const command = new GetCisScanReportCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetCisScanReportResponse
45
+ * // url: "STRING_VALUE",
46
+ * // status: "SUCCEEDED" || "FAILED" || "IN_PROGRESS",
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param GetCisScanReportCommandInput - {@link GetCisScanReportCommandInput}
52
+ * @returns {@link GetCisScanReportCommandOutput}
53
+ * @see {@link GetCisScanReportCommandInput} for command's `input` shape.
54
+ * @see {@link GetCisScanReportCommandOutput} for command's `response` shape.
55
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>You do not have sufficient access to perform this action.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>The limit on the number of requests per second was exceeded.</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>The request has failed validation due to missing required fields or having invalid
68
+ * inputs.</p>
69
+ *
70
+ * @throws {@link Inspector2ServiceException}
71
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
72
+ *
73
+ */
74
+ export declare class GetCisScanReportCommand extends GetCisScanReportCommand_base {
75
+ }
@@ -0,0 +1,125 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
+ import { GetCisScanResultDetailsRequest, GetCisScanResultDetailsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link GetCisScanResultDetailsCommand}.
13
+ */
14
+ export interface GetCisScanResultDetailsCommandInput extends GetCisScanResultDetailsRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetCisScanResultDetailsCommand}.
20
+ */
21
+ export interface GetCisScanResultDetailsCommandOutput extends GetCisScanResultDetailsResponse, __MetadataBearer {
22
+ }
23
+ declare const GetCisScanResultDetailsCommand_base: {
24
+ new (input: GetCisScanResultDetailsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCisScanResultDetailsCommandInput, GetCisScanResultDetailsCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Retrieves CIS scan result details.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { Inspector2Client, GetCisScanResultDetailsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
34
+ * // const { Inspector2Client, GetCisScanResultDetailsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
35
+ * const client = new Inspector2Client(config);
36
+ * const input = { // GetCisScanResultDetailsRequest
37
+ * scanArn: "STRING_VALUE", // required
38
+ * targetResourceId: "STRING_VALUE", // required
39
+ * accountId: "STRING_VALUE", // required
40
+ * filterCriteria: { // CisScanResultDetailsFilterCriteria
41
+ * findingStatusFilters: [ // CisFindingStatusFilterList
42
+ * { // CisFindingStatusFilter
43
+ * comparison: "EQUALS", // required
44
+ * value: "PASSED" || "FAILED" || "SKIPPED", // required
45
+ * },
46
+ * ],
47
+ * checkIdFilters: [ // CheckIdFilterList
48
+ * { // CisStringFilter
49
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
50
+ * value: "STRING_VALUE", // required
51
+ * },
52
+ * ],
53
+ * titleFilters: [ // TitleFilterList
54
+ * {
55
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
56
+ * value: "STRING_VALUE", // required
57
+ * },
58
+ * ],
59
+ * securityLevelFilters: [ // CisSecurityLevelFilterList
60
+ * { // CisSecurityLevelFilter
61
+ * comparison: "EQUALS", // required
62
+ * value: "LEVEL_1" || "LEVEL_2", // required
63
+ * },
64
+ * ],
65
+ * findingArnFilters: [ // CisFindingArnFilterList
66
+ * {
67
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
68
+ * value: "STRING_VALUE", // required
69
+ * },
70
+ * ],
71
+ * },
72
+ * sortBy: "CHECK_ID" || "STATUS",
73
+ * sortOrder: "ASC" || "DESC",
74
+ * nextToken: "STRING_VALUE",
75
+ * maxResults: Number("int"),
76
+ * };
77
+ * const command = new GetCisScanResultDetailsCommand(input);
78
+ * const response = await client.send(command);
79
+ * // { // GetCisScanResultDetailsResponse
80
+ * // scanResultDetails: [ // CisScanResultDetailsList
81
+ * // { // CisScanResultDetails
82
+ * // scanArn: "STRING_VALUE", // required
83
+ * // accountId: "STRING_VALUE",
84
+ * // targetResourceId: "STRING_VALUE",
85
+ * // platform: "STRING_VALUE",
86
+ * // status: "PASSED" || "FAILED" || "SKIPPED",
87
+ * // statusReason: "STRING_VALUE",
88
+ * // checkId: "STRING_VALUE",
89
+ * // title: "STRING_VALUE",
90
+ * // checkDescription: "STRING_VALUE",
91
+ * // remediation: "STRING_VALUE",
92
+ * // level: "LEVEL_1" || "LEVEL_2",
93
+ * // findingArn: "STRING_VALUE",
94
+ * // },
95
+ * // ],
96
+ * // nextToken: "STRING_VALUE",
97
+ * // };
98
+ *
99
+ * ```
100
+ *
101
+ * @param GetCisScanResultDetailsCommandInput - {@link GetCisScanResultDetailsCommandInput}
102
+ * @returns {@link GetCisScanResultDetailsCommandOutput}
103
+ * @see {@link GetCisScanResultDetailsCommandInput} for command's `input` shape.
104
+ * @see {@link GetCisScanResultDetailsCommandOutput} for command's `response` shape.
105
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
106
+ *
107
+ * @throws {@link AccessDeniedException} (client fault)
108
+ * <p>You do not have sufficient access to perform this action.</p>
109
+ *
110
+ * @throws {@link InternalServerException} (server fault)
111
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
112
+ *
113
+ * @throws {@link ThrottlingException} (client fault)
114
+ * <p>The limit on the number of requests per second was exceeded.</p>
115
+ *
116
+ * @throws {@link ValidationException} (client fault)
117
+ * <p>The request has failed validation due to missing required fields or having invalid
118
+ * inputs.</p>
119
+ *
120
+ * @throws {@link Inspector2ServiceException}
121
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
122
+ *
123
+ */
124
+ export declare class GetCisScanResultDetailsCommand extends GetCisScanResultDetailsCommand_base {
125
+ }