@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
@@ -82,9 +82,7 @@ declare const GetClustersForImageCommand_base: {
82
82
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
83
83
  *
84
84
  * @throws {@link AccessDeniedException} (client fault)
85
- * <p>You do not have sufficient access to perform this action.</p>
86
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
87
- * unsupported Amazon Web Services Region. </p>
85
+ * <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>
88
86
  *
89
87
  * @throws {@link InternalServerException} (server fault)
90
88
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -93,8 +91,7 @@ declare const GetClustersForImageCommand_base: {
93
91
  * <p>The limit on the number of requests per second was exceeded.</p>
94
92
  *
95
93
  * @throws {@link ValidationException} (client fault)
96
- * <p>The request has failed validation due to missing required fields or having invalid
97
- * inputs.</p>
94
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
98
95
  *
99
96
  * @throws {@link Inspector2ServiceException}
100
97
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -64,23 +64,19 @@ declare const GetCodeSecurityIntegrationCommand_base: {
64
64
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
65
65
  *
66
66
  * @throws {@link AccessDeniedException} (client fault)
67
- * <p>You do not have sufficient access to perform this action.</p>
68
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
69
- * unsupported Amazon Web Services Region. </p>
67
+ * <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>
70
68
  *
71
69
  * @throws {@link InternalServerException} (server fault)
72
70
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
73
71
  *
74
72
  * @throws {@link ResourceNotFoundException} (client fault)
75
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
76
- * correctly.</p>
73
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
77
74
  *
78
75
  * @throws {@link ThrottlingException} (client fault)
79
76
  * <p>The limit on the number of requests per second was exceeded.</p>
80
77
  *
81
78
  * @throws {@link ValidationException} (client fault)
82
- * <p>The request has failed validation due to missing required fields or having invalid
83
- * inputs.</p>
79
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
84
80
  *
85
81
  * @throws {@link Inspector2ServiceException}
86
82
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -63,27 +63,22 @@ declare const GetCodeSecurityScanCommand_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 ConflictException} (client fault)
71
- * <p>A conflict occurred. This exception occurs when the same resource is being modified by
72
- * concurrent requests.</p>
69
+ * <p>A conflict occurred. This exception occurs when the same resource is being modified by concurrent requests.</p>
73
70
  *
74
71
  * @throws {@link InternalServerException} (server fault)
75
72
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
76
73
  *
77
74
  * @throws {@link ResourceNotFoundException} (client fault)
78
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
79
- * correctly.</p>
75
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
80
76
  *
81
77
  * @throws {@link ThrottlingException} (client fault)
82
78
  * <p>The limit on the number of requests per second was exceeded.</p>
83
79
  *
84
80
  * @throws {@link ValidationException} (client fault)
85
- * <p>The request has failed validation due to missing required fields or having invalid
86
- * inputs.</p>
81
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
87
82
  *
88
83
  * @throws {@link Inspector2ServiceException}
89
84
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -75,23 +75,19 @@ declare const GetCodeSecurityScanConfigurationCommand_base: {
75
75
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
76
76
  *
77
77
  * @throws {@link AccessDeniedException} (client fault)
78
- * <p>You do not have sufficient access to perform this action.</p>
79
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
80
- * unsupported Amazon Web Services Region. </p>
78
+ * <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>
81
79
  *
82
80
  * @throws {@link InternalServerException} (server fault)
83
81
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
84
82
  *
85
83
  * @throws {@link ResourceNotFoundException} (client fault)
86
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
87
- * correctly.</p>
84
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
88
85
  *
89
86
  * @throws {@link ThrottlingException} (client fault)
90
87
  * <p>The limit on the number of requests per second was exceeded.</p>
91
88
  *
92
89
  * @throws {@link ValidationException} (client fault)
93
- * <p>The request has failed validation due to missing required fields or having invalid
94
- * inputs.</p>
90
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
95
91
  *
96
92
  * @throws {@link Inspector2ServiceException}
97
93
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -24,11 +24,7 @@ declare const GetConfigurationCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Retrieves setting configurations for Amazon Inspector scans. If you specify an
28
- * <code>accountId</code>, this operation returns the scan configuration for that member
29
- * account. You must be the delegated administrator for the specified member account.
30
- * If you do not specify an <code>accountId</code>, this operation returns your own
31
- * scan configuration.</p>
27
+ * <p>Retrieves setting configurations for Amazon Inspector scans. If you specify an <code>accountId</code>, this operation returns the scan configuration for that member account. You must be the delegated administrator for the specified member account. If you do not specify an <code>accountId</code>, this operation returns your own scan configuration.</p>
32
28
  * @example
33
29
  * Use a bare-bones client and the command you need to make an API call.
34
30
  * ```javascript
@@ -63,6 +59,23 @@ declare const GetConfigurationCommand_base: {
63
59
  * // status: "STRING_VALUE",
64
60
  * // },
65
61
  * // },
62
+ * // amiConfiguration: { // AmiConfigurationState
63
+ * // lastLaunchedWithin: "STRING_VALUE",
64
+ * // createdWithin: "STRING_VALUE",
65
+ * // scanModeConfiguration: { // AmiScanModeConfiguration
66
+ * // scanMode: "STRING_VALUE", // required
67
+ * // tags: [ // AmiTagFilterList
68
+ * // { // AmiTagFilter
69
+ * // key: "STRING_VALUE", // required
70
+ * // value: "STRING_VALUE",
71
+ * // },
72
+ * // ],
73
+ * // excludeCopiedAmis: true || false,
74
+ * // excludeBackupDlmAmis: true || false,
75
+ * // },
76
+ * // status: "STRING_VALUE",
77
+ * // updatedAt: new Date("TIMESTAMP"),
78
+ * // },
66
79
  * // };
67
80
  *
68
81
  * ```
@@ -74,23 +87,19 @@ declare const GetConfigurationCommand_base: {
74
87
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
75
88
  *
76
89
  * @throws {@link AccessDeniedException} (client fault)
77
- * <p>You do not have sufficient access to perform this action.</p>
78
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
79
- * unsupported Amazon Web Services Region. </p>
90
+ * <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>
80
91
  *
81
92
  * @throws {@link InternalServerException} (server fault)
82
93
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
83
94
  *
84
95
  * @throws {@link ResourceNotFoundException} (client fault)
85
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
86
- * correctly.</p>
96
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
87
97
  *
88
98
  * @throws {@link ThrottlingException} (client fault)
89
99
  * <p>The limit on the number of requests per second was exceeded.</p>
90
100
  *
91
101
  * @throws {@link ValidationException} (client fault)
92
- * <p>The request has failed validation due to missing required fields or having invalid
93
- * inputs.</p>
102
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
94
103
  *
95
104
  * @throws {@link Inspector2ServiceException}
96
105
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -24,8 +24,7 @@ declare const GetDelegatedAdminAccountCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Retrieves information about the Amazon Inspector delegated administrator for your
28
- * organization.</p>
27
+ * <p>Retrieves information about 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
@@ -53,23 +52,19 @@ declare const GetDelegatedAdminAccountCommand_base: {
53
52
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
54
53
  *
55
54
  * @throws {@link AccessDeniedException} (client fault)
56
- * <p>You do not have sufficient access to perform this action.</p>
57
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
58
- * 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>
59
56
  *
60
57
  * @throws {@link InternalServerException} (server fault)
61
58
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
62
59
  *
63
60
  * @throws {@link ResourceNotFoundException} (client fault)
64
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
65
- * correctly.</p>
61
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
66
62
  *
67
63
  * @throws {@link ThrottlingException} (client fault)
68
64
  * <p>The limit on the number of requests per second was exceeded.</p>
69
65
  *
70
66
  * @throws {@link ValidationException} (client fault)
71
- * <p>The request has failed validation due to missing required fields or having invalid
72
- * inputs.</p>
67
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
73
68
  *
74
69
  * @throws {@link Inspector2ServiceException}
75
70
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -24,8 +24,7 @@ declare const GetEc2DeepInspectionConfigurationCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated
28
- * with your account. </p>
27
+ * <p>Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with 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
@@ -57,16 +56,13 @@ declare const GetEc2DeepInspectionConfigurationCommand_base: {
57
56
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
58
57
  *
59
58
  * @throws {@link AccessDeniedException} (client fault)
60
- * <p>You do not have sufficient access to perform this action.</p>
61
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
62
- * unsupported Amazon Web Services Region. </p>
59
+ * <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>
63
60
  *
64
61
  * @throws {@link InternalServerException} (server fault)
65
62
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
66
63
  *
67
64
  * @throws {@link ResourceNotFoundException} (client fault)
68
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
69
- * correctly.</p>
65
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
70
66
  *
71
67
  * @throws {@link ThrottlingException} (client fault)
72
68
  * <p>The limit on the number of requests per second was exceeded.</p>
@@ -52,23 +52,19 @@ declare const GetEncryptionKeyCommand_base: {
52
52
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
53
53
  *
54
54
  * @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>
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>
58
56
  *
59
57
  * @throws {@link InternalServerException} (server fault)
60
58
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
61
59
  *
62
60
  * @throws {@link ResourceNotFoundException} (client fault)
63
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
64
- * correctly.</p>
61
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
65
62
  *
66
63
  * @throws {@link ThrottlingException} (client fault)
67
64
  * <p>The limit on the number of requests per second was exceeded.</p>
68
65
  *
69
66
  * @throws {@link ValidationException} (client fault)
70
- * <p>The request has failed validation due to missing required fields or having invalid
71
- * inputs.</p>
67
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
72
68
  *
73
69
  * @throws {@link Inspector2ServiceException}
74
70
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -47,6 +47,7 @@ declare const GetFindingsReportStatusCommand_base: {
47
47
  * // bucketName: "STRING_VALUE", // required
48
48
  * // keyPrefix: "STRING_VALUE",
49
49
  * // kmsKeyArn: "STRING_VALUE", // required
50
+ * // expectedBucketOwner: "STRING_VALUE",
50
51
  * // },
51
52
  * // filterCriteria: { // FilterCriteria
52
53
  * // findingArn: [ // StringFilterList
@@ -185,6 +186,10 @@ declare const GetFindingsReportStatusCommand_base: {
185
186
  * // ],
186
187
  * // codeRepositoryProjectName: "<StringFilterList>",
187
188
  * // codeRepositoryProviderType: "<StringFilterList>",
189
+ * // machineImageId: "<StringFilterList>",
190
+ * // machineImageName: "<StringFilterList>",
191
+ * // machineImageOwnerAccountId: "<StringFilterList>",
192
+ * // machineImagePlatform: "<StringFilterList>",
188
193
  * // cloudProvider: "<StringFilterList>",
189
194
  * // cloudProviderRegion: "<StringFilterList>",
190
195
  * // cloudProviderAccountId: "<StringFilterList>",
@@ -221,23 +226,19 @@ declare const GetFindingsReportStatusCommand_base: {
221
226
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
222
227
  *
223
228
  * @throws {@link AccessDeniedException} (client fault)
224
- * <p>You do not have sufficient access to perform this action.</p>
225
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
226
- * unsupported Amazon Web Services Region. </p>
229
+ * <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>
227
230
  *
228
231
  * @throws {@link InternalServerException} (server fault)
229
232
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
230
233
  *
231
234
  * @throws {@link ResourceNotFoundException} (client fault)
232
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
233
- * correctly.</p>
235
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
234
236
  *
235
237
  * @throws {@link ThrottlingException} (client fault)
236
238
  * <p>The limit on the number of requests per second was exceeded.</p>
237
239
  *
238
240
  * @throws {@link ValidationException} (client fault)
239
- * <p>The request has failed validation due to missing required fields or having invalid
240
- * inputs.</p>
241
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
241
242
  *
242
243
  * @throws {@link Inspector2ServiceException}
243
244
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -56,23 +56,19 @@ declare const GetMemberCommand_base: {
56
56
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
57
57
  *
58
58
  * @throws {@link AccessDeniedException} (client fault)
59
- * <p>You do not have sufficient access to perform this action.</p>
60
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
61
- * unsupported Amazon Web Services Region. </p>
59
+ * <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>
62
60
  *
63
61
  * @throws {@link InternalServerException} (server fault)
64
62
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
65
63
  *
66
64
  * @throws {@link ResourceNotFoundException} (client fault)
67
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
68
- * correctly.</p>
65
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
69
66
  *
70
67
  * @throws {@link ThrottlingException} (client fault)
71
68
  * <p>The limit on the number of requests per second was exceeded.</p>
72
69
  *
73
70
  * @throws {@link ValidationException} (client fault)
74
- * <p>The request has failed validation due to missing required fields or having invalid
75
- * inputs.</p>
71
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
76
72
  *
77
73
  * @throws {@link Inspector2ServiceException}
78
74
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -0,0 +1,94 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetOnDemandScanStatusRequest, GetOnDemandScanStatusResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetOnDemandScanStatusCommand}.
11
+ */
12
+ export interface GetOnDemandScanStatusCommandInput extends GetOnDemandScanStatusRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetOnDemandScanStatusCommand}.
18
+ */
19
+ export interface GetOnDemandScanStatusCommandOutput extends GetOnDemandScanStatusResponse, __MetadataBearer {
20
+ }
21
+ declare const GetOnDemandScanStatusCommand_base: {
22
+ new (input: GetOnDemandScanStatusCommandInput): import("@smithy/core/client").CommandImpl<GetOnDemandScanStatusCommandInput, GetOnDemandScanStatusCommandOutput, import("..").Inspector2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetOnDemandScanStatusCommandInput): import("@smithy/core/client").CommandImpl<GetOnDemandScanStatusCommandInput, GetOnDemandScanStatusCommandOutput, import("..").Inspector2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Retrieves the status of a specific on-demand scan 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, GetOnDemandScanStatusCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
32
+ * // const { Inspector2Client, GetOnDemandScanStatusCommand } = 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 = { // GetOnDemandScanStatusRequest
37
+ * resourceId: "STRING_VALUE", // required
38
+ * scanId: "STRING_VALUE", // required
39
+ * resourceType: "AMI", // required
40
+ * };
41
+ * const command = new GetOnDemandScanStatusCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetOnDemandScanStatusResponse
44
+ * // scanId: "STRING_VALUE", // required
45
+ * // resourceId: "STRING_VALUE", // required
46
+ * // resourceType: "AMI", // required
47
+ * // scanStatus: "IN_PROGRESS" || "SUCCESSFUL" || "FAILED", // required
48
+ * // scanStatusReason: "ACCESS_DENIED" || "INTERNAL_ERROR" || "STORAGE_LIMIT_EXCEEDED" || "EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED" || "UNSUPPORTED_OS" || "RESOURCE_TERMINATED",
49
+ * // startedAt: new Date("TIMESTAMP"), // required
50
+ * // completedAt: new Date("TIMESTAMP"),
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param GetOnDemandScanStatusCommandInput - {@link GetOnDemandScanStatusCommandInput}
56
+ * @returns {@link GetOnDemandScanStatusCommandOutput}
57
+ * @see {@link GetOnDemandScanStatusCommandInput} for command's `input` shape.
58
+ * @see {@link GetOnDemandScanStatusCommandOutput} for command's `response` shape.
59
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <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>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>The limit on the number of requests per second was exceeded.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
75
+ *
76
+ * @throws {@link Inspector2ServiceException}
77
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class GetOnDemandScanStatusCommand extends GetOnDemandScanStatusCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: GetOnDemandScanStatusRequest;
87
+ output: GetOnDemandScanStatusResponse;
88
+ };
89
+ sdk: {
90
+ input: GetOnDemandScanStatusCommandInput;
91
+ output: GetOnDemandScanStatusCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -48,6 +48,7 @@ declare const GetSbomExportCommand_base: {
48
48
  * // bucketName: "STRING_VALUE", // required
49
49
  * // keyPrefix: "STRING_VALUE",
50
50
  * // kmsKeyArn: "STRING_VALUE", // required
51
+ * // expectedBucketOwner: "STRING_VALUE",
51
52
  * // },
52
53
  * // filterCriteria: { // ResourceFilterCriteria
53
54
  * // accountId: [ // ResourceStringFilterList
@@ -130,23 +131,19 @@ declare const GetSbomExportCommand_base: {
130
131
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
131
132
  *
132
133
  * @throws {@link AccessDeniedException} (client fault)
133
- * <p>You do not have sufficient access to perform this action.</p>
134
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
135
- * unsupported Amazon Web Services Region. </p>
134
+ * <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>
136
135
  *
137
136
  * @throws {@link InternalServerException} (server fault)
138
137
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
139
138
  *
140
139
  * @throws {@link ResourceNotFoundException} (client fault)
141
- * <p>The operation tried to access an invalid resource. Make sure the resource is specified
142
- * correctly.</p>
140
+ * <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
143
141
  *
144
142
  * @throws {@link ThrottlingException} (client fault)
145
143
  * <p>The limit on the number of requests per second was exceeded.</p>
146
144
  *
147
145
  * @throws {@link ValidationException} (client fault)
148
- * <p>The request has failed validation due to missing required fields or having invalid
149
- * inputs.</p>
146
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
150
147
  *
151
148
  * @throws {@link Inspector2ServiceException}
152
149
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -24,10 +24,7 @@ declare const ListAccountPermissionsCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>
28
- * Lists the permissions an account has to configure Amazon Inspector.
29
- * If the account is a member account or standalone account with resources managed by an Organizations policy, the operation returns fewer permissions.
30
- * </p>
27
+ * <p> Lists the permissions an account has to configure Amazon Inspector. If the account is a member account or standalone account with resources managed by an Organizations policy, the operation returns fewer permissions. </p>
31
28
  * @example
32
29
  * Use a bare-bones client and the command you need to make an API call.
33
30
  * ```javascript
@@ -62,9 +59,7 @@ declare const ListAccountPermissionsCommand_base: {
62
59
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
63
60
  *
64
61
  * @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>
62
+ * <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
63
  *
69
64
  * @throws {@link InternalServerException} (server fault)
70
65
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -73,8 +68,7 @@ declare const ListAccountPermissionsCommand_base: {
73
68
  * <p>The limit on the number of requests per second was exceeded.</p>
74
69
  *
75
70
  * @throws {@link ValidationException} (client fault)
76
- * <p>The request has failed validation due to missing required fields or having invalid
77
- * inputs.</p>
71
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
78
72
  *
79
73
  * @throws {@link Inspector2ServiceException}
80
74
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -121,9 +121,7 @@ declare const ListCisScanConfigurationsCommand_base: {
121
121
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
122
122
  *
123
123
  * @throws {@link AccessDeniedException} (client fault)
124
- * <p>You do not have sufficient access to perform this action.</p>
125
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
126
- * unsupported Amazon Web Services Region. </p>
124
+ * <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>
127
125
  *
128
126
  * @throws {@link InternalServerException} (server fault)
129
127
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -132,8 +130,7 @@ declare const ListCisScanConfigurationsCommand_base: {
132
130
  * <p>The limit on the number of requests per second was exceeded.</p>
133
131
  *
134
132
  * @throws {@link ValidationException} (client fault)
135
- * <p>The request has failed validation due to missing required fields or having invalid
136
- * inputs.</p>
133
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
137
134
  *
138
135
  * @throws {@link Inspector2ServiceException}
139
136
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -109,9 +109,7 @@ declare const ListCisScanResultsAggregatedByChecksCommand_base: {
109
109
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
110
110
  *
111
111
  * @throws {@link AccessDeniedException} (client fault)
112
- * <p>You do not have sufficient access to perform this action.</p>
113
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
114
- * unsupported Amazon Web Services Region. </p>
112
+ * <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>
115
113
  *
116
114
  * @throws {@link InternalServerException} (server fault)
117
115
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -120,8 +118,7 @@ declare const ListCisScanResultsAggregatedByChecksCommand_base: {
120
118
  * <p>The limit on the number of requests per second was exceeded.</p>
121
119
  *
122
120
  * @throws {@link ValidationException} (client fault)
123
- * <p>The request has failed validation due to missing required fields or having invalid
124
- * inputs.</p>
121
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
125
122
  *
126
123
  * @throws {@link Inspector2ServiceException}
127
124
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListCisScanResultsAggregatedByTargetResourceRequest, ListCisScanResultsAggregatedByTargetResourceResponse } from "../models/models_0";
2
+ import type { ListCisScanResultsAggregatedByTargetResourceRequest, ListCisScanResultsAggregatedByTargetResourceResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -132,9 +132,7 @@ declare const ListCisScanResultsAggregatedByTargetResourceCommand_base: {
132
132
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
133
133
  *
134
134
  * @throws {@link AccessDeniedException} (client fault)
135
- * <p>You do not have sufficient access to perform this action.</p>
136
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
137
- * unsupported Amazon Web Services Region. </p>
135
+ * <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>
138
136
  *
139
137
  * @throws {@link InternalServerException} (server fault)
140
138
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -143,8 +141,7 @@ declare const ListCisScanResultsAggregatedByTargetResourceCommand_base: {
143
141
  * <p>The limit on the number of requests per second was exceeded.</p>
144
142
  *
145
143
  * @throws {@link ValidationException} (client fault)
146
- * <p>The request has failed validation due to missing required fields or having invalid
147
- * inputs.</p>
144
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
148
145
  *
149
146
  * @throws {@link Inspector2ServiceException}
150
147
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListCisScansRequest, ListCisScansResponse } from "../models/models_0";
2
+ import type { ListCisScansRequest, ListCisScansResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -138,9 +138,7 @@ declare const ListCisScansCommand_base: {
138
138
  * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
139
139
  *
140
140
  * @throws {@link AccessDeniedException} (client fault)
141
- * <p>You do not have sufficient access to perform this action.</p>
142
- * <p> For <code>Enable</code>, you receive this error if you attempt to use a feature in an
143
- * unsupported Amazon Web Services Region. </p>
141
+ * <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>
144
142
  *
145
143
  * @throws {@link InternalServerException} (server fault)
146
144
  * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
@@ -149,8 +147,7 @@ declare const ListCisScansCommand_base: {
149
147
  * <p>The limit on the number of requests per second was exceeded.</p>
150
148
  *
151
149
  * @throws {@link ValidationException} (client fault)
152
- * <p>The request has failed validation due to missing required fields or having invalid
153
- * inputs.</p>
150
+ * <p>The request has failed validation due to missing required fields or having invalid inputs.</p>
154
151
  *
155
152
  * @throws {@link Inspector2ServiceException}
156
153
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>