@aws-sdk/client-inspector2 3.1156.0 → 3.1158.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 +5 -5
@@ -24,9 +24,7 @@ declare const StartCisSessionCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p> Starts a CIS session. 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> Starts a CIS session. 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
@@ -54,13 +52,10 @@ declare const StartCisSessionCommand_base: {
54
52
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
55
53
  *
56
54
  * @throws {@link AccessDeniedException} (client fault)
57
- * <p>You do not have sufficient access to perform this action.</p>
58
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
59
- * unsupported Amazon Web Services Region. </p>
55
+ * <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>
60
56
  *
61
57
  * @throws {@link ConflictException} (client fault)
62
- * <p>A conflict occurred. This exception occurs when the same resource is being modified by
63
- * concurrent requests.</p>
58
+ * <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
64
59
  *
65
60
  * @throws {@link InternalServerException} (server fault)
66
61
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -69,8 +64,7 @@ declare const StartCisSessionCommand_base: {
69
64
  * <p>The limit on the number of requests per second was exceeded.</p>
70
65
  *
71
66
  * @throws {@link ValidationException} (client fault)
72
- * <p>The request has failed validation due to missing required fields or having invalid
73
- * inputs.</p>
67
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
74
68
  *
75
69
  * @throws {@link Inspector2ServiceException}
76
70
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -55,27 +55,22 @@ declare const StartCodeSecurityScanCommand_base: {
55
55
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
56
56
  *
57
57
  * @throws {@link AccessDeniedException} (client fault)
58
- * <p>You do not have sufficient access to perform this action.</p>
59
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
60
- * unsupported Amazon Web Services Region. </p>
58
+ * <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>
61
59
  *
62
60
  * @throws {@link ConflictException} (client fault)
63
- * <p>A conflict occurred. This exception occurs when the same resource is being modified by
64
- * concurrent requests.</p>
61
+ * <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
65
62
  *
66
63
  * @throws {@link InternalServerException} (server fault)
67
64
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
68
65
  *
69
66
  * @throws {@link ResourceNotFoundException} (client fault)
70
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
71
- * correctly.</p>
67
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
72
68
  *
73
69
  * @throws {@link ThrottlingException} (client fault)
74
70
  * <p>The limit on the number of requests per second was exceeded.</p>
75
71
  *
76
72
  * @throws {@link ValidationException} (client fault)
77
- * <p>The request has failed validation due to missing required fields or having invalid
78
- * inputs.</p>
73
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
79
74
  *
80
75
  * @throws {@link Inspector2ServiceException}
81
76
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -0,0 +1,88 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { StartOnDemandScanRequest, StartOnDemandScanResponse } from "../models/models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link StartOnDemandScanCommand}.
11
+ */
12
+ export interface StartOnDemandScanCommandInput extends StartOnDemandScanRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link StartOnDemandScanCommand}.
18
+ */
19
+ export interface StartOnDemandScanCommandOutput extends StartOnDemandScanResponse, __MetadataBearer {
20
+ }
21
+ declare const StartOnDemandScanCommand_base: {
22
+ new (input: StartOnDemandScanCommandInput): import("@smithy/core/client").CommandImpl<StartOnDemandScanCommandInput, StartOnDemandScanCommandOutput, import("..").Inspector2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartOnDemandScanCommandInput): import("@smithy/core/client").CommandImpl<StartOnDemandScanCommandInput, StartOnDemandScanCommandOutput, import("..").Inspector2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Starts an on-demand scan of the specified resource, such as an Amazon Machine Image (AMI).</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { Inspector2Client, StartOnDemandScanCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
32
+ * // const { Inspector2Client, StartOnDemandScanCommand } = 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 = { // StartOnDemandScanRequest
37
+ * resourceId: "STRING_VALUE", // required
38
+ * resourceType: "AMI", // required
39
+ * clientToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new StartOnDemandScanCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // StartOnDemandScanResponse
44
+ * // scanId: "STRING_VALUE", // required
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param StartOnDemandScanCommandInput - {@link StartOnDemandScanCommandInput}
50
+ * @returns {@link StartOnDemandScanCommandOutput}
51
+ * @see {@link StartOnDemandScanCommandInput} for command's `input` shape.
52
+ * @see {@link StartOnDemandScanCommandOutput} for command's `response` shape.
53
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <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
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The limit on the number of requests per second was exceeded.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
69
+ *
70
+ * @throws {@link Inspector2ServiceException}
71
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
72
+ *
73
+ *
74
+ * @public
75
+ */
76
+ export declare class StartOnDemandScanCommand extends StartOnDemandScanCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: StartOnDemandScanRequest;
81
+ output: StartOnDemandScanResponse;
82
+ };
83
+ sdk: {
84
+ input: StartOnDemandScanCommandInput;
85
+ output: StartOnDemandScanCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -24,9 +24,7 @@ declare const StopCisSessionCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p> Stops a CIS session. 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 stop a CIS scan session for the scan ID supplied by the service. </p>
27
+ * <p> Stops a CIS session. 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 stop 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
@@ -73,13 +71,10 @@ declare const StopCisSessionCommand_base: {
73
71
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
74
72
  *
75
73
  * @throws {@link AccessDeniedException} (client fault)
76
- * <p>You do not have sufficient access to perform this action.</p>
77
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
78
- * unsupported Amazon Web Services Region. </p>
74
+ * <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>
79
75
  *
80
76
  * @throws {@link ConflictException} (client fault)
81
- * <p>A conflict occurred. This exception occurs when the same resource is being modified by
82
- * concurrent requests.</p>
77
+ * <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
83
78
  *
84
79
  * @throws {@link InternalServerException} (server fault)
85
80
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -88,8 +83,7 @@ declare const StopCisSessionCommand_base: {
88
83
  * <p>The limit on the number of requests per second was exceeded.</p>
89
84
  *
90
85
  * @throws {@link ValidationException} (client fault)
91
- * <p>The request has failed validation due to missing required fields or having invalid
92
- * inputs.</p>
86
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
93
87
  *
94
88
  * @throws {@link Inspector2ServiceException}
95
89
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -58,15 +58,13 @@ declare const TagResourceCommand_base: {
58
58
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
59
59
  *
60
60
  * @throws {@link ResourceNotFoundException} (client fault)
61
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
62
- * correctly.</p>
61
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
63
62
  *
64
63
  * @throws {@link ThrottlingException} (client fault)
65
64
  * <p>The limit on the number of requests per second was exceeded.</p>
66
65
  *
67
66
  * @throws {@link ValidationException} (client fault)
68
- * <p>The request has failed validation due to missing required fields or having invalid
69
- * inputs.</p>
67
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
70
68
  *
71
69
  * @throws {@link Inspector2ServiceException}
72
70
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -55,15 +55,13 @@ declare const UntagResourceCommand_base: {
55
55
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
56
56
  *
57
57
  * @throws {@link ResourceNotFoundException} (client fault)
58
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
59
- * correctly.</p>
58
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
60
59
  *
61
60
  * @throws {@link ThrottlingException} (client fault)
62
61
  * <p>The limit on the number of requests per second was exceeded.</p>
63
62
  *
64
63
  * @throws {@link ValidationException} (client fault)
65
- * <p>The request has failed validation due to missing required fields or having invalid
66
- * inputs.</p>
64
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
67
65
  *
68
66
  * @throws {@link Inspector2ServiceException}
69
67
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -88,23 +88,19 @@ declare const UpdateCisScanConfigurationCommand_base: {
88
88
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
89
89
  *
90
90
  * @throws {@link AccessDeniedException} (client fault)
91
- * <p>You do not have sufficient access to perform this action.</p>
92
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
93
- * unsupported Amazon Web Services Region. </p>
91
+ * <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>
94
92
  *
95
93
  * @throws {@link InternalServerException} (server fault)
96
94
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
97
95
  *
98
96
  * @throws {@link ResourceNotFoundException} (client fault)
99
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
100
- * correctly.</p>
97
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
101
98
  *
102
99
  * @throws {@link ThrottlingException} (client fault)
103
100
  * <p>The limit on the number of requests per second was exceeded.</p>
104
101
  *
105
102
  * @throws {@link ValidationException} (client fault)
106
- * <p>The request has failed validation due to missing required fields or having invalid
107
- * inputs.</p>
103
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
108
104
  *
109
105
  * @throws {@link Inspector2ServiceException}
110
106
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -24,11 +24,7 @@ declare const UpdateCodeSecurityIntegrationCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Updates an existing code security integration.</p>
28
- * <p>After calling the <code>CreateCodeSecurityIntegration</code> operation, you complete
29
- * authentication and authorization with your provider. Next you call the
30
- * <code>UpdateCodeSecurityIntegration</code> operation to provide the <code>details</code>
31
- * to complete the integration setup</p>
27
+ * <p>Updates an existing code security integration.</p> <p>After calling the <code>CreateCodeSecurityIntegration</code> operation, you complete authentication and authorization with your provider. Next you call the <code>UpdateCodeSecurityIntegration</code> operation to provide the <code>details</code> to complete the integration setup</p>
32
28
  * @example
33
29
  * Use a bare-bones client and the command you need to make an API call.
34
30
  * ```javascript
@@ -65,27 +61,22 @@ declare const UpdateCodeSecurityIntegrationCommand_base: {
65
61
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
66
62
  *
67
63
  * @throws {@link AccessDeniedException} (client fault)
68
- * <p>You do not have sufficient access to perform this action.</p>
69
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
70
- * 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>
71
65
  *
72
66
  * @throws {@link ConflictException} (client fault)
73
- * <p>A conflict occurred. This exception occurs when the same resource is being modified by
74
- * concurrent requests.</p>
67
+ * <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
75
68
  *
76
69
  * @throws {@link InternalServerException} (server fault)
77
70
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
78
71
  *
79
72
  * @throws {@link ResourceNotFoundException} (client fault)
80
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
81
- * correctly.</p>
73
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
82
74
  *
83
75
  * @throws {@link ThrottlingException} (client fault)
84
76
  * <p>The limit on the number of requests per second was exceeded.</p>
85
77
  *
86
78
  * @throws {@link ValidationException} (client fault)
87
- * <p>The request has failed validation due to missing required fields or having invalid
88
- * inputs.</p>
79
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
89
80
  *
90
81
  * @throws {@link Inspector2ServiceException}
91
82
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -65,27 +65,22 @@ declare const UpdateCodeSecurityScanConfigurationCommand_base: {
65
65
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
66
66
  *
67
67
  * @throws {@link AccessDeniedException} (client fault)
68
- * <p>You do not have sufficient access to perform this action.</p>
69
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
70
- * unsupported Amazon Web Services Region. </p>
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>
71
69
  *
72
70
  * @throws {@link ConflictException} (client fault)
73
- * <p>A conflict occurred. This exception occurs when the same resource is being modified by
74
- * concurrent requests.</p>
71
+ * <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
75
72
  *
76
73
  * @throws {@link InternalServerException} (server fault)
77
74
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
78
75
  *
79
76
  * @throws {@link ResourceNotFoundException} (client fault)
80
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
81
- * correctly.</p>
77
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
82
78
  *
83
79
  * @throws {@link ThrottlingException} (client fault)
84
80
  * <p>The limit on the number of requests per second was exceeded.</p>
85
81
  *
86
82
  * @throws {@link ValidationException} (client fault)
87
- * <p>The request has failed validation due to missing required fields or having invalid
88
- * inputs.</p>
83
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
89
84
  *
90
85
  * @throws {@link Inspector2ServiceException}
91
86
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -24,12 +24,7 @@ declare const UpdateConfigurationCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Updates the scan configuration for your Amazon Inspector account. If you don't specify an
28
- * <code>accountId</code>, this operation updates the delegated administrator's configuration
29
- * and propagates it to member accounts that have not been individually configured. If you
30
- * specify an <code>accountId</code>, this operation updates that member account's
31
- * configuration. Only the delegated administrator can specify an <code>accountId</code>;
32
- * member accounts cannot call this operation.</p>
27
+ * <p>Updates the scan configuration for your Amazon Inspector account. If you don't specify an <code>accountId</code>, this operation updates the delegated administrator's configuration and propagates it to member accounts that have not been individually configured. If you specify an <code>accountId</code>, this operation updates that member account's configuration. Only the delegated administrator can specify an <code>accountId</code>; member accounts cannot call this operation.</p>
33
28
  * @example
34
29
  * Use a bare-bones client and the command you need to make an API call.
35
30
  * ```javascript
@@ -49,9 +44,25 @@ declare const UpdateConfigurationCommand_base: {
49
44
  * scanMode: "STRING_VALUE", // required
50
45
  * activateVMScanner: true || false,
51
46
  * },
47
+ * amiConfiguration: { // AmiConfiguration
48
+ * lastLaunchedWithin: "STRING_VALUE",
49
+ * createdWithin: "STRING_VALUE",
50
+ * scanModeConfiguration: { // AmiScanModeConfiguration
51
+ * scanMode: "STRING_VALUE", // required
52
+ * tags: [ // AmiTagFilterList
53
+ * { // AmiTagFilter
54
+ * key: "STRING_VALUE", // required
55
+ * value: "STRING_VALUE",
56
+ * },
57
+ * ],
58
+ * excludeCopiedAmis: true || false,
59
+ * excludeBackupDlmAmis: true || false,
60
+ * },
61
+ * },
52
62
  * updateConfigurationInheritance: { // UpdateConfigurationInheritance
53
63
  * ec2Configuration: "STRING_VALUE",
54
64
  * ecrConfiguration: "STRING_VALUE",
65
+ * amiConfiguration: "STRING_VALUE",
55
66
  * },
56
67
  * };
57
68
  * const command = new UpdateConfigurationCommand(input);
@@ -67,9 +78,10 @@ declare const UpdateConfigurationCommand_base: {
67
78
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
68
79
  *
69
80
  * @throws {@link AccessDeniedException} (client fault)
70
- * <p>You do not have sufficient access to perform this action.</p>
71
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
72
- * unsupported Amazon Web Services Region. </p>
81
+ * <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>
82
+ *
83
+ * @throws {@link ConflictException} (client fault)
84
+ * <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
73
85
  *
74
86
  * @throws {@link InternalServerException} (server fault)
75
87
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -78,8 +90,7 @@ declare const UpdateConfigurationCommand_base: {
78
90
  * <p>The limit on the number of requests per second was exceeded.</p>
79
91
  *
80
92
  * @throws {@link ValidationException} (client fault)
81
- * <p>The request has failed validation due to missing required fields or having invalid
82
- * inputs.</p>
93
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
83
94
  *
84
95
  * @throws {@link Inspector2ServiceException}
85
96
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -80,27 +80,22 @@ declare const UpdateConnectorCommand_base: {
80
80
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
81
81
  *
82
82
  * @throws {@link AccessDeniedException} (client fault)
83
- * <p>You do not have sufficient access to perform this action.</p>
84
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
85
- * unsupported Amazon Web Services Region. </p>
83
+ * <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>
86
84
  *
87
85
  * @throws {@link ConflictException} (client fault)
88
- * <p>A conflict occurred. This exception occurs when the same resource is being modified by
89
- * concurrent requests.</p>
86
+ * <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
90
87
  *
91
88
  * @throws {@link InternalServerException} (server fault)
92
89
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
93
90
  *
94
91
  * @throws {@link ResourceNotFoundException} (client fault)
95
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
96
- * correctly.</p>
92
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
97
93
  *
98
94
  * @throws {@link ThrottlingException} (client fault)
99
95
  * <p>The limit on the number of requests per second was exceeded.</p>
100
96
  *
101
97
  * @throws {@link ValidationException} (client fault)
102
- * <p>The request has failed validation due to missing required fields or having invalid
103
- * inputs.</p>
98
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
104
99
  *
105
100
  * @throws {@link Inspector2ServiceException}
106
101
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -55,27 +55,22 @@ declare const UpdateConnectorScanConfigurationCommand_base: {
55
55
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
56
56
  *
57
57
  * @throws {@link AccessDeniedException} (client fault)
58
- * <p>You do not have sufficient access to perform this action.</p>
59
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
60
- * unsupported Amazon Web Services Region. </p>
58
+ * <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>
61
59
  *
62
60
  * @throws {@link ConflictException} (client fault)
63
- * <p>A conflict occurred. This exception occurs when the same resource is being modified by
64
- * concurrent requests.</p>
61
+ * <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
65
62
  *
66
63
  * @throws {@link InternalServerException} (server fault)
67
64
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
68
65
  *
69
66
  * @throws {@link ResourceNotFoundException} (client fault)
70
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
71
- * correctly.</p>
67
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
72
68
  *
73
69
  * @throws {@link ThrottlingException} (client fault)
74
70
  * <p>The limit on the number of requests per second was exceeded.</p>
75
71
  *
76
72
  * @throws {@link ValidationException} (client fault)
77
- * <p>The request has failed validation due to missing required fields or having invalid
78
- * inputs.</p>
73
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
79
74
  *
80
75
  * @throws {@link Inspector2ServiceException}
81
76
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -24,8 +24,7 @@ declare const UpdateEc2DeepInspectionConfigurationCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.
28
- * </p>
27
+ * <p>Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account. </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 UpdateEc2DeepInspectionConfigurationCommand_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 UpdateEc2DeepInspectionConfigurationCommand_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>
@@ -24,8 +24,7 @@ declare const UpdateEncryptionKeyCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Updates an encryption key. A <code>ResourceNotFoundException</code> means that an
28
- * Amazon Web Services owned key is being used for encryption.</p>
27
+ * <p>Updates an encryption key. A <code>ResourceNotFoundException</code> means that an Amazon Web Services owned key is being used for encryption.</p>
29
28
  * @example
30
29
  * Use a bare-bones client and the command you need to make an API call.
31
30
  * ```javascript
@@ -52,23 +51,19 @@ declare const UpdateEncryptionKeyCommand_base: {
52
51
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
53
52
  *
54
53
  * @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>
54
+ * <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
55
  *
59
56
  * @throws {@link InternalServerException} (server fault)
60
57
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
61
58
  *
62
59
  * @throws {@link ResourceNotFoundException} (client fault)
63
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
64
- * correctly.</p>
60
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
65
61
  *
66
62
  * @throws {@link ThrottlingException} (client fault)
67
63
  * <p>The limit on the number of requests per second was exceeded.</p>
68
64
  *
69
65
  * @throws {@link ValidationException} (client fault)
70
- * <p>The request has failed validation due to missing required fields or having invalid
71
- * inputs.</p>
66
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
72
67
  *
73
68
  * @throws {@link Inspector2ServiceException}
74
69
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -173,6 +173,10 @@ declare const UpdateFilterCommand_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>",
@@ -217,23 +221,19 @@ declare const UpdateFilterCommand_base: {
217
221
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
218
222
  *
219
223
  * @throws {@link AccessDeniedException} (client fault)
220
- * <p>You do not have sufficient access to perform this action.</p>
221
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
222
- * unsupported Amazon Web Services Region. </p>
224
+ * <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>
223
225
  *
224
226
  * @throws {@link InternalServerException} (server fault)
225
227
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
226
228
  *
227
229
  * @throws {@link ResourceNotFoundException} (client fault)
228
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
229
- * correctly.</p>
230
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
230
231
  *
231
232
  * @throws {@link ThrottlingException} (client fault)
232
233
  * <p>The limit on the number of requests per second was exceeded.</p>
233
234
  *
234
235
  * @throws {@link ValidationException} (client fault)
235
- * <p>The request has failed validation due to missing required fields or having invalid
236
- * inputs.</p>
236
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
237
237
  *
238
238
  * @throws {@link Inspector2ServiceException}
239
239
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -24,8 +24,7 @@ declare const UpdateOrgEc2DeepInspectionConfigurationCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an
28
- * Amazon Inspector delegated administrator to use this API.</p>
27
+ * <p>Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.</p>
29
28
  * @example
30
29
  * Use a bare-bones client and the command you need to make an API call.
31
30
  * ```javascript
@@ -52,9 +51,7 @@ declare const UpdateOrgEc2DeepInspectionConfigurationCommand_base: {
52
51
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
53
52
  *
54
53
  * @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>
54
+ * <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
55
  *
59
56
  * @throws {@link InternalServerException} (server fault)
60
57
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -63,8 +60,7 @@ declare const UpdateOrgEc2DeepInspectionConfigurationCommand_base: {
63
60
  * <p>The limit on the number of requests per second was exceeded.</p>
64
61
  *
65
62
  * @throws {@link ValidationException} (client fault)
66
- * <p>The request has failed validation due to missing required fields or having invalid
67
- * inputs.</p>
63
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
68
64
  *
69
65
  * @throws {@link Inspector2ServiceException}
70
66
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>