@aws-sdk/client-inspector2 3.496.0 → 3.498.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/README.md +104 -0
  2. package/dist-cjs/commands/CreateCisScanConfigurationCommand.js +1 -0
  3. package/dist-cjs/commands/DeleteCisScanConfigurationCommand.js +1 -0
  4. package/dist-cjs/commands/GetCisScanReportCommand.js +1 -0
  5. package/dist-cjs/commands/GetCisScanResultDetailsCommand.js +1 -0
  6. package/dist-cjs/commands/ListCisScanConfigurationsCommand.js +1 -0
  7. package/dist-cjs/commands/ListCisScanResultsAggregatedByChecksCommand.js +1 -0
  8. package/dist-cjs/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +1 -0
  9. package/dist-cjs/commands/ListCisScansCommand.js +1 -0
  10. package/dist-cjs/commands/SendCisSessionHealthCommand.js +1 -0
  11. package/dist-cjs/commands/SendCisSessionTelemetryCommand.js +1 -0
  12. package/dist-cjs/commands/StartCisSessionCommand.js +1 -0
  13. package/dist-cjs/commands/StopCisSessionCommand.js +1 -0
  14. package/dist-cjs/commands/UpdateCisScanConfigurationCommand.js +1 -0
  15. package/dist-cjs/index.js +1721 -398
  16. package/dist-cjs/models/models_1.js +1 -0
  17. package/dist-cjs/pagination/GetCisScanResultDetailsPaginator.js +1 -0
  18. package/dist-cjs/pagination/ListCisScanConfigurationsPaginator.js +1 -0
  19. package/dist-cjs/pagination/ListCisScanResultsAggregatedByChecksPaginator.js +1 -0
  20. package/dist-cjs/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.js +1 -0
  21. package/dist-cjs/pagination/ListCisScansPaginator.js +1 -0
  22. package/dist-es/Inspector2.js +26 -0
  23. package/dist-es/commands/CreateCisScanConfigurationCommand.js +24 -0
  24. package/dist-es/commands/DeleteCisScanConfigurationCommand.js +24 -0
  25. package/dist-es/commands/GetCisScanReportCommand.js +24 -0
  26. package/dist-es/commands/GetCisScanResultDetailsCommand.js +24 -0
  27. package/dist-es/commands/ListCisScanConfigurationsCommand.js +24 -0
  28. package/dist-es/commands/ListCisScanResultsAggregatedByChecksCommand.js +24 -0
  29. package/dist-es/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +24 -0
  30. package/dist-es/commands/ListCisScansCommand.js +24 -0
  31. package/dist-es/commands/SendCisSessionHealthCommand.js +24 -0
  32. package/dist-es/commands/SendCisSessionTelemetryCommand.js +24 -0
  33. package/dist-es/commands/StartCisSessionCommand.js +24 -0
  34. package/dist-es/commands/StopCisSessionCommand.js +24 -0
  35. package/dist-es/commands/UpdateCisScanConfigurationCommand.js +24 -0
  36. package/dist-es/commands/index.js +13 -0
  37. package/dist-es/models/index.js +1 -0
  38. package/dist-es/models/models_0.js +126 -28
  39. package/dist-es/models/models_1.js +35 -0
  40. package/dist-es/pagination/GetCisScanResultDetailsPaginator.js +4 -0
  41. package/dist-es/pagination/ListCisScanConfigurationsPaginator.js +4 -0
  42. package/dist-es/pagination/ListCisScanResultsAggregatedByChecksPaginator.js +4 -0
  43. package/dist-es/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.js +4 -0
  44. package/dist-es/pagination/ListCisScansPaginator.js +4 -0
  45. package/dist-es/pagination/index.js +5 -0
  46. package/dist-es/protocols/Aws_restJson1.js +847 -20
  47. package/dist-types/Inspector2.d.ts +91 -0
  48. package/dist-types/Inspector2Client.d.ts +15 -2
  49. package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +110 -0
  50. package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +74 -0
  51. package/dist-types/commands/GetCisScanReportCommand.d.ts +75 -0
  52. package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +125 -0
  53. package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +141 -0
  54. package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +129 -0
  55. package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +152 -0
  56. package/dist-types/commands/ListCisScansCommand.d.ts +158 -0
  57. package/dist-types/commands/ListCoverageCommand.d.ts +2 -1
  58. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  59. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  60. package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
  61. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +1 -1
  62. package/dist-types/commands/ListFindingsCommand.d.ts +1 -1
  63. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  64. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  65. package/dist-types/commands/ListUsageTotalsCommand.d.ts +1 -1
  66. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  67. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  68. package/dist-types/commands/SendCisSessionHealthCommand.d.ts +77 -0
  69. package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +84 -0
  70. package/dist-types/commands/StartCisSessionCommand.d.ts +79 -0
  71. package/dist-types/commands/StopCisSessionCommand.d.ts +98 -0
  72. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  73. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +111 -0
  75. package/dist-types/commands/UpdateConfigurationCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateFilterCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  81. package/dist-types/commands/index.d.ts +13 -0
  82. package/dist-types/models/index.d.ts +1 -0
  83. package/dist-types/models/models_0.d.ts +2223 -1516
  84. package/dist-types/models/models_1.d.ts +1053 -0
  85. package/dist-types/pagination/GetCisScanResultDetailsPaginator.d.ts +7 -0
  86. package/dist-types/pagination/ListCisScanConfigurationsPaginator.d.ts +7 -0
  87. package/dist-types/pagination/ListCisScanResultsAggregatedByChecksPaginator.d.ts +7 -0
  88. package/dist-types/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.d.ts +7 -0
  89. package/dist-types/pagination/ListCisScansPaginator.d.ts +7 -0
  90. package/dist-types/pagination/index.d.ts +5 -0
  91. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  92. package/dist-types/ts3.4/Inspector2.d.ts +233 -0
  93. package/dist-types/ts3.4/Inspector2Client.d.ts +78 -0
  94. package/dist-types/ts3.4/commands/CreateCisScanConfigurationCommand.d.ts +30 -0
  95. package/dist-types/ts3.4/commands/DeleteCisScanConfigurationCommand.d.ts +30 -0
  96. package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +29 -0
  97. package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +30 -0
  98. package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +30 -0
  99. package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +30 -0
  100. package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +30 -0
  101. package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +26 -0
  102. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +2 -1
  103. package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/SendCisSessionHealthCommand.d.ts +30 -0
  114. package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +30 -0
  115. package/dist-types/ts3.4/commands/StartCisSessionCommand.d.ts +29 -0
  116. package/dist-types/ts3.4/commands/StopCisSessionCommand.d.ts +29 -0
  117. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/UpdateCisScanConfigurationCommand.d.ts +30 -0
  120. package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/UpdateEncryptionKeyCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  127. package/dist-types/ts3.4/models/index.d.ts +1 -0
  128. package/dist-types/ts3.4/models/models_0.d.ts +449 -192
  129. package/dist-types/ts3.4/models/models_1.d.ts +309 -0
  130. package/dist-types/ts3.4/pagination/GetCisScanResultDetailsPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListCisScanConfigurationsPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/ListCisScanResultsAggregatedByChecksPaginator.d.ts +11 -0
  133. package/dist-types/ts3.4/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.d.ts +11 -0
  134. package/dist-types/ts3.4/pagination/ListCisScansPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  136. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  137. package/package.json +1 -1
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../Inspector2Client";
8
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
8
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
9
9
  export { __MetadataBearer, $Command };
