@aws-sdk/client-inspector2 3.810.0 → 3.814.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.
- package/README.md +8 -0
- package/dist-cjs/index.js +169 -15
- package/dist-es/Inspector2.js +2 -0
- package/dist-es/commands/GetClustersForImageCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +15 -11
- package/dist-es/models/models_1.js +11 -0
- package/dist-es/pagination/GetClustersForImagePaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +118 -3
- package/dist-types/Inspector2.d.ts +7 -0
- package/dist-types/Inspector2Client.d.ts +3 -2
- package/dist-types/commands/CreateFilterCommand.d.ts +13 -6
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +13 -6
- package/dist-types/commands/GetClustersForImageCommand.d.ts +116 -0
- package/dist-types/commands/GetConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +13 -6
- package/dist-types/commands/GetSbomExportCommand.d.ts +2 -1
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +1 -1
- package/dist-types/commands/ListCoverageCommand.d.ts +14 -0
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +12 -0
- package/dist-types/commands/ListFiltersCommand.d.ts +13 -6
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +14 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +15 -6
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateFilterCommand.d.ts +13 -6
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +309 -269
- package/dist-types/models/models_1.d.ts +238 -1
- package/dist-types/pagination/GetClustersForImagePaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Inspector2.d.ts +17 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetClustersForImageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +94 -71
- package/dist-types/ts3.4/models/models_1.d.ts +73 -0
- package/dist-types/ts3.4/pagination/GetClustersForImagePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +5 -5
|
@@ -1,4 +1,241 @@
|
|
|
1
|
-
import { AggregationRequest, AggregationResponse, AggregationType, AtigData, AutoEnable, CisaData, CisDateFilter, CisNumberFilter, CisScan, CisScanResultsAggregatedByTargetResourceFilterCriteria, CisScanResultsAggregatedByTargetResourceSortBy, CisScanStatusFilter, CisSecurityLevel, CisSessionMessage, CisSortOrder, CisStringFilter, CisTargetResourceAggregation, ComputePlatform, Counts, CoverageFilterCriteria, CoveredResource, Currency, Cvss2, Cvss3, DelegatedAdminAccount, Ec2Configuration, Ec2DeepInspectionStatus, EcrConfiguration, Epss, ExploitObserved, Filter, FilterAction, FilterCriteria, Finding, GroupKey, Member, ResourceType, ScanType, Schedule, SortOrder, StringFilter, TagFilter } from "./models_0";
|
|
1
|
+
import { AggregationRequest, AggregationResponse, AggregationType, AtigData, AutoEnable, CisaData, CisCheckAggregation, CisDateFilter, CisNumberFilter, CisScan, CisScanConfiguration, CisScanConfigurationsSortBy, CisScanResultsAggregatedByChecksFilterCriteria, CisScanResultsAggregatedByChecksSortBy, CisScanResultsAggregatedByTargetResourceFilterCriteria, CisScanResultsAggregatedByTargetResourceSortBy, CisScanStatusFilter, CisSecurityLevel, CisSessionMessage, CisSortOrder, CisStringFilter, CisTargetResourceAggregation, ComputePlatform, Counts, CoverageFilterCriteria, CoveredResource, Currency, Cvss2, Cvss3, DelegatedAdminAccount, Destination, Ec2Configuration, Ec2DeepInspectionStatus, EcrConfiguration, Epss, ExploitObserved, ExternalReportStatus, Filter, FilterAction, FilterCriteria, Finding, GroupKey, Member, ReportingErrorCode, ResourceFilterCriteria, ResourceType, SbomReportFormat, ScanType, Schedule, SortOrder, StringFilter, TagFilter } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface GetSbomExportResponse {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The report ID of the software bill of materials (SBOM) report.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
reportId?: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* <p>The format of the software bill of materials (SBOM) report.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
format?: SbomReportFormat | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p>The status of the software bill of materials (SBOM) report.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
status?: ExternalReportStatus | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* <p>An error code.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
errorCode?: ReportingErrorCode | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>An error message.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
errorMessage?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* <p>Contains details of the Amazon S3 bucket and KMS key used to export findings</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
s3Destination?: Destination | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* <p>Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
filterCriteria?: ResourceFilterCriteria | undefined;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* @enum
|
|
45
|
+
*/
|
|
46
|
+
export declare const Service: {
|
|
47
|
+
readonly EC2: "EC2";
|
|
48
|
+
readonly ECR: "ECR";
|
|
49
|
+
readonly LAMBDA: "LAMBDA";
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export type Service = (typeof Service)[keyof typeof Service];
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export interface ListAccountPermissionsRequest {
|
|
59
|
+
/**
|
|
60
|
+
* <p>The service scan type to check permissions for.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
service?: Service | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
maxResults?: number | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
nextToken?: string | undefined;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
* @enum
|
|
78
|
+
*/
|
|
79
|
+
export declare const Operation: {
|
|
80
|
+
readonly DISABLE_REPOSITORY: "DISABLE_REPOSITORY";
|
|
81
|
+
readonly DISABLE_SCANNING: "DISABLE_SCANNING";
|
|
82
|
+
readonly ENABLE_REPOSITORY: "ENABLE_REPOSITORY";
|
|
83
|
+
readonly ENABLE_SCANNING: "ENABLE_SCANNING";
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export type Operation = (typeof Operation)[keyof typeof Operation];
|
|
89
|
+
/**
|
|
90
|
+
* <p>Contains information on the permissions an account has within Amazon Inspector.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export interface Permission {
|
|
94
|
+
/**
|
|
95
|
+
* <p>The services that the permissions allow an account to perform the given operations for.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
service: Service | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>The operations that can be performed with the given permissions.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
operation: Operation | undefined;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export interface ListAccountPermissionsResponse {
|
|
109
|
+
/**
|
|
110
|
+
* <p>Contains details on the permissions an account has to configure Amazon Inspector.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
permissions: Permission[] | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
116
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
117
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
118
|
+
* results after the first page.</p>
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
nextToken?: string | undefined;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* <p>A list of CIS scan configurations filter criteria.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export interface ListCisScanConfigurationsFilterCriteria {
|
|
128
|
+
/**
|
|
129
|
+
* <p>The list of scan name filters.</p>
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
scanNameFilters?: CisStringFilter[] | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* <p>The list of target resource tag filters.</p>
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
targetResourceTagFilters?: TagFilter[] | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* <p>The list of scan configuration ARN filters.</p>
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
scanConfigurationArnFilters?: CisStringFilter[] | undefined;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export interface ListCisScanConfigurationsRequest {
|
|
148
|
+
/**
|
|
149
|
+
* <p>The CIS scan configuration filter criteria.</p>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
filterCriteria?: ListCisScanConfigurationsFilterCriteria | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* <p>The CIS scan configuration sort by order.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
sortBy?: CisScanConfigurationsSortBy | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* <p>The CIS scan configuration sort order order.</p>
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
sortOrder?: CisSortOrder | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of results.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
nextToken?: string | undefined;
|
|
168
|
+
/**
|
|
169
|
+
* <p>The maximum number of CIS scan configurations to be returned in a single page of results.</p>
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
maxResults?: number | undefined;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export interface ListCisScanConfigurationsResponse {
|
|
178
|
+
/**
|
|
179
|
+
* <p>The CIS scan configuration scan configurations.</p>
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
scanConfigurations?: CisScanConfiguration[] | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of results.</p>
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
nextToken?: string | undefined;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export interface ListCisScanResultsAggregatedByChecksRequest {
|
|
193
|
+
/**
|
|
194
|
+
* <p>The scan ARN.</p>
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
scanArn: string | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* <p>The filter criteria.</p>
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
filterCriteria?: CisScanResultsAggregatedByChecksFilterCriteria | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* <p>The sort by order.</p>
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
sortBy?: CisScanResultsAggregatedByChecksSortBy | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* <p>The sort order.</p>
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
sortOrder?: CisSortOrder | undefined;
|
|
213
|
+
/**
|
|
214
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of results.</p>
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
nextToken?: string | undefined;
|
|
218
|
+
/**
|
|
219
|
+
* <p>The maximum number of scan results aggregated by checks to be returned in a single page of results.</p>
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
maxResults?: number | undefined;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
export interface ListCisScanResultsAggregatedByChecksResponse {
|
|
228
|
+
/**
|
|
229
|
+
* <p>The check aggregations.</p>
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
checkAggregations?: CisCheckAggregation[] | undefined;
|
|
233
|
+
/**
|
|
234
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of results.</p>
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
nextToken?: string | undefined;
|
|
238
|
+
}
|
|
2
239
|
/**
|
|
3
240
|
* @public
|
|
4
241
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { GetClustersForImageCommandInput, GetClustersForImageCommandOutput } from "../commands/GetClustersForImageCommand";
|
|
3
|
+
import { Inspector2PaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateGetClustersForImage: (config: Inspector2PaginationConfiguration, input: GetClustersForImageCommandInput, ...rest: any[]) => Paginator<GetClustersForImageCommandOutput>;
|
|
@@ -23,6 +23,7 @@ import { EnableCommandInput, EnableCommandOutput } from "../commands/EnableComma
|
|
|
23
23
|
import { EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCommandOutput } from "../commands/EnableDelegatedAdminAccountCommand";
|
|
24
24
|
import { GetCisScanReportCommandInput, GetCisScanReportCommandOutput } from "../commands/GetCisScanReportCommand";
|
|
25
25
|
import { GetCisScanResultDetailsCommandInput, GetCisScanResultDetailsCommandOutput } from "../commands/GetCisScanResultDetailsCommand";
|
|
26
|
+
import { GetClustersForImageCommandInput, GetClustersForImageCommandOutput } from "../commands/GetClustersForImageCommand";
|
|
26
27
|
import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "../commands/GetConfigurationCommand";
|
|
27
28
|
import { GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput } from "../commands/GetDelegatedAdminAccountCommand";
|
|
28
29
|
import { GetEc2DeepInspectionConfigurationCommandInput, GetEc2DeepInspectionConfigurationCommandOutput } from "../commands/GetEc2DeepInspectionConfigurationCommand";
|
|
@@ -151,6 +152,10 @@ export declare const se_GetCisScanReportCommand: (input: GetCisScanReportCommand
|
|
|
151
152
|
* serializeAws_restJson1GetCisScanResultDetailsCommand
|
|
152
153
|
*/
|
|
153
154
|
export declare const se_GetCisScanResultDetailsCommand: (input: GetCisScanResultDetailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
155
|
+
/**
|
|
156
|
+
* serializeAws_restJson1GetClustersForImageCommand
|
|
157
|
+
*/
|
|
158
|
+
export declare const se_GetClustersForImageCommand: (input: GetClustersForImageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
154
159
|
/**
|
|
155
160
|
* serializeAws_restJson1GetConfigurationCommand
|
|
156
161
|
*/
|
|
@@ -387,6 +392,10 @@ export declare const de_GetCisScanReportCommand: (output: __HttpResponse, contex
|
|
|
387
392
|
* deserializeAws_restJson1GetCisScanResultDetailsCommand
|
|
388
393
|
*/
|
|
389
394
|
export declare const de_GetCisScanResultDetailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCisScanResultDetailsCommandOutput>;
|
|
395
|
+
/**
|
|
396
|
+
* deserializeAws_restJson1GetClustersForImageCommand
|
|
397
|
+
*/
|
|
398
|
+
export declare const de_GetClustersForImageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetClustersForImageCommandOutput>;
|
|
390
399
|
/**
|
|
391
400
|
* deserializeAws_restJson1GetConfigurationCommand
|
|
392
401
|
*/
|
|
@@ -91,6 +91,10 @@ import {
|
|
|
91
91
|
GetCisScanResultDetailsCommandInput,
|
|
92
92
|
GetCisScanResultDetailsCommandOutput,
|
|
93
93
|
} from "./commands/GetCisScanResultDetailsCommand";
|
|
94
|
+
import {
|
|
95
|
+
GetClustersForImageCommandInput,
|
|
96
|
+
GetClustersForImageCommandOutput,
|
|
97
|
+
} from "./commands/GetClustersForImageCommand";
|
|
94
98
|
import {
|
|
95
99
|
GetConfigurationCommandInput,
|
|
96
100
|
GetConfigurationCommandOutput,
|
|
@@ -558,6 +562,19 @@ export interface Inspector2 {
|
|
|
558
562
|
options: __HttpHandlerOptions,
|
|
559
563
|
cb: (err: any, data?: GetCisScanResultDetailsCommandOutput) => void
|
|
560
564
|
): void;
|
|
565
|
+
getClustersForImage(
|
|
566
|
+
args: GetClustersForImageCommandInput,
|
|
567
|
+
options?: __HttpHandlerOptions
|
|
568
|
+
): Promise<GetClustersForImageCommandOutput>;
|
|
569
|
+
getClustersForImage(
|
|
570
|
+
args: GetClustersForImageCommandInput,
|
|
571
|
+
cb: (err: any, data?: GetClustersForImageCommandOutput) => void
|
|
572
|
+
): void;
|
|
573
|
+
getClustersForImage(
|
|
574
|
+
args: GetClustersForImageCommandInput,
|
|
575
|
+
options: __HttpHandlerOptions,
|
|
576
|
+
cb: (err: any, data?: GetClustersForImageCommandOutput) => void
|
|
577
|
+
): void;
|
|
561
578
|
getConfiguration(): Promise<GetConfigurationCommandOutput>;
|
|
562
579
|
getConfiguration(
|
|
563
580
|
args: GetConfigurationCommandInput,
|
|
@@ -137,6 +137,10 @@ import {
|
|
|
137
137
|
GetCisScanResultDetailsCommandInput,
|
|
138
138
|
GetCisScanResultDetailsCommandOutput,
|
|
139
139
|
} from "./commands/GetCisScanResultDetailsCommand";
|
|
140
|
+
import {
|
|
141
|
+
GetClustersForImageCommandInput,
|
|
142
|
+
GetClustersForImageCommandOutput,
|
|
143
|
+
} from "./commands/GetClustersForImageCommand";
|
|
140
144
|
import {
|
|
141
145
|
GetConfigurationCommandInput,
|
|
142
146
|
GetConfigurationCommandOutput,
|
|
@@ -312,6 +316,7 @@ export type ServiceInputTypes =
|
|
|
312
316
|
| EnableDelegatedAdminAccountCommandInput
|
|
313
317
|
| GetCisScanReportCommandInput
|
|
314
318
|
| GetCisScanResultDetailsCommandInput
|
|
319
|
+
| GetClustersForImageCommandInput
|
|
315
320
|
| GetConfigurationCommandInput
|
|
316
321
|
| GetDelegatedAdminAccountCommandInput
|
|
317
322
|
| GetEc2DeepInspectionConfigurationCommandInput
|
|
@@ -372,6 +377,7 @@ export type ServiceOutputTypes =
|
|
|
372
377
|
| EnableDelegatedAdminAccountCommandOutput
|
|
373
378
|
| GetCisScanReportCommandOutput
|
|
374
379
|
| GetCisScanResultDetailsCommandOutput
|
|
380
|
+
| GetClustersForImageCommandOutput
|
|
375
381
|
| GetConfigurationCommandOutput
|
|
376
382
|
| GetDelegatedAdminAccountCommandOutput
|
|
377
383
|
| GetEc2DeepInspectionConfigurationCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
GetClustersForImageRequest,
|
|
10
|
+
GetClustersForImageResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetClustersForImageCommandInput
|
|
15
|
+
extends GetClustersForImageRequest {}
|
|
16
|
+
export interface GetClustersForImageCommandOutput
|
|
17
|
+
extends GetClustersForImageResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetClustersForImageCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetClustersForImageCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetClustersForImageCommandInput,
|
|
24
|
+
GetClustersForImageCommandOutput,
|
|
25
|
+
Inspector2ClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetClustersForImageCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetClustersForImageCommandInput,
|
|
33
|
+
GetClustersForImageCommandOutput,
|
|
34
|
+
Inspector2ClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetClustersForImageCommand extends GetClustersForImageCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetClustersForImageRequest;
|
|
44
|
+
output: GetClustersForImageResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetClustersForImageCommandInput;
|
|
48
|
+
output: GetClustersForImageCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../Inspector2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
GetSbomExportResponse,
|
|
11
|
-
} from "../models/models_0";
|
|
8
|
+
import { GetSbomExportRequest } from "../models/models_0";
|
|
9
|
+
import { GetSbomExportResponse } from "../models/models_1";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface GetSbomExportCommandInput extends GetSbomExportRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ListCisScanConfigurationsRequest,
|
|
10
10
|
ListCisScanConfigurationsResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface ListCisScanConfigurationsCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ListCisScanResultsAggregatedByChecksRequest,
|
|
10
10
|
ListCisScanResultsAggregatedByChecksResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface ListCisScanResultsAggregatedByChecksCommandInput
|
|
@@ -21,6 +21,7 @@ export * from "./EnableCommand";
|
|
|
21
21
|
export * from "./EnableDelegatedAdminAccountCommand";
|
|
22
22
|
export * from "./GetCisScanReportCommand";
|
|
23
23
|
export * from "./GetCisScanResultDetailsCommand";
|
|
24
|
+
export * from "./GetClustersForImageCommand";
|
|
24
25
|
export * from "./GetConfigurationCommand";
|
|
25
26
|
export * from "./GetDelegatedAdminAccountCommand";
|
|
26
27
|
export * from "./GetEc2DeepInspectionConfigurationCommand";
|