@aws-sdk/client-inspector2 3.1157.0 → 3.1159.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 (123) hide show
  1. package/README.md +22 -2
  2. package/dist-cjs/index.js +273 -61
  3. package/dist-es/Inspector2.js +8 -0
  4. package/dist-es/commands/GetOnDemandScanStatusCommand.js +4 -0
  5. package/dist-es/commands/ListOnDemandScansCommand.js +4 -0
  6. package/dist-es/commands/StartOnDemandScanCommand.js +4 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/enums.js +49 -0
  9. package/dist-es/pagination/ListOnDemandScansPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/schemas/schemas_0.js +181 -60
  12. package/dist-types/Inspector2.d.ts +29 -2
  13. package/dist-types/Inspector2Client.d.ts +6 -4
  14. package/dist-types/commands/AssociateMemberCommand.d.ts +4 -11
  15. package/dist-types/commands/BatchAssociateCodeSecurityScanConfigurationCommand.d.ts +5 -11
  16. package/dist-types/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.d.ts +5 -11
  17. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +5 -7
  18. package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +3 -7
  19. package/dist-types/commands/BatchGetFindingDetailsCommand.d.ts +2 -5
  20. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +2 -5
  21. package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +3 -8
  22. package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +3 -8
  23. package/dist-types/commands/CancelFindingsReportCommand.d.ts +3 -7
  24. package/dist-types/commands/CancelSbomExportCommand.d.ts +3 -7
  25. package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +2 -5
  26. package/dist-types/commands/CreateCodeSecurityIntegrationCommand.d.ts +5 -14
  27. package/dist-types/commands/CreateCodeSecurityScanConfigurationCommand.d.ts +4 -9
  28. package/dist-types/commands/CreateConnectorCommand.d.ts +4 -9
  29. package/dist-types/commands/CreateFilterCommand.d.ts +8 -9
  30. package/dist-types/commands/CreateFindingsReportCommand.d.ts +9 -10
  31. package/dist-types/commands/CreateSbomExportCommand.d.ts +4 -7
  32. package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +3 -7
  33. package/dist-types/commands/DeleteCodeSecurityIntegrationCommand.d.ts +3 -7
  34. package/dist-types/commands/DeleteCodeSecurityScanConfigurationCommand.d.ts +3 -7
  35. package/dist-types/commands/DeleteConnectorCommand.d.ts +4 -9
  36. package/dist-types/commands/DeleteFilterCommand.d.ts +3 -7
  37. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -5
  38. package/dist-types/commands/DisableCommand.d.ts +6 -9
  39. package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +4 -9
  40. package/dist-types/commands/DisassociateMemberCommand.d.ts +2 -5
  41. package/dist-types/commands/EnableCommand.d.ts +5 -7
  42. package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +4 -9
  43. package/dist-types/commands/GetCisScanReportCommand.d.ts +3 -7
  44. package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +2 -5
  45. package/dist-types/commands/GetClustersForImageCommand.d.ts +2 -5
  46. package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +3 -7
  47. package/dist-types/commands/GetCodeSecurityScanCommand.d.ts +4 -9
  48. package/dist-types/commands/GetCodeSecurityScanConfigurationCommand.d.ts +3 -7
  49. package/dist-types/commands/GetConfigurationCommand.d.ts +21 -12
  50. package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +4 -9
  51. package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +3 -7
  52. package/dist-types/commands/GetEncryptionKeyCommand.d.ts +3 -7
  53. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +8 -7
  54. package/dist-types/commands/GetMemberCommand.d.ts +3 -7
  55. package/dist-types/commands/GetOnDemandScanStatusCommand.d.ts +94 -0
  56. package/dist-types/commands/GetSbomExportCommand.d.ts +4 -7
  57. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +3 -9
  58. package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +2 -5
  59. package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +2 -5
  60. package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +3 -6
  61. package/dist-types/commands/ListCisScansCommand.d.ts +3 -6
  62. package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +3 -6
  63. package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +5 -11
  64. package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +3 -7
  65. package/dist-types/commands/ListConnectorScanConfigurationsCommand.d.ts +2 -5
  66. package/dist-types/commands/ListConnectorsCommand.d.ts +2 -5
  67. package/dist-types/commands/ListCoverageCommand.d.ts +14 -2
  68. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +8 -2
  69. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +2 -5
  70. package/dist-types/commands/ListFiltersCommand.d.ts +6 -5
  71. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +5 -2
  72. package/dist-types/commands/ListFindingsCommand.d.ts +18 -2
  73. package/dist-types/commands/ListMembersCommand.d.ts +3 -7
  74. package/dist-types/commands/ListOnDemandScansCommand.d.ts +97 -0
  75. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -4
  76. package/dist-types/commands/ListUsageTotalsCommand.d.ts +2 -5
  77. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +4 -9
  78. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +2 -5
  79. package/dist-types/commands/SendCisSessionHealthCommand.d.ts +4 -10
  80. package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +4 -10
  81. package/dist-types/commands/StartCisSessionCommand.d.ts +4 -10
  82. package/dist-types/commands/StartCodeSecurityScanCommand.d.ts +4 -9
  83. package/dist-types/commands/StartOnDemandScanCommand.d.ts +88 -0
  84. package/dist-types/commands/StopCisSessionCommand.d.ts +4 -10
  85. package/dist-types/commands/TagResourceCommand.d.ts +2 -4
  86. package/dist-types/commands/UntagResourceCommand.d.ts +2 -4
  87. package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +3 -7
  88. package/dist-types/commands/UpdateCodeSecurityIntegrationCommand.d.ts +5 -14
  89. package/dist-types/commands/UpdateCodeSecurityScanConfigurationCommand.d.ts +4 -9
  90. package/dist-types/commands/UpdateConfigurationCommand.d.ts +22 -11
  91. package/dist-types/commands/UpdateConnectorCommand.d.ts +4 -9
  92. package/dist-types/commands/UpdateConnectorScanConfigurationCommand.d.ts +4 -9
  93. package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +3 -7
  94. package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +4 -9
  95. package/dist-types/commands/UpdateFilterCommand.d.ts +7 -7
  96. package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +3 -7
  97. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -5
  98. package/dist-types/commands/index.d.ts +3 -0
  99. package/dist-types/index.d.ts +1 -2
  100. package/dist-types/models/enums.d.ts +113 -0
  101. package/dist-types/models/errors.d.ts +5 -11
  102. package/dist-types/models/models_0.d.ts +533 -1195
  103. package/dist-types/models/models_1.d.ts +381 -170
  104. package/dist-types/pagination/ListOnDemandScansPaginator.d.ts +7 -0
  105. package/dist-types/pagination/index.d.ts +1 -0
  106. package/dist-types/schemas/schemas_0.d.ts +16 -0
  107. package/dist-types/ts3.4/Inspector2.d.ts +58 -0
  108. package/dist-types/ts3.4/Inspector2Client.d.ts +18 -0
  109. package/dist-types/ts3.4/commands/GetOnDemandScanStatusCommand.d.ts +39 -0
  110. package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/ListCodeSecurityIntegrationsCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +4 -2
  114. package/dist-types/ts3.4/commands/ListOnDemandScansCommand.d.ts +39 -0
  115. package/dist-types/ts3.4/commands/StartOnDemandScanCommand.d.ts +39 -0
  116. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  117. package/dist-types/ts3.4/models/enums.d.ts +59 -0
  118. package/dist-types/ts3.4/models/models_0.d.ts +75 -52
  119. package/dist-types/ts3.4/models/models_1.d.ts +95 -0
  120. package/dist-types/ts3.4/pagination/ListOnDemandScansPaginator.d.ts +11 -0
  121. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  122. package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  123. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListCodeSecurityIntegrationsRequest, ListCodeSecurityIntegrationsResponse } from "../models/models_0";
2
+ import type { ListCodeSecurityIntegrationsRequest, ListCodeSecurityIntegrationsResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -63,9 +63,7 @@ declare const ListCodeSecurityIntegrationsCommand_base: {
63
63
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
64
64
  *
65
65
  * @throws {@link AccessDeniedException} (client fault)
66
- * <p>You do not have sufficient access to perform this action.</p>
67
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
68
- * unsupported Amazon Web Services Region. </p>
66
+ * <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
69
67
  *
70
68
  * @throws {@link InternalServerException} (server fault)
71
69
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -74,8 +72,7 @@ declare const ListCodeSecurityIntegrationsCommand_base: {
74
72
  * <p>The limit on the number of requests per second was exceeded.</p>
75
73
  *
76
74
  * @throws {@link ValidationException} (client fault)
77
- * <p>The request has failed validation due to missing required fields or having invalid
78
- * inputs.</p>
75
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
79
76
  *
80
77
  * @throws {@link Inspector2ServiceException}
81
78
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListCodeSecurityScanConfigurationAssociationsRequest } from "../models/models_0";
3
- import type { ListCodeSecurityScanConfigurationAssociationsResponse } from "../models/models_1";
2
+ import type { ListCodeSecurityScanConfigurationAssociationsRequest, ListCodeSecurityScanConfigurationAssociationsResponse } from "../models/models_1";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -25,8 +24,7 @@ declare const ListCodeSecurityScanConfigurationAssociationsCommand_base: {
25
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
25
  };
27
26
  /**
28
- * <p>Lists the associations between code repositories and Amazon Inspector code security scan
29
- * configurations.</p>
27
+ * <p>Lists the associations between code repositories and Amazon Inspector code security scan configurations.</p>
30
28
  * @example
31
29
  * Use a bare-bones client and the command you need to make an API call.
32
30
  * ```javascript
@@ -62,23 +60,19 @@ declare const ListCodeSecurityScanConfigurationAssociationsCommand_base: {
62
60
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
63
61
  *
64
62
  * @throws {@link AccessDeniedException} (client fault)
65
- * <p>You do not have sufficient access to perform this action.</p>
66
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
67
- * unsupported Amazon Web Services Region. </p>
63
+ * <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
68
64
  *
69
65
  * @throws {@link InternalServerException} (server fault)
70
66
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
71
67
  *
72
68
  * @throws {@link ResourceNotFoundException} (client fault)
73
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
74
- * correctly.</p>
69
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
75
70
  *
76
71
  * @throws {@link ThrottlingException} (client fault)
77
72
  * <p>The limit on the number of requests per second was exceeded.</p>
78
73
  *
79
74
  * @throws {@link ValidationException} (client fault)
80
- * <p>The request has failed validation due to missing required fields or having invalid
81
- * inputs.</p>
75
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
82
76
  *
83
77
  * @throws {@link Inspector2ServiceException}
84
78
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -70,23 +70,19 @@ declare const ListCodeSecurityScanConfigurationsCommand_base: {
70
70
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
71
71
  *
72
72
  * @throws {@link AccessDeniedException} (client fault)
73
- * <p>You do not have sufficient access to perform this action.</p>
74
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
75
- * unsupported Amazon Web Services Region. </p>
73
+ * <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
76
74
  *
77
75
  * @throws {@link InternalServerException} (server fault)
78
76
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
79
77
  *
80
78
  * @throws {@link ResourceNotFoundException} (client fault)
81
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
82
- * correctly.</p>
79
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
83
80
  *
84
81
  * @throws {@link ThrottlingException} (client fault)
85
82
  * <p>The limit on the number of requests per second was exceeded.</p>
86
83
  *
87
84
  * @throws {@link ValidationException} (client fault)
88
- * <p>The request has failed validation due to missing required fields or having invalid
89
- * inputs.</p>
85
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
90
86
  *
91
87
  * @throws {@link Inspector2ServiceException}
92
88
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -69,9 +69,7 @@ declare const ListConnectorScanConfigurationsCommand_base: {
69
69
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
70
70
  *
71
71
  * @throws {@link AccessDeniedException} (client fault)
72
- * <p>You do not have sufficient access to perform this action.</p>
73
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
74
- * unsupported Amazon Web Services Region. </p>
72
+ * <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
75
73
  *
76
74
  * @throws {@link InternalServerException} (server fault)
77
75
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -80,8 +78,7 @@ declare const ListConnectorScanConfigurationsCommand_base: {
80
78
  * <p>The limit on the number of requests per second was exceeded.</p>
81
79
  *
82
80
  * @throws {@link ValidationException} (client fault)
83
- * <p>The request has failed validation due to missing required fields or having invalid
84
- * inputs.</p>
81
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
85
82
  *
86
83
  * @throws {@link Inspector2ServiceException}
87
84
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -135,9 +135,7 @@ declare const ListConnectorsCommand_base: {
135
135
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
136
136
  *
137
137
  * @throws {@link AccessDeniedException} (client fault)
138
- * <p>You do not have sufficient access to perform this action.</p>
139
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
140
- * unsupported Amazon Web Services Region. </p>
138
+ * <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
141
139
  *
142
140
  * @throws {@link InternalServerException} (server fault)
143
141
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -146,8 +144,7 @@ declare const ListConnectorsCommand_base: {
146
144
  * <p>The limit on the number of requests per second was exceeded.</p>
147
145
  *
148
146
  * @throws {@link ValidationException} (client fault)
149
- * <p>The request has failed validation due to missing required fields or having invalid
150
- * inputs.</p>
147
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
151
148
  *
152
149
  * @throws {@link Inspector2ServiceException}
153
150
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -86,6 +86,13 @@ declare const ListCoverageCommand_base: {
86
86
  * },
87
87
  * ],
88
88
  * lambdaFunctionRuntime: "<CoverageStringFilterList>",
89
+ * machineImageTags: [
90
+ * {
91
+ * comparison: "STRING_VALUE", // required
92
+ * key: "STRING_VALUE", // required
93
+ * value: "STRING_VALUE",
94
+ * },
95
+ * ],
89
96
  * lastScannedAt: [ // CoverageDateFilterList
90
97
  * { // CoverageDateFilter
91
98
  * startInclusive: new Date("TIMESTAMP"),
@@ -247,6 +254,12 @@ declare const ListCoverageCommand_base: {
247
254
  * // "<keys>": "STRING_VALUE",
248
255
  * // },
249
256
  * // },
257
+ * // machineImage: { // MachineImageMetadata
258
+ * // tags: {
259
+ * // "<keys>": "STRING_VALUE",
260
+ * // },
261
+ * // platform: "STRING_VALUE",
262
+ * // },
250
263
  * // },
251
264
  * // lastScannedAt: new Date("TIMESTAMP"),
252
265
  * // scanMode: "STRING_VALUE",
@@ -274,8 +287,7 @@ declare const ListCoverageCommand_base: {
274
287
  * <p>The limit on the number of requests per second was exceeded.</p>
275
288
  *
276
289
  * @throws {@link ValidationException} (client fault)
277
- * <p>The request has failed validation due to missing required fields or having invalid
278
- * inputs.</p>
290
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
279
291
  *
280
292
  * @throws {@link Inspector2ServiceException}
281
293
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -84,6 +84,13 @@ declare const ListCoverageStatisticsCommand_base: {
84
84
  * },
85
85
  * ],
86
86
  * lambdaFunctionRuntime: "<CoverageStringFilterList>",
87
+ * machineImageTags: [
88
+ * {
89
+ * comparison: "STRING_VALUE", // required
90
+ * key: "STRING_VALUE", // required
91
+ * value: "STRING_VALUE",
92
+ * },
93
+ * ],
87
94
  * lastScannedAt: [ // CoverageDateFilterList
88
95
  * { // CoverageDateFilter
89
96
  * startInclusive: new Date("TIMESTAMP"),
@@ -168,8 +175,7 @@ declare const ListCoverageStatisticsCommand_base: {
168
175
  * <p>The limit on the number of requests per second was exceeded.</p>
169
176
  *
170
177
  * @throws {@link ValidationException} (client fault)
171
- * <p>The request has failed validation due to missing required fields or having invalid
172
- * inputs.</p>
178
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
173
179
  *
174
180
  * @throws {@link Inspector2ServiceException}
175
181
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -58,9 +58,7 @@ declare const ListDelegatedAdminAccountsCommand_base: {
58
58
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
59
59
  *
60
60
  * @throws {@link AccessDeniedException} (client fault)
61
- * <p>You do not have sufficient access to perform this action.</p>
62
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
63
- * unsupported Amazon Web Services Region. </p>
61
+ * <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
64
62
  *
65
63
  * @throws {@link InternalServerException} (server fault)
66
64
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -69,8 +67,7 @@ declare const ListDelegatedAdminAccountsCommand_base: {
69
67
  * <p>The limit on the number of requests per second was exceeded.</p>
70
68
  *
71
69
  * @throws {@link ValidationException} (client fault)
72
- * <p>The request has failed validation due to missing required fields or having invalid
73
- * inputs.</p>
70
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
74
71
  *
75
72
  * @throws {@link Inspector2ServiceException}
76
73
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -186,6 +186,10 @@ declare const ListFiltersCommand_base: {
186
186
  * // ],
187
187
  * // codeRepositoryProjectName: "<StringFilterList>",
188
188
  * // codeRepositoryProviderType: "<StringFilterList>",
189
+ * // machineImageId: "<StringFilterList>",
190
+ * // machineImageName: "<StringFilterList>",
191
+ * // machineImageOwnerAccountId: "<StringFilterList>",
192
+ * // machineImagePlatform: "<StringFilterList>",
189
193
  * // cloudProvider: "<StringFilterList>",
190
194
  * // cloudProviderRegion: "<StringFilterList>",
191
195
  * // cloudProviderAccountId: "<StringFilterList>",
@@ -233,9 +237,7 @@ declare const ListFiltersCommand_base: {
233
237
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
234
238
  *
235
239
  * @throws {@link AccessDeniedException} (client fault)
236
- * <p>You do not have sufficient access to perform this action.</p>
237
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
238
- * unsupported Amazon Web Services Region. </p>
240
+ * <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
239
241
  *
240
242
  * @throws {@link InternalServerException} (server fault)
241
243
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -244,8 +246,7 @@ declare const ListFiltersCommand_base: {
244
246
  * <p>The limit on the number of requests per second was exceeded.</p>
245
247
  *
246
248
  * @throws {@link ValidationException} (client fault)
247
- * <p>The request has failed validation due to missing required fields or having invalid
248
- * inputs.</p>
249
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
249
250
  *
250
251
  * @throws {@link Inspector2ServiceException}
251
252
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -59,6 +59,9 @@ declare const ListFindingAggregationsCommand_base: {
59
59
  * ],
60
60
  * sortOrder: "STRING_VALUE",
61
61
  * sortBy: "STRING_VALUE",
62
+ * scanSources: [ // ScanSourceList
63
+ * "STRING_VALUE",
64
+ * ],
62
65
  * },
63
66
  * awsEcrContainerAggregation: { // AwsEcrContainerAggregation
64
67
  * resourceIds: [
@@ -279,6 +282,7 @@ declare const ListFindingAggregationsCommand_base: {
279
282
  * // untriaged: Number("long"),
280
283
  * // },
281
284
  * // affectedInstances: Number("long"),
285
+ * // scanSource: "STRING_VALUE",
282
286
  * // },
283
287
  * // awsEcrContainerAggregation: { // AwsEcrContainerAggregationResponse
284
288
  * // resourceId: "STRING_VALUE", // required
@@ -477,8 +481,7 @@ declare const ListFindingAggregationsCommand_base: {
477
481
  * <p>The limit on the number of requests per second was exceeded.</p>
478
482
  *
479
483
  * @throws {@link ValidationException} (client fault)
480
- * <p>The request has failed validation due to missing required fields or having invalid
481
- * inputs.</p>
484
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
482
485
  *
483
486
  * @throws {@link Inspector2ServiceException}
484
487
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -173,6 +173,10 @@ declare const ListFindingsCommand_base: {
173
173
  * ],
174
174
  * codeRepositoryProjectName: "<StringFilterList>",
175
175
  * codeRepositoryProviderType: "<StringFilterList>",
176
+ * machineImageId: "<StringFilterList>",
177
+ * machineImageName: "<StringFilterList>",
178
+ * machineImageOwnerAccountId: "<StringFilterList>",
179
+ * machineImagePlatform: "<StringFilterList>",
176
180
  * cloudProvider: "<StringFilterList>",
177
181
  * cloudProviderRegion: "<StringFilterList>",
178
182
  * cloudProviderAccountId: "<StringFilterList>",
@@ -294,6 +298,19 @@ declare const ListFindingsCommand_base: {
294
298
  * // integrationArn: "STRING_VALUE",
295
299
  * // providerType: "STRING_VALUE",
296
300
  * // },
301
+ * // machineImage: { // MachineImageDetails
302
+ * // machineImageId: "STRING_VALUE", // required
303
+ * // name: "STRING_VALUE",
304
+ * // ownerAccountId: "STRING_VALUE",
305
+ * // platform: "STRING_VALUE",
306
+ * // architecture: "STRING_VALUE",
307
+ * // creationDate: new Date("TIMESTAMP"),
308
+ * // state: "STRING_VALUE",
309
+ * // isPublic: true || false,
310
+ * // rootDeviceType: "STRING_VALUE",
311
+ * // virtualizationType: "STRING_VALUE",
312
+ * // sourceResourceId: "STRING_VALUE",
313
+ * // },
297
314
  * // vm: { // Vm
298
315
  * // type: "STRING_VALUE",
299
316
  * // vmName: "STRING_VALUE",
@@ -475,8 +492,7 @@ declare const ListFindingsCommand_base: {
475
492
  * <p>The limit on the number of requests per second was exceeded.</p>
476
493
  *
477
494
  * @throws {@link ValidationException} (client fault)
478
- * <p>The request has failed validation due to missing required fields or having invalid
479
- * inputs.</p>
495
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
480
496
  *
481
497
  * @throws {@link Inspector2ServiceException}
482
498
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -24,8 +24,7 @@ declare const ListMembersCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>List members associated with the Amazon Inspector delegated administrator for your
28
- * organization.</p>
27
+ * <p>List members associated with the Amazon Inspector delegated administrator for your organization.</p>
29
28
  * @example
30
29
  * Use a bare-bones client and the command you need to make an API call.
31
30
  * ```javascript
@@ -62,9 +61,7 @@ declare const ListMembersCommand_base: {
62
61
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
63
62
  *
64
63
  * @throws {@link AccessDeniedException} (client fault)
65
- * <p>You do not have sufficient access to perform this action.</p>
66
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
67
- * unsupported Amazon Web Services Region. </p>
64
+ * <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
68
65
  *
69
66
  * @throws {@link InternalServerException} (server fault)
70
67
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -73,8 +70,7 @@ declare const ListMembersCommand_base: {
73
70
  * <p>The limit on the number of requests per second was exceeded.</p>
74
71
  *
75
72
  * @throws {@link ValidationException} (client fault)
76
- * <p>The request has failed validation due to missing required fields or having invalid
77
- * inputs.</p>
73
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
78
74
  *
79
75
  * @throws {@link Inspector2ServiceException}
80
76
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListOnDemandScansRequest, ListOnDemandScansResponse } from "../models/models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListOnDemandScansCommand}.
11
+ */
12
+ export interface ListOnDemandScansCommandInput extends ListOnDemandScansRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListOnDemandScansCommand}.
18
+ */
19
+ export interface ListOnDemandScansCommandOutput extends ListOnDemandScansResponse, __MetadataBearer {
20
+ }
21
+ declare const ListOnDemandScansCommand_base: {
22
+ new (input: ListOnDemandScansCommandInput): import("@smithy/core/client").CommandImpl<ListOnDemandScansCommandInput, ListOnDemandScansCommandOutput, import("..").Inspector2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListOnDemandScansCommandInput): import("@smithy/core/client").CommandImpl<ListOnDemandScansCommandInput, ListOnDemandScansCommandOutput, import("..").Inspector2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the on-demand scans for a resource.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { Inspector2Client, ListOnDemandScansCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
32
+ * // const { Inspector2Client, ListOnDemandScansCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
33
+ * // import type { Inspector2ClientConfig } from "@aws-sdk/client-inspector2";
34
+ * const config = {}; // type is Inspector2ClientConfig
35
+ * const client = new Inspector2Client(config);
36
+ * const input = { // ListOnDemandScansRequest
37
+ * resourceId: "STRING_VALUE", // required
38
+ * resourceType: "AMI", // required
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListOnDemandScansCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListOnDemandScansResponse
45
+ * // items: [ // OnDemandScanList // required
46
+ * // { // OnDemandScan
47
+ * // scanId: "STRING_VALUE", // required
48
+ * // resourceId: "STRING_VALUE", // required
49
+ * // resourceType: "AMI", // required
50
+ * // scanStatus: "IN_PROGRESS" || "SUCCESSFUL" || "FAILED", // required
51
+ * // scanStatusReason: "ACCESS_DENIED" || "INTERNAL_ERROR" || "STORAGE_LIMIT_EXCEEDED" || "EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED" || "UNSUPPORTED_OS" || "RESOURCE_TERMINATED",
52
+ * // startedAt: new Date("TIMESTAMP"), // required
53
+ * // completedAt: new Date("TIMESTAMP"),
54
+ * // },
55
+ * // ],
56
+ * // nextToken: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListOnDemandScansCommandInput - {@link ListOnDemandScansCommandInput}
62
+ * @returns {@link ListOnDemandScansCommandOutput}
63
+ * @see {@link ListOnDemandScansCommandInput} for command's `input` shape.
64
+ * @see {@link ListOnDemandScansCommandOutput} for command's `response` shape.
65
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The limit on the number of requests per second was exceeded.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
78
+ *
79
+ * @throws {@link Inspector2ServiceException}
80
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
81
+ *
82
+ *
83
+ * @public
84
+ */
85
+ export declare class ListOnDemandScansCommand extends ListOnDemandScansCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: ListOnDemandScansRequest;
90
+ output: ListOnDemandScansResponse;
91
+ };
92
+ sdk: {
93
+ input: ListOnDemandScansCommandInput;
94
+ output: ListOnDemandScansCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -56,15 +56,13 @@ declare const ListTagsForResourceCommand_base: {
56
56
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
57
57
  *
58
58
  * @throws {@link ResourceNotFoundException} (client fault)
59
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
60
- * correctly.</p>
59
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
61
60
  *
62
61
  * @throws {@link ThrottlingException} (client fault)
63
62
  * <p>The limit on the number of requests per second was exceeded.</p>
64
63
  *
65
64
  * @throws {@link ValidationException} (client fault)
66
- * <p>The request has failed validation due to missing required fields or having invalid
67
- * inputs.</p>
65
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
68
66
  *
69
67
  * @throws {@link Inspector2ServiceException}
70
68
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -69,9 +69,7 @@ declare const ListUsageTotalsCommand_base: {
69
69
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
70
70
  *
71
71
  * @throws {@link AccessDeniedException} (client fault)
72
- * <p>You do not have sufficient access to perform this action.</p>
73
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
74
- * unsupported Amazon Web Services Region. </p>
72
+ * <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
75
73
  *
76
74
  * @throws {@link InternalServerException} (server fault)
77
75
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -80,8 +78,7 @@ declare const ListUsageTotalsCommand_base: {
80
78
  * <p>The limit on the number of requests per second was exceeded.</p>
81
79
  *
82
80
  * @throws {@link ValidationException} (client fault)
83
- * <p>The request has failed validation due to missing required fields or having invalid
84
- * inputs.</p>
81
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
85
82
  *
86
83
  * @throws {@link Inspector2ServiceException}
87
84
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -24,8 +24,7 @@ declare const ResetEncryptionKeyCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Resets an encryption key. After the key is reset your resources will be encrypted by an
28
- * Amazon Web Services owned key.</p>
27
+ * <p>Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.</p>
29
28
  * @example
30
29
  * Use a bare-bones client and the command you need to make an API call.
31
30
  * ```javascript
@@ -51,23 +50,19 @@ declare const ResetEncryptionKeyCommand_base: {
51
50
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
52
51
  *
53
52
  * @throws {@link AccessDeniedException} (client fault)
54
- * <p>You do not have sufficient access to perform this action.</p>
55
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
56
- * unsupported Amazon Web Services Region. </p>
53
+ * <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
57
54
  *
58
55
  * @throws {@link InternalServerException} (server fault)
59
56
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
60
57
  *
61
58
  * @throws {@link ResourceNotFoundException} (client fault)
62
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
63
- * correctly.</p>
59
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
64
60
  *
65
61
  * @throws {@link ThrottlingException} (client fault)
66
62
  * <p>The limit on the number of requests per second was exceeded.</p>
67
63
  *
68
64
  * @throws {@link ValidationException} (client fault)
69
- * <p>The request has failed validation due to missing required fields or having invalid
70
- * inputs.</p>
65
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
71
66
  *
72
67
  * @throws {@link Inspector2ServiceException}
73
68
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -113,9 +113,7 @@ declare const SearchVulnerabilitiesCommand_base: {
113
113
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
114
114
  *
115
115
  * @throws {@link AccessDeniedException} (client fault)
116
- * <p>You do not have sufficient access to perform this action.</p>
117
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
118
- * unsupported Amazon Web Services Region. </p>
116
+ * <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
119
117
  *
120
118
  * @throws {@link InternalServerException} (server fault)
121
119
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -124,8 +122,7 @@ declare const SearchVulnerabilitiesCommand_base: {
124
122
  * <p>The limit on the number of requests per second was exceeded.</p>
125
123
  *
126
124
  * @throws {@link ValidationException} (client fault)
127
- * <p>The request has failed validation due to missing required fields or having invalid
128
- * inputs.</p>
125
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
129
126
  *
130
127
  * @throws {@link Inspector2ServiceException}
131
128
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -24,9 +24,7 @@ declare const SendCisSessionHealthCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p> Sends a CIS session health. This API is used by the Amazon Inspector SSM plugin to
28
- * communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls
29
- * this API to start a CIS scan session for the scan ID supplied by the service. </p>
27
+ * <p> Sends a CIS session health. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service. </p>
30
28
  * @example
31
29
  * Use a bare-bones client and the command you need to make an API call.
32
30
  * ```javascript
@@ -52,13 +50,10 @@ declare const SendCisSessionHealthCommand_base: {
52
50
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
53
51
  *
54
52
  * @throws {@link AccessDeniedException} (client fault)
55
- * <p>You do not have sufficient access to perform this action.</p>
56
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
57
- * unsupported Amazon Web Services Region. </p>
53
+ * <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
58
54
  *
59
55
  * @throws {@link ConflictException} (client fault)
60
- * <p>A conflict occurred. This exception occurs when the same resource is being modified by
61
- * concurrent requests.</p>
56
+ * <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
62
57
  *
63
58
  * @throws {@link InternalServerException} (server fault)
64
59
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -67,8 +62,7 @@ declare const SendCisSessionHealthCommand_base: {
67
62
  * <p>The limit on the number of requests per second was exceeded.</p>
68
63
  *
69
64
  * @throws {@link ValidationException} (client fault)
70
- * <p>The request has failed validation due to missing required fields or having invalid
71
- * inputs.</p>
65
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
72
66
  *
73
67
  * @throws {@link Inspector2ServiceException}
74
68
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -24,9 +24,7 @@ declare const SendCisSessionTelemetryCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p> Sends a CIS session telemetry. This API is used by the Amazon Inspector SSM plugin to
28
- * communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls
29
- * this API to start a CIS scan session for the scan ID supplied by the service. </p>
27
+ * <p> Sends a CIS session telemetry. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service. </p>
30
28
  * @example
31
29
  * Use a bare-bones client and the command you need to make an API call.
32
30
  * ```javascript
@@ -59,13 +57,10 @@ declare const SendCisSessionTelemetryCommand_base: {
59
57
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
60
58
  *
61
59
  * @throws {@link AccessDeniedException} (client fault)
62
- * <p>You do not have sufficient access to perform this action.</p>
63
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
64
- * unsupported Amazon Web Services Region. </p>
60
+ * <p>You do not have sufficient access to perform this action.</p> <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. </p>
65
61
  *
66
62
  * @throws {@link ConflictException} (client fault)
67
- * <p>A conflict occurred. This exception occurs when the same resource is being modified by
68
- * concurrent requests.</p>
63
+ * <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
69
64
  *
70
65
  * @throws {@link InternalServerException} (server fault)
71
66
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -74,8 +69,7 @@ declare const SendCisSessionTelemetryCommand_base: {
74
69
  * <p>The limit on the number of requests per second was exceeded.</p>
75
70
  *
76
71
  * @throws {@link ValidationException} (client fault)
77
- * <p>The request has failed validation due to missing required fields or having invalid
78
- * inputs.</p>
72
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
79
73
  *
80
74
  * @throws {@link Inspector2ServiceException}
81
75
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>