10
10
  export interface TagResourceCommandInput extends TagResourceRequest {}
11
11
  export interface TagResourceCommandOutput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UntagResourceRequest,
10
10
  UntagResourceResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer, $Command };
13
13
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
14
14
  export interface UntagResourceCommandOutput
@@ -0,0 +1,30 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ Inspector2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../Inspector2Client";
8
+ import {
9
+ UpdateCisScanConfigurationRequest,
10
+ UpdateCisScanConfigurationResponse,
11
+ } from "../models/models_1";
12
+ export { __MetadataBearer, $Command };
13
+ export interface UpdateCisScanConfigurationCommandInput
14
+ extends UpdateCisScanConfigurationRequest {}
15
+ export interface UpdateCisScanConfigurationCommandOutput
16
+ extends UpdateCisScanConfigurationResponse,
17
+ __MetadataBearer {}
18
+ declare const UpdateCisScanConfigurationCommand_base: {
19
+ new (
20
+ input: UpdateCisScanConfigurationCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ UpdateCisScanConfigurationCommandInput,
23
+ UpdateCisScanConfigurationCommandOutput,
24
+ Inspector2ClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class UpdateCisScanConfigurationCommand extends UpdateCisScanConfigurationCommand_base {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateConfigurationRequest,
10
10
  UpdateConfigurationResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer, $Command };
13
13
  export interface UpdateConfigurationCommandInput
14
14
  extends UpdateConfigurationRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateEc2DeepInspectionConfigurationRequest,
10
10
  UpdateEc2DeepInspectionConfigurationResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer, $Command };
13
13
  export interface UpdateEc2DeepInspectionConfigurationCommandInput
14
14
  extends UpdateEc2DeepInspectionConfigurationRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateEncryptionKeyRequest,
10
10
  UpdateEncryptionKeyResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer, $Command };
13
13
  export interface UpdateEncryptionKeyCommandInput
14
14
  extends UpdateEncryptionKeyRequest {}
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../Inspector2Client";
8
- import { UpdateFilterRequest, UpdateFilterResponse } from "../models/models_0";
8
+ import { UpdateFilterRequest, UpdateFilterResponse } from "../models/models_1";
9
9
  export { __MetadataBearer, $Command };
10
10
  export interface UpdateFilterCommandInput extends UpdateFilterRequest {}
11
11
  export interface UpdateFilterCommandOutput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateOrgEc2DeepInspectionConfigurationRequest,
10
10
  UpdateOrgEc2DeepInspectionConfigurationResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer, $Command };
13
13
  export interface UpdateOrgEc2DeepInspectionConfigurationCommandInput
14
14
  extends UpdateOrgEc2DeepInspectionConfigurationRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateOrganizationConfigurationRequest,
10
10
  UpdateOrganizationConfigurationResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer, $Command };
13
13
  export interface UpdateOrganizationConfigurationCommandInput
14
14
  extends UpdateOrganizationConfigurationRequest {}
@@ -7,9 +7,11 @@ export * from "./BatchGetMemberEc2DeepInspectionStatusCommand";
7
7
  export * from "./BatchUpdateMemberEc2DeepInspectionStatusCommand";
8
8
  export * from "./CancelFindingsReportCommand";
9
9
  export * from "./CancelSbomExportCommand";
10
+ export * from "./CreateCisScanConfigurationCommand";
10
11
  export * from "./CreateFilterCommand";
11
12
  export * from "./CreateFindingsReportCommand";
12
13
  export * from "./CreateSbomExportCommand";
14
+ export * from "./DeleteCisScanConfigurationCommand";
13
15
  export * from "./DeleteFilterCommand";
14
16
  export * from "./DescribeOrganizationConfigurationCommand";
15
17
  export * from "./DisableCommand";
@@ -17,6 +19,8 @@ export * from "./DisableDelegatedAdminAccountCommand";
17
19
  export * from "./DisassociateMemberCommand";
18
20
  export * from "./EnableCommand";
19
21
  export * from "./EnableDelegatedAdminAccountCommand";
22
+ export * from "./GetCisScanReportCommand";
23
+ export * from "./GetCisScanResultDetailsCommand";
20
24
  export * from "./GetConfigurationCommand";
21
25
  export * from "./GetDelegatedAdminAccountCommand";
22
26
  export * from "./GetEc2DeepInspectionConfigurationCommand";
@@ -25,6 +29,10 @@ export * from "./GetFindingsReportStatusCommand";
25
29
  export * from "./GetMemberCommand";
26
30
  export * from "./GetSbomExportCommand";
27
31
  export * from "./ListAccountPermissionsCommand";
32
+ export * from "./ListCisScanConfigurationsCommand";
33
+ export * from "./ListCisScanResultsAggregatedByChecksCommand";
34
+ export * from "./ListCisScanResultsAggregatedByTargetResourceCommand";
35
+ export * from "./ListCisScansCommand";
28
36
  export * from "./ListCoverageCommand";
29
37
  export * from "./ListCoverageStatisticsCommand";
30
38
  export * from "./ListDelegatedAdminAccountsCommand";
@@ -36,8 +44,13 @@ export * from "./ListTagsForResourceCommand";
36
44
  export * from "./ListUsageTotalsCommand";
37
45
  export * from "./ResetEncryptionKeyCommand";
38
46
  export * from "./SearchVulnerabilitiesCommand";
47
+ export * from "./SendCisSessionHealthCommand";
48
+ export * from "./SendCisSessionTelemetryCommand";
49
+ export * from "./StartCisSessionCommand";
50
+ export * from "./StopCisSessionCommand";
39
51
  export * from "./TagResourceCommand";
40
52
  export * from "./UntagResourceCommand";
53
+ export * from "./UpdateCisScanConfigurationCommand";
41
54
  export * from "./UpdateConfigurationCommand";
42
55
  export * from "./UpdateEc2DeepInspectionConfigurationCommand";
43
56
  export * from "./UpdateEncryptionKeyCommand";
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";