@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
@@ -0,0 +1,141 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
+ import { ListCisScanConfigurationsRequest, ListCisScanConfigurationsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListCisScanConfigurationsCommand}.
13
+ */
14
+ export interface ListCisScanConfigurationsCommandInput extends ListCisScanConfigurationsRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListCisScanConfigurationsCommand}.
20
+ */
21
+ export interface ListCisScanConfigurationsCommandOutput extends ListCisScanConfigurationsResponse, __MetadataBearer {
22
+ }
23
+ declare const ListCisScanConfigurationsCommand_base: {
24
+ new (input: ListCisScanConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCisScanConfigurationsCommandInput, ListCisScanConfigurationsCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Lists CIS scan configurations.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { Inspector2Client, ListCisScanConfigurationsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
34
+ * // const { Inspector2Client, ListCisScanConfigurationsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
35
+ * const client = new Inspector2Client(config);
36
+ * const input = { // ListCisScanConfigurationsRequest
37
+ * filterCriteria: { // ListCisScanConfigurationsFilterCriteria
38
+ * scanNameFilters: [ // CisScanNameFilterList
39
+ * { // CisStringFilter
40
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
41
+ * value: "STRING_VALUE", // required
42
+ * },
43
+ * ],
44
+ * targetResourceTagFilters: [ // ResourceTagFilterList
45
+ * { // TagFilter
46
+ * comparison: "EQUALS", // required
47
+ * key: "STRING_VALUE", // required
48
+ * value: "STRING_VALUE", // required
49
+ * },
50
+ * ],
51
+ * scanConfigurationArnFilters: [ // CisScanConfigurationArnFilterList
52
+ * {
53
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
54
+ * value: "STRING_VALUE", // required
55
+ * },
56
+ * ],
57
+ * },
58
+ * sortBy: "SCAN_NAME" || "SCAN_CONFIGURATION_ARN",
59
+ * sortOrder: "ASC" || "DESC",
60
+ * nextToken: "STRING_VALUE",
61
+ * maxResults: Number("int"),
62
+ * };
63
+ * const command = new ListCisScanConfigurationsCommand(input);
64
+ * const response = await client.send(command);
65
+ * // { // ListCisScanConfigurationsResponse
66
+ * // scanConfigurations: [ // CisScanConfigurationList
67
+ * // { // CisScanConfiguration
68
+ * // scanConfigurationArn: "STRING_VALUE", // required
69
+ * // ownerId: "STRING_VALUE",
70
+ * // scanName: "STRING_VALUE",
71
+ * // securityLevel: "LEVEL_1" || "LEVEL_2",
72
+ * // schedule: { // Schedule Union: only one key present
73
+ * // oneTime: {},
74
+ * // daily: { // DailySchedule
75
+ * // startTime: { // Time
76
+ * // timeOfDay: "STRING_VALUE", // required
77
+ * // timezone: "STRING_VALUE", // required
78
+ * // },
79
+ * // },
80
+ * // weekly: { // WeeklySchedule
81
+ * // startTime: {
82
+ * // timeOfDay: "STRING_VALUE", // required
83
+ * // timezone: "STRING_VALUE", // required
84
+ * // },
85
+ * // days: [ // DaysList // required
86
+ * // "SUN" || "MON" || "TUE" || "WED" || "THU" || "FRI" || "SAT",
87
+ * // ],
88
+ * // },
89
+ * // monthly: { // MonthlySchedule
90
+ * // startTime: {
91
+ * // timeOfDay: "STRING_VALUE", // required
92
+ * // timezone: "STRING_VALUE", // required
93
+ * // },
94
+ * // day: "SUN" || "MON" || "TUE" || "WED" || "THU" || "FRI" || "SAT", // required
95
+ * // },
96
+ * // },
97
+ * // targets: { // CisTargets
98
+ * // accountIds: [ // CisAccountIdList
99
+ * // "STRING_VALUE",
100
+ * // ],
101
+ * // targetResourceTags: { // TargetResourceTags
102
+ * // "<keys>": [ // TagValueList
103
+ * // "STRING_VALUE",
104
+ * // ],
105
+ * // },
106
+ * // },
107
+ * // tags: { // CisTagMap
108
+ * // "<keys>": "STRING_VALUE",
109
+ * // },
110
+ * // },
111
+ * // ],
112
+ * // nextToken: "STRING_VALUE",
113
+ * // };
114
+ *
115
+ * ```
116
+ *
117
+ * @param ListCisScanConfigurationsCommandInput - {@link ListCisScanConfigurationsCommandInput}
118
+ * @returns {@link ListCisScanConfigurationsCommandOutput}
119
+ * @see {@link ListCisScanConfigurationsCommandInput} for command's `input` shape.
120
+ * @see {@link ListCisScanConfigurationsCommandOutput} for command's `response` shape.
121
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
122
+ *
123
+ * @throws {@link AccessDeniedException} (client fault)
124
+ * <p>You do not have sufficient access to perform this action.</p>
125
+ *
126
+ * @throws {@link InternalServerException} (server fault)
127
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
128
+ *
129
+ * @throws {@link ThrottlingException} (client fault)
130
+ * <p>The limit on the number of requests per second was exceeded.</p>
131
+ *
132
+ * @throws {@link ValidationException} (client fault)
133
+ * <p>The request has failed validation due to missing required fields or having invalid
134
+ * inputs.</p>
135
+ *
136
+ * @throws {@link Inspector2ServiceException}
137
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
138
+ *
139
+ */
140
+ export declare class ListCisScanConfigurationsCommand extends ListCisScanConfigurationsCommand_base {
141
+ }
@@ -0,0 +1,129 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
+ import { ListCisScanResultsAggregatedByChecksRequest, ListCisScanResultsAggregatedByChecksResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListCisScanResultsAggregatedByChecksCommand}.
13
+ */
14
+ export interface ListCisScanResultsAggregatedByChecksCommandInput extends ListCisScanResultsAggregatedByChecksRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListCisScanResultsAggregatedByChecksCommand}.
20
+ */
21
+ export interface ListCisScanResultsAggregatedByChecksCommandOutput extends ListCisScanResultsAggregatedByChecksResponse, __MetadataBearer {
22
+ }
23
+ declare const ListCisScanResultsAggregatedByChecksCommand_base: {
24
+ new (input: ListCisScanResultsAggregatedByChecksCommandInput): import("@smithy/smithy-client").CommandImpl<ListCisScanResultsAggregatedByChecksCommandInput, ListCisScanResultsAggregatedByChecksCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Lists scan results aggregated by checks.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { Inspector2Client, ListCisScanResultsAggregatedByChecksCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
34
+ * // const { Inspector2Client, ListCisScanResultsAggregatedByChecksCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
35
+ * const client = new Inspector2Client(config);
36
+ * const input = { // ListCisScanResultsAggregatedByChecksRequest
37
+ * scanArn: "STRING_VALUE", // required
38
+ * filterCriteria: { // CisScanResultsAggregatedByChecksFilterCriteria
39
+ * accountIdFilters: [ // OneAccountIdFilterList
40
+ * { // CisStringFilter
41
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
42
+ * value: "STRING_VALUE", // required
43
+ * },
44
+ * ],
45
+ * checkIdFilters: [ // CheckIdFilterList
46
+ * {
47
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
48
+ * value: "STRING_VALUE", // required
49
+ * },
50
+ * ],
51
+ * titleFilters: [ // TitleFilterList
52
+ * {
53
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
54
+ * value: "STRING_VALUE", // required
55
+ * },
56
+ * ],
57
+ * platformFilters: [ // PlatformFilterList
58
+ * {
59
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
60
+ * value: "STRING_VALUE", // required
61
+ * },
62
+ * ],
63
+ * failedResourcesFilters: [ // CisNumberFilterList
64
+ * { // CisNumberFilter
65
+ * upperInclusive: Number("int"),
66
+ * lowerInclusive: Number("int"),
67
+ * },
68
+ * ],
69
+ * securityLevelFilters: [ // CisSecurityLevelFilterList
70
+ * { // CisSecurityLevelFilter
71
+ * comparison: "EQUALS", // required
72
+ * value: "LEVEL_1" || "LEVEL_2", // required
73
+ * },
74
+ * ],
75
+ * },
76
+ * sortBy: "CHECK_ID" || "TITLE" || "PLATFORM" || "FAILED_COUNTS" || "SECURITY_LEVEL",
77
+ * sortOrder: "ASC" || "DESC",
78
+ * nextToken: "STRING_VALUE",
79
+ * maxResults: Number("int"),
80
+ * };
81
+ * const command = new ListCisScanResultsAggregatedByChecksCommand(input);
82
+ * const response = await client.send(command);
83
+ * // { // ListCisScanResultsAggregatedByChecksResponse
84
+ * // checkAggregations: [ // CisCheckAggregationList
85
+ * // { // CisCheckAggregation
86
+ * // scanArn: "STRING_VALUE", // required
87
+ * // checkId: "STRING_VALUE",
88
+ * // title: "STRING_VALUE",
89
+ * // checkDescription: "STRING_VALUE",
90
+ * // level: "LEVEL_1" || "LEVEL_2",
91
+ * // accountId: "STRING_VALUE",
92
+ * // statusCounts: { // StatusCounts
93
+ * // failed: Number("int"),
94
+ * // skipped: Number("int"),
95
+ * // passed: Number("int"),
96
+ * // },
97
+ * // platform: "STRING_VALUE",
98
+ * // },
99
+ * // ],
100
+ * // nextToken: "STRING_VALUE",
101
+ * // };
102
+ *
103
+ * ```
104
+ *
105
+ * @param ListCisScanResultsAggregatedByChecksCommandInput - {@link ListCisScanResultsAggregatedByChecksCommandInput}
106
+ * @returns {@link ListCisScanResultsAggregatedByChecksCommandOutput}
107
+ * @see {@link ListCisScanResultsAggregatedByChecksCommandInput} for command's `input` shape.
108
+ * @see {@link ListCisScanResultsAggregatedByChecksCommandOutput} for command's `response` shape.
109
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
110
+ *
111
+ * @throws {@link AccessDeniedException} (client fault)
112
+ * <p>You do not have sufficient access to perform this action.</p>
113
+ *
114
+ * @throws {@link InternalServerException} (server fault)
115
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
116
+ *
117
+ * @throws {@link ThrottlingException} (client fault)
118
+ * <p>The limit on the number of requests per second was exceeded.</p>
119
+ *
120
+ * @throws {@link ValidationException} (client fault)
121
+ * <p>The request has failed validation due to missing required fields or having invalid
122
+ * inputs.</p>
123
+ *
124
+ * @throws {@link Inspector2ServiceException}
125
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
126
+ *
127
+ */
128
+ export declare class ListCisScanResultsAggregatedByChecksCommand extends ListCisScanResultsAggregatedByChecksCommand_base {
129
+ }
@@ -0,0 +1,152 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
+ import { ListCisScanResultsAggregatedByTargetResourceRequest, ListCisScanResultsAggregatedByTargetResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListCisScanResultsAggregatedByTargetResourceCommand}.
13
+ */
14
+ export interface ListCisScanResultsAggregatedByTargetResourceCommandInput extends ListCisScanResultsAggregatedByTargetResourceRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListCisScanResultsAggregatedByTargetResourceCommand}.
20
+ */
21
+ export interface ListCisScanResultsAggregatedByTargetResourceCommandOutput extends ListCisScanResultsAggregatedByTargetResourceResponse, __MetadataBearer {
22
+ }
23
+ declare const ListCisScanResultsAggregatedByTargetResourceCommand_base: {
24
+ new (input: ListCisScanResultsAggregatedByTargetResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListCisScanResultsAggregatedByTargetResourceCommandInput, ListCisScanResultsAggregatedByTargetResourceCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Lists scan results aggregated by a target resource.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { Inspector2Client, ListCisScanResultsAggregatedByTargetResourceCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
34
+ * // const { Inspector2Client, ListCisScanResultsAggregatedByTargetResourceCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
35
+ * const client = new Inspector2Client(config);
36
+ * const input = { // ListCisScanResultsAggregatedByTargetResourceRequest
37
+ * scanArn: "STRING_VALUE", // required
38
+ * filterCriteria: { // CisScanResultsAggregatedByTargetResourceFilterCriteria
39
+ * accountIdFilters: [ // AccountIdFilterList
40
+ * { // CisStringFilter
41
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
42
+ * value: "STRING_VALUE", // required
43
+ * },
44
+ * ],
45
+ * statusFilters: [ // CisResultStatusFilterList
46
+ * { // CisResultStatusFilter
47
+ * comparison: "EQUALS", // required
48
+ * value: "PASSED" || "FAILED" || "SKIPPED", // required
49
+ * },
50
+ * ],
51
+ * checkIdFilters: [ // CheckIdFilterList
52
+ * {
53
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
54
+ * value: "STRING_VALUE", // required
55
+ * },
56
+ * ],
57
+ * targetResourceIdFilters: [ // ResourceIdFilterList
58
+ * {
59
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
60
+ * value: "STRING_VALUE", // required
61
+ * },
62
+ * ],
63
+ * targetResourceTagFilters: [ // ResourceTagFilterList
64
+ * { // TagFilter
65
+ * comparison: "EQUALS", // required
66
+ * key: "STRING_VALUE", // required
67
+ * value: "STRING_VALUE", // required
68
+ * },
69
+ * ],
70
+ * platformFilters: [ // PlatformFilterList
71
+ * {
72
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
73
+ * value: "STRING_VALUE", // required
74
+ * },
75
+ * ],
76
+ * targetStatusFilters: [ // TargetStatusFilterList
77
+ * { // CisTargetStatusFilter
78
+ * comparison: "EQUALS", // required
79
+ * value: "TIMED_OUT" || "CANCELLED" || "COMPLETED", // required
80
+ * },
81
+ * ],
82
+ * targetStatusReasonFilters: [ // TargetStatusReasonFilterList
83
+ * { // CisTargetStatusReasonFilter
84
+ * comparison: "EQUALS", // required
85
+ * value: "SCAN_IN_PROGRESS" || "UNSUPPORTED_OS" || "SSM_UNMANAGED", // required
86
+ * },
87
+ * ],
88
+ * failedChecksFilters: [ // CisNumberFilterList
89
+ * { // CisNumberFilter
90
+ * upperInclusive: Number("int"),
91
+ * lowerInclusive: Number("int"),
92
+ * },
93
+ * ],
94
+ * },
95
+ * sortBy: "RESOURCE_ID" || "FAILED_COUNTS" || "ACCOUNT_ID" || "PLATFORM" || "TARGET_STATUS" || "TARGET_STATUS_REASON",
96
+ * sortOrder: "ASC" || "DESC",
97
+ * nextToken: "STRING_VALUE",
98
+ * maxResults: Number("int"),
99
+ * };
100
+ * const command = new ListCisScanResultsAggregatedByTargetResourceCommand(input);
101
+ * const response = await client.send(command);
102
+ * // { // ListCisScanResultsAggregatedByTargetResourceResponse
103
+ * // targetResourceAggregations: [ // CisTargetResourceAggregationList
104
+ * // { // CisTargetResourceAggregation
105
+ * // scanArn: "STRING_VALUE", // required
106
+ * // targetResourceId: "STRING_VALUE",
107
+ * // accountId: "STRING_VALUE",
108
+ * // targetResourceTags: { // TargetResourceTags
109
+ * // "<keys>": [ // TagValueList
110
+ * // "STRING_VALUE",
111
+ * // ],
112
+ * // },
113
+ * // statusCounts: { // StatusCounts
114
+ * // failed: Number("int"),
115
+ * // skipped: Number("int"),
116
+ * // passed: Number("int"),
117
+ * // },
118
+ * // platform: "STRING_VALUE",
119
+ * // targetStatus: "TIMED_OUT" || "CANCELLED" || "COMPLETED",
120
+ * // targetStatusReason: "SCAN_IN_PROGRESS" || "UNSUPPORTED_OS" || "SSM_UNMANAGED",
121
+ * // },
122
+ * // ],
123
+ * // nextToken: "STRING_VALUE",
124
+ * // };
125
+ *
126
+ * ```
127
+ *
128
+ * @param ListCisScanResultsAggregatedByTargetResourceCommandInput - {@link ListCisScanResultsAggregatedByTargetResourceCommandInput}
129
+ * @returns {@link ListCisScanResultsAggregatedByTargetResourceCommandOutput}
130
+ * @see {@link ListCisScanResultsAggregatedByTargetResourceCommandInput} for command's `input` shape.
131
+ * @see {@link ListCisScanResultsAggregatedByTargetResourceCommandOutput} for command's `response` shape.
132
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
133
+ *
134
+ * @throws {@link AccessDeniedException} (client fault)
135
+ * <p>You do not have sufficient access to perform this action.</p>
136
+ *
137
+ * @throws {@link InternalServerException} (server fault)
138
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
139
+ *
140
+ * @throws {@link ThrottlingException} (client fault)
141
+ * <p>The limit on the number of requests per second was exceeded.</p>
142
+ *
143
+ * @throws {@link ValidationException} (client fault)
144
+ * <p>The request has failed validation due to missing required fields or having invalid
145
+ * inputs.</p>
146
+ *
147
+ * @throws {@link Inspector2ServiceException}
148
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
149
+ *
150
+ */
151
+ export declare class ListCisScanResultsAggregatedByTargetResourceCommand extends ListCisScanResultsAggregatedByTargetResourceCommand_base {
152
+ }
@@ -0,0 +1,158 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
+ import { ListCisScansRequest, ListCisScansResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link ListCisScansCommand}.
13
+ */
14
+ export interface ListCisScansCommandInput extends ListCisScansRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link ListCisScansCommand}.
20
+ */
21
+ export interface ListCisScansCommandOutput extends ListCisScansResponse, __MetadataBearer {
22
+ }
23
+ declare const ListCisScansCommand_base: {
24
+ new (input: ListCisScansCommandInput): import("@smithy/smithy-client").CommandImpl<ListCisScansCommandInput, ListCisScansCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Returns a CIS scan list.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { Inspector2Client, ListCisScansCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
34
+ * // const { Inspector2Client, ListCisScansCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
35
+ * const client = new Inspector2Client(config);
36
+ * const input = { // ListCisScansRequest
37
+ * filterCriteria: { // ListCisScansFilterCriteria
38
+ * scanNameFilters: [ // CisScanNameFilterList
39
+ * { // CisStringFilter
40
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
41
+ * value: "STRING_VALUE", // required
42
+ * },
43
+ * ],
44
+ * targetResourceTagFilters: [ // ResourceTagFilterList
45
+ * { // TagFilter
46
+ * comparison: "EQUALS", // required
47
+ * key: "STRING_VALUE", // required
48
+ * value: "STRING_VALUE", // required
49
+ * },
50
+ * ],
51
+ * targetResourceIdFilters: [ // ResourceIdFilterList
52
+ * {
53
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
54
+ * value: "STRING_VALUE", // required
55
+ * },
56
+ * ],
57
+ * scanStatusFilters: [ // CisScanStatusFilterList
58
+ * { // CisScanStatusFilter
59
+ * comparison: "EQUALS", // required
60
+ * value: "FAILED" || "COMPLETED" || "CANCELLED" || "IN_PROGRESS", // required
61
+ * },
62
+ * ],
63
+ * scanAtFilters: [ // CisScanDateFilterList
64
+ * { // CisDateFilter
65
+ * earliestScanStartTime: new Date("TIMESTAMP"),
66
+ * latestScanStartTime: new Date("TIMESTAMP"),
67
+ * },
68
+ * ],
69
+ * scanConfigurationArnFilters: [ // CisScanConfigurationArnFilterList
70
+ * {
71
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
72
+ * value: "STRING_VALUE", // required
73
+ * },
74
+ * ],
75
+ * scanArnFilters: [ // CisScanArnFilterList
76
+ * {
77
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
78
+ * value: "STRING_VALUE", // required
79
+ * },
80
+ * ],
81
+ * scheduledByFilters: [ // CisScheduledByFilterList
82
+ * {
83
+ * comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS", // required
84
+ * value: "STRING_VALUE", // required
85
+ * },
86
+ * ],
87
+ * failedChecksFilters: [ // CisNumberFilterList
88
+ * { // CisNumberFilter
89
+ * upperInclusive: Number("int"),
90
+ * lowerInclusive: Number("int"),
91
+ * },
92
+ * ],
93
+ * targetAccountIdFilters: [ // AccountIdFilterList
94
+ * "<CisStringFilter>",
95
+ * ],
96
+ * },
97
+ * detailLevel: "ORGANIZATION" || "MEMBER",
98
+ * sortBy: "STATUS" || "SCHEDULED_BY" || "SCAN_START_DATE" || "FAILED_CHECKS",
99
+ * sortOrder: "ASC" || "DESC",
100
+ * nextToken: "STRING_VALUE",
101
+ * maxResults: Number("int"),
102
+ * };
103
+ * const command = new ListCisScansCommand(input);
104
+ * const response = await client.send(command);
105
+ * // { // ListCisScansResponse
106
+ * // scans: [ // CisScanList
107
+ * // { // CisScan
108
+ * // scanArn: "STRING_VALUE", // required
109
+ * // scanConfigurationArn: "STRING_VALUE", // required
110
+ * // status: "FAILED" || "COMPLETED" || "CANCELLED" || "IN_PROGRESS",
111
+ * // scanName: "STRING_VALUE",
112
+ * // scanDate: new Date("TIMESTAMP"),
113
+ * // failedChecks: Number("int"),
114
+ * // totalChecks: Number("int"),
115
+ * // targets: { // CisTargets
116
+ * // accountIds: [ // CisAccountIdList
117
+ * // "STRING_VALUE",
118
+ * // ],
119
+ * // targetResourceTags: { // TargetResourceTags
120
+ * // "<keys>": [ // TagValueList
121
+ * // "STRING_VALUE",
122
+ * // ],
123
+ * // },
124
+ * // },
125
+ * // scheduledBy: "STRING_VALUE",
126
+ * // securityLevel: "LEVEL_1" || "LEVEL_2",
127
+ * // },
128
+ * // ],
129
+ * // nextToken: "STRING_VALUE",
130
+ * // };
131
+ *
132
+ * ```
133
+ *
134
+ * @param ListCisScansCommandInput - {@link ListCisScansCommandInput}
135
+ * @returns {@link ListCisScansCommandOutput}
136
+ * @see {@link ListCisScansCommandInput} for command's `input` shape.
137
+ * @see {@link ListCisScansCommandOutput} for command's `response` shape.
138
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
139
+ *
140
+ * @throws {@link AccessDeniedException} (client fault)
141
+ * <p>You do not have sufficient access to perform this action.</p>
142
+ *
143
+ * @throws {@link InternalServerException} (server fault)
144
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
145
+ *
146
+ * @throws {@link ThrottlingException} (client fault)
147
+ * <p>The limit on the number of requests per second was exceeded.</p>
148
+ *
149
+ * @throws {@link ValidationException} (client fault)
150
+ * <p>The request has failed validation due to missing required fields or having invalid
151
+ * inputs.</p>
152
+ *
153
+ * @throws {@link Inspector2ServiceException}
154
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
155
+ *
156
+ */
157
+ export declare class ListCisScansCommand extends ListCisScansCommand_base {
158
+ }
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
- import { ListCoverageRequest, ListCoverageResponse } from "../models/models_0";
4
+ import { ListCoverageRequest } from "../models/models_0";
5
+ import { ListCoverageResponse } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
- import { ListCoverageStatisticsRequest, ListCoverageStatisticsResponse } from "../models/models_0";
4
+ import { ListCoverageStatisticsRequest, ListCoverageStatisticsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
- import { ListDelegatedAdminAccountsRequest, ListDelegatedAdminAccountsResponse } from "../models/models_0";
4
+ import { ListDelegatedAdminAccountsRequest, ListDelegatedAdminAccountsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
- import { ListFiltersRequest, ListFiltersResponse } from "../models/models_0";
4
+ import { ListFiltersRequest, ListFiltersResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
- import { ListFindingAggregationsRequest, ListFindingAggregationsResponse } from "../models/models_0";
4
+ import { ListFindingAggregationsRequest, ListFindingAggregationsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
- import { ListFindingsRequest, ListFindingsResponse } from "../models/models_0";
4
+ import { ListFindingsRequest, ListFindingsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
- import { ListMembersRequest, ListMembersResponse } from "../models/models_0";
4
+ import { ListMembersRequest, ListMembersResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
4
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */