@aws-sdk/client-inspector2 3.321.1 → 3.326.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 +40 -0
- package/dist-cjs/Inspector2.js +10 -0
- package/dist-cjs/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +45 -0
- package/dist-cjs/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +45 -0
- package/dist-cjs/commands/GetEc2DeepInspectionConfigurationCommand.js +45 -0
- package/dist-cjs/commands/UpdateEc2DeepInspectionConfigurationCommand.js +45 -0
- package/dist-cjs/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +45 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +15 -2
- package/dist-cjs/protocols/Aws_restJson1.js +327 -2
- package/dist-es/Inspector2.js +10 -0
- package/dist-es/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +41 -0
- package/dist-es/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +41 -0
- package/dist-es/commands/GetEc2DeepInspectionConfigurationCommand.js +41 -0
- package/dist-es/commands/UpdateEc2DeepInspectionConfigurationCommand.js +41 -0
- package/dist-es/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +41 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/protocols/Aws_restJson1.js +315 -0
- package/dist-types/Inspector2.d.ts +35 -0
- package/dist-types/Inspector2Client.d.ts +7 -2
- package/dist-types/commands/AssociateMemberCommand.d.ts +7 -1
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +45 -0
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +25 -0
- package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +97 -0
- package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +100 -0
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +6 -0
- package/dist-types/commands/CreateFilterCommand.d.ts +6 -0
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +7 -1
- package/dist-types/commands/DeleteFilterCommand.d.ts +6 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +11 -0
- package/dist-types/commands/DisableCommand.d.ts +29 -0
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +6 -0
- package/dist-types/commands/DisassociateMemberCommand.d.ts +6 -0
- package/dist-types/commands/EnableCommand.d.ts +29 -0
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +6 -0
- package/dist-types/commands/GetConfigurationCommand.d.ts +12 -0
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +9 -0
- package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +87 -0
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +133 -0
- package/dist-types/commands/GetMemberCommand.d.ts +11 -0
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +12 -0
- package/dist-types/commands/ListCoverageCommand.d.ts +46 -0
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +13 -0
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +12 -0
- package/dist-types/commands/ListFiltersCommand.d.ts +140 -0
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +114 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +164 -0
- package/dist-types/commands/ListMembersCommand.d.ts +14 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +19 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +92 -0
- package/dist-types/commands/UpdateFilterCommand.d.ts +6 -0
- package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +82 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +10 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +200 -3
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Inspector2.d.ts +115 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +64 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +16 -16
|
@@ -146,6 +146,118 @@ export interface ListFindingAggregationsCommandOutput extends ListFindingAggrega
|
|
|
146
146
|
* };
|
|
147
147
|
* const command = new ListFindingAggregationsCommand(input);
|
|
148
148
|
* const response = await client.send(command);
|
|
149
|
+
* // { // ListFindingAggregationsResponse
|
|
150
|
+
* // aggregationType: "STRING_VALUE", // required
|
|
151
|
+
* // responses: [ // AggregationResponseList
|
|
152
|
+
* // { // AggregationResponse Union: only one key present
|
|
153
|
+
* // accountAggregation: { // AccountAggregationResponse
|
|
154
|
+
* // accountId: "STRING_VALUE",
|
|
155
|
+
* // severityCounts: { // SeverityCounts
|
|
156
|
+
* // all: Number("long"),
|
|
157
|
+
* // medium: Number("long"),
|
|
158
|
+
* // high: Number("long"),
|
|
159
|
+
* // critical: Number("long"),
|
|
160
|
+
* // },
|
|
161
|
+
* // },
|
|
162
|
+
* // amiAggregation: { // AmiAggregationResponse
|
|
163
|
+
* // ami: "STRING_VALUE", // required
|
|
164
|
+
* // accountId: "STRING_VALUE",
|
|
165
|
+
* // severityCounts: {
|
|
166
|
+
* // all: Number("long"),
|
|
167
|
+
* // medium: Number("long"),
|
|
168
|
+
* // high: Number("long"),
|
|
169
|
+
* // critical: Number("long"),
|
|
170
|
+
* // },
|
|
171
|
+
* // affectedInstances: Number("long"),
|
|
172
|
+
* // },
|
|
173
|
+
* // awsEcrContainerAggregation: { // AwsEcrContainerAggregationResponse
|
|
174
|
+
* // resourceId: "STRING_VALUE", // required
|
|
175
|
+
* // imageSha: "STRING_VALUE",
|
|
176
|
+
* // repository: "STRING_VALUE",
|
|
177
|
+
* // architecture: "STRING_VALUE",
|
|
178
|
+
* // imageTags: [ // StringList
|
|
179
|
+
* // "STRING_VALUE",
|
|
180
|
+
* // ],
|
|
181
|
+
* // accountId: "STRING_VALUE",
|
|
182
|
+
* // severityCounts: {
|
|
183
|
+
* // all: Number("long"),
|
|
184
|
+
* // medium: Number("long"),
|
|
185
|
+
* // high: Number("long"),
|
|
186
|
+
* // critical: Number("long"),
|
|
187
|
+
* // },
|
|
188
|
+
* // },
|
|
189
|
+
* // ec2InstanceAggregation: { // Ec2InstanceAggregationResponse
|
|
190
|
+
* // instanceId: "STRING_VALUE", // required
|
|
191
|
+
* // ami: "STRING_VALUE",
|
|
192
|
+
* // operatingSystem: "STRING_VALUE",
|
|
193
|
+
* // instanceTags: { // TagMap
|
|
194
|
+
* // "<keys>": "STRING_VALUE",
|
|
195
|
+
* // },
|
|
196
|
+
* // accountId: "STRING_VALUE",
|
|
197
|
+
* // severityCounts: {
|
|
198
|
+
* // all: Number("long"),
|
|
199
|
+
* // medium: Number("long"),
|
|
200
|
+
* // high: Number("long"),
|
|
201
|
+
* // critical: Number("long"),
|
|
202
|
+
* // },
|
|
203
|
+
* // networkFindings: Number("long"),
|
|
204
|
+
* // },
|
|
205
|
+
* // findingTypeAggregation: { // FindingTypeAggregationResponse
|
|
206
|
+
* // accountId: "STRING_VALUE",
|
|
207
|
+
* // severityCounts: {
|
|
208
|
+
* // all: Number("long"),
|
|
209
|
+
* // medium: Number("long"),
|
|
210
|
+
* // high: Number("long"),
|
|
211
|
+
* // critical: Number("long"),
|
|
212
|
+
* // },
|
|
213
|
+
* // },
|
|
214
|
+
* // imageLayerAggregation: { // ImageLayerAggregationResponse
|
|
215
|
+
* // repository: "STRING_VALUE", // required
|
|
216
|
+
* // resourceId: "STRING_VALUE", // required
|
|
217
|
+
* // layerHash: "STRING_VALUE", // required
|
|
218
|
+
* // accountId: "STRING_VALUE", // required
|
|
219
|
+
* // severityCounts: "<SeverityCounts>",
|
|
220
|
+
* // },
|
|
221
|
+
* // packageAggregation: { // PackageAggregationResponse
|
|
222
|
+
* // packageName: "STRING_VALUE", // required
|
|
223
|
+
* // accountId: "STRING_VALUE",
|
|
224
|
+
* // severityCounts: "<SeverityCounts>",
|
|
225
|
+
* // },
|
|
226
|
+
* // repositoryAggregation: { // RepositoryAggregationResponse
|
|
227
|
+
* // repository: "STRING_VALUE", // required
|
|
228
|
+
* // accountId: "STRING_VALUE",
|
|
229
|
+
* // severityCounts: "<SeverityCounts>",
|
|
230
|
+
* // affectedImages: Number("long"),
|
|
231
|
+
* // },
|
|
232
|
+
* // titleAggregation: { // TitleAggregationResponse
|
|
233
|
+
* // title: "STRING_VALUE", // required
|
|
234
|
+
* // vulnerabilityId: "STRING_VALUE",
|
|
235
|
+
* // accountId: "STRING_VALUE",
|
|
236
|
+
* // severityCounts: "<SeverityCounts>",
|
|
237
|
+
* // },
|
|
238
|
+
* // lambdaLayerAggregation: { // LambdaLayerAggregationResponse
|
|
239
|
+
* // functionName: "STRING_VALUE", // required
|
|
240
|
+
* // resourceId: "STRING_VALUE", // required
|
|
241
|
+
* // layerArn: "STRING_VALUE", // required
|
|
242
|
+
* // accountId: "STRING_VALUE", // required
|
|
243
|
+
* // severityCounts: "<SeverityCounts>",
|
|
244
|
+
* // },
|
|
245
|
+
* // lambdaFunctionAggregation: { // LambdaFunctionAggregationResponse
|
|
246
|
+
* // resourceId: "STRING_VALUE", // required
|
|
247
|
+
* // functionName: "STRING_VALUE",
|
|
248
|
+
* // runtime: "STRING_VALUE",
|
|
249
|
+
* // lambdaTags: {
|
|
250
|
+
* // "<keys>": "STRING_VALUE",
|
|
251
|
+
* // },
|
|
252
|
+
* // accountId: "STRING_VALUE",
|
|
253
|
+
* // severityCounts: "<SeverityCounts>",
|
|
254
|
+
* // lastModifiedAt: new Date("TIMESTAMP"),
|
|
255
|
+
* // },
|
|
256
|
+
* // },
|
|
257
|
+
* // ],
|
|
258
|
+
* // nextToken: "STRING_VALUE",
|
|
259
|
+
* // };
|
|
260
|
+
*
|
|
149
261
|
* ```
|
|
150
262
|
*
|
|
151
263
|
* @param ListFindingAggregationsCommandInput - {@link ListFindingAggregationsCommandInput}
|
|
@@ -164,6 +276,8 @@ export interface ListFindingAggregationsCommandOutput extends ListFindingAggrega
|
|
|
164
276
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
165
277
|
* inputs.</p>
|
|
166
278
|
*
|
|
279
|
+
* @throws {@link Inspector2ServiceException}
|
|
280
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
167
281
|
*
|
|
168
282
|
*/
|
|
169
283
|
export declare class ListFindingAggregationsCommand extends $Command<ListFindingAggregationsCommandInput, ListFindingAggregationsCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -155,6 +155,168 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
|
|
|
155
155
|
* };
|
|
156
156
|
* const command = new ListFindingsCommand(input);
|
|
157
157
|
* const response = await client.send(command);
|
|
158
|
+
* // { // ListFindingsResponse
|
|
159
|
+
* // nextToken: "STRING_VALUE",
|
|
160
|
+
* // findings: [ // FindingList
|
|
161
|
+
* // { // Finding
|
|
162
|
+
* // findingArn: "STRING_VALUE", // required
|
|
163
|
+
* // awsAccountId: "STRING_VALUE", // required
|
|
164
|
+
* // type: "STRING_VALUE", // required
|
|
165
|
+
* // description: "STRING_VALUE", // required
|
|
166
|
+
* // title: "STRING_VALUE",
|
|
167
|
+
* // remediation: { // Remediation
|
|
168
|
+
* // recommendation: { // Recommendation
|
|
169
|
+
* // text: "STRING_VALUE",
|
|
170
|
+
* // Url: "STRING_VALUE",
|
|
171
|
+
* // },
|
|
172
|
+
* // },
|
|
173
|
+
* // severity: "STRING_VALUE", // required
|
|
174
|
+
* // firstObservedAt: new Date("TIMESTAMP"), // required
|
|
175
|
+
* // lastObservedAt: new Date("TIMESTAMP"), // required
|
|
176
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
177
|
+
* // status: "STRING_VALUE", // required
|
|
178
|
+
* // resources: [ // ResourceList // required
|
|
179
|
+
* // { // Resource
|
|
180
|
+
* // type: "STRING_VALUE", // required
|
|
181
|
+
* // id: "STRING_VALUE", // required
|
|
182
|
+
* // partition: "STRING_VALUE",
|
|
183
|
+
* // region: "STRING_VALUE",
|
|
184
|
+
* // tags: { // TagMap
|
|
185
|
+
* // "<keys>": "STRING_VALUE",
|
|
186
|
+
* // },
|
|
187
|
+
* // details: { // ResourceDetails
|
|
188
|
+
* // awsEc2Instance: { // AwsEc2InstanceDetails
|
|
189
|
+
* // type: "STRING_VALUE",
|
|
190
|
+
* // imageId: "STRING_VALUE",
|
|
191
|
+
* // ipV4Addresses: [ // IpV4AddressList
|
|
192
|
+
* // "STRING_VALUE",
|
|
193
|
+
* // ],
|
|
194
|
+
* // ipV6Addresses: [ // IpV6AddressList
|
|
195
|
+
* // "STRING_VALUE",
|
|
196
|
+
* // ],
|
|
197
|
+
* // keyName: "STRING_VALUE",
|
|
198
|
+
* // iamInstanceProfileArn: "STRING_VALUE",
|
|
199
|
+
* // vpcId: "STRING_VALUE",
|
|
200
|
+
* // subnetId: "STRING_VALUE",
|
|
201
|
+
* // launchedAt: new Date("TIMESTAMP"),
|
|
202
|
+
* // platform: "STRING_VALUE",
|
|
203
|
+
* // },
|
|
204
|
+
* // awsEcrContainerImage: { // AwsEcrContainerImageDetails
|
|
205
|
+
* // repositoryName: "STRING_VALUE", // required
|
|
206
|
+
* // imageTags: [ // ImageTagList
|
|
207
|
+
* // "STRING_VALUE",
|
|
208
|
+
* // ],
|
|
209
|
+
* // pushedAt: new Date("TIMESTAMP"),
|
|
210
|
+
* // author: "STRING_VALUE",
|
|
211
|
+
* // architecture: "STRING_VALUE",
|
|
212
|
+
* // imageHash: "STRING_VALUE", // required
|
|
213
|
+
* // registry: "STRING_VALUE", // required
|
|
214
|
+
* // platform: "STRING_VALUE",
|
|
215
|
+
* // },
|
|
216
|
+
* // awsLambdaFunction: { // AwsLambdaFunctionDetails
|
|
217
|
+
* // functionName: "STRING_VALUE", // required
|
|
218
|
+
* // runtime: "STRING_VALUE", // required
|
|
219
|
+
* // codeSha256: "STRING_VALUE", // required
|
|
220
|
+
* // version: "STRING_VALUE", // required
|
|
221
|
+
* // executionRoleArn: "STRING_VALUE", // required
|
|
222
|
+
* // layers: [ // LayerList
|
|
223
|
+
* // "STRING_VALUE",
|
|
224
|
+
* // ],
|
|
225
|
+
* // vpcConfig: { // LambdaVpcConfig
|
|
226
|
+
* // subnetIds: [ // SubnetIdList
|
|
227
|
+
* // "STRING_VALUE",
|
|
228
|
+
* // ],
|
|
229
|
+
* // securityGroupIds: [ // SecurityGroupIdList
|
|
230
|
+
* // "STRING_VALUE",
|
|
231
|
+
* // ],
|
|
232
|
+
* // vpcId: "STRING_VALUE",
|
|
233
|
+
* // },
|
|
234
|
+
* // packageType: "STRING_VALUE",
|
|
235
|
+
* // architectures: [ // ArchitectureList
|
|
236
|
+
* // "STRING_VALUE",
|
|
237
|
+
* // ],
|
|
238
|
+
* // lastModifiedAt: new Date("TIMESTAMP"),
|
|
239
|
+
* // },
|
|
240
|
+
* // },
|
|
241
|
+
* // },
|
|
242
|
+
* // ],
|
|
243
|
+
* // inspectorScore: Number("double"),
|
|
244
|
+
* // inspectorScoreDetails: { // InspectorScoreDetails
|
|
245
|
+
* // adjustedCvss: { // CvssScoreDetails
|
|
246
|
+
* // scoreSource: "STRING_VALUE", // required
|
|
247
|
+
* // cvssSource: "STRING_VALUE",
|
|
248
|
+
* // version: "STRING_VALUE", // required
|
|
249
|
+
* // score: Number("double"), // required
|
|
250
|
+
* // scoringVector: "STRING_VALUE", // required
|
|
251
|
+
* // adjustments: [ // CvssScoreAdjustmentList
|
|
252
|
+
* // { // CvssScoreAdjustment
|
|
253
|
+
* // metric: "STRING_VALUE", // required
|
|
254
|
+
* // reason: "STRING_VALUE", // required
|
|
255
|
+
* // },
|
|
256
|
+
* // ],
|
|
257
|
+
* // },
|
|
258
|
+
* // },
|
|
259
|
+
* // networkReachabilityDetails: { // NetworkReachabilityDetails
|
|
260
|
+
* // openPortRange: { // PortRange
|
|
261
|
+
* // begin: Number("int"), // required
|
|
262
|
+
* // end: Number("int"), // required
|
|
263
|
+
* // },
|
|
264
|
+
* // protocol: "STRING_VALUE", // required
|
|
265
|
+
* // networkPath: { // NetworkPath
|
|
266
|
+
* // steps: [ // StepList
|
|
267
|
+
* // { // Step
|
|
268
|
+
* // componentId: "STRING_VALUE", // required
|
|
269
|
+
* // componentType: "STRING_VALUE", // required
|
|
270
|
+
* // },
|
|
271
|
+
* // ],
|
|
272
|
+
* // },
|
|
273
|
+
* // },
|
|
274
|
+
* // packageVulnerabilityDetails: { // PackageVulnerabilityDetails
|
|
275
|
+
* // vulnerabilityId: "STRING_VALUE", // required
|
|
276
|
+
* // vulnerablePackages: [ // VulnerablePackageList
|
|
277
|
+
* // { // VulnerablePackage
|
|
278
|
+
* // name: "STRING_VALUE", // required
|
|
279
|
+
* // version: "STRING_VALUE", // required
|
|
280
|
+
* // sourceLayerHash: "STRING_VALUE",
|
|
281
|
+
* // epoch: Number("int"),
|
|
282
|
+
* // release: "STRING_VALUE",
|
|
283
|
+
* // arch: "STRING_VALUE",
|
|
284
|
+
* // packageManager: "STRING_VALUE",
|
|
285
|
+
* // filePath: "STRING_VALUE",
|
|
286
|
+
* // fixedInVersion: "STRING_VALUE",
|
|
287
|
+
* // remediation: "STRING_VALUE",
|
|
288
|
+
* // sourceLambdaLayerArn: "STRING_VALUE",
|
|
289
|
+
* // },
|
|
290
|
+
* // ],
|
|
291
|
+
* // source: "STRING_VALUE", // required
|
|
292
|
+
* // cvss: [ // CvssScoreList
|
|
293
|
+
* // { // CvssScore
|
|
294
|
+
* // baseScore: Number("double"), // required
|
|
295
|
+
* // scoringVector: "STRING_VALUE", // required
|
|
296
|
+
* // version: "STRING_VALUE", // required
|
|
297
|
+
* // source: "STRING_VALUE", // required
|
|
298
|
+
* // },
|
|
299
|
+
* // ],
|
|
300
|
+
* // relatedVulnerabilities: [ // VulnerabilityIdList
|
|
301
|
+
* // "STRING_VALUE",
|
|
302
|
+
* // ],
|
|
303
|
+
* // sourceUrl: "STRING_VALUE",
|
|
304
|
+
* // vendorSeverity: "STRING_VALUE",
|
|
305
|
+
* // vendorCreatedAt: new Date("TIMESTAMP"),
|
|
306
|
+
* // vendorUpdatedAt: new Date("TIMESTAMP"),
|
|
307
|
+
* // referenceUrls: [ // NonEmptyStringList
|
|
308
|
+
* // "STRING_VALUE",
|
|
309
|
+
* // ],
|
|
310
|
+
* // },
|
|
311
|
+
* // fixAvailable: "STRING_VALUE",
|
|
312
|
+
* // exploitAvailable: "STRING_VALUE",
|
|
313
|
+
* // exploitabilityDetails: { // ExploitabilityDetails
|
|
314
|
+
* // lastKnownExploitAt: new Date("TIMESTAMP"),
|
|
315
|
+
* // },
|
|
316
|
+
* // },
|
|
317
|
+
* // ],
|
|
318
|
+
* // };
|
|
319
|
+
*
|
|
158
320
|
* ```
|
|
159
321
|
*
|
|
160
322
|
* @param ListFindingsCommandInput - {@link ListFindingsCommandInput}
|
|
@@ -173,6 +335,8 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
|
|
|
173
335
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
174
336
|
* inputs.</p>
|
|
175
337
|
*
|
|
338
|
+
* @throws {@link Inspector2ServiceException}
|
|
339
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
176
340
|
*
|
|
177
341
|
*/
|
|
178
342
|
export declare class ListFindingsCommand extends $Command<ListFindingsCommandInput, ListFindingsCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -34,6 +34,18 @@ export interface ListMembersCommandOutput extends ListMembersResponse, __Metadat
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListMembersCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // ListMembersResponse
|
|
38
|
+
* // members: [ // MemberList
|
|
39
|
+
* // { // Member
|
|
40
|
+
* // accountId: "STRING_VALUE",
|
|
41
|
+
* // relationshipStatus: "STRING_VALUE",
|
|
42
|
+
* // delegatedAdminAccountId: "STRING_VALUE",
|
|
43
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
44
|
+
* // },
|
|
45
|
+
* // ],
|
|
46
|
+
* // nextToken: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
37
49
|
* ```
|
|
38
50
|
*
|
|
39
51
|
* @param ListMembersCommandInput - {@link ListMembersCommandInput}
|
|
@@ -55,6 +67,8 @@ export interface ListMembersCommandOutput extends ListMembersResponse, __Metadat
|
|
|
55
67
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
56
68
|
* inputs.</p>
|
|
57
69
|
*
|
|
70
|
+
* @throws {@link Inspector2ServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
58
72
|
*
|
|
59
73
|
*/
|
|
60
74
|
export declare class ListMembersCommand extends $Command<ListMembersCommandInput, ListMembersCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -31,6 +31,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // ListTagsForResourceResponse
|
|
35
|
+
* // tags: { // TagMap
|
|
36
|
+
* // "<keys>": "STRING_VALUE",
|
|
37
|
+
* // },
|
|
38
|
+
* // };
|
|
39
|
+
*
|
|
34
40
|
* ```
|
|
35
41
|
*
|
|
36
42
|
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
@@ -52,6 +58,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
52
58
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
53
59
|
* inputs.</p>
|
|
54
60
|
*
|
|
61
|
+
* @throws {@link Inspector2ServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
55
63
|
*
|
|
56
64
|
*/
|
|
57
65
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -35,6 +35,23 @@ export interface ListUsageTotalsCommandOutput extends ListUsageTotalsResponse, _
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new ListUsageTotalsCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // ListUsageTotalsResponse
|
|
39
|
+
* // nextToken: "STRING_VALUE",
|
|
40
|
+
* // totals: [ // UsageTotalList
|
|
41
|
+
* // { // UsageTotal
|
|
42
|
+
* // accountId: "STRING_VALUE",
|
|
43
|
+
* // usage: [ // UsageList
|
|
44
|
+
* // { // Usage
|
|
45
|
+
* // type: "STRING_VALUE",
|
|
46
|
+
* // total: Number("double"),
|
|
47
|
+
* // estimatedMonthlyCost: Number("double"),
|
|
48
|
+
* // currency: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
38
55
|
* ```
|
|
39
56
|
*
|
|
40
57
|
* @param ListUsageTotalsCommandInput - {@link ListUsageTotalsCommandInput}
|
|
@@ -56,6 +73,8 @@ export interface ListUsageTotalsCommandOutput extends ListUsageTotalsResponse, _
|
|
|
56
73
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
57
74
|
* inputs.</p>
|
|
58
75
|
*
|
|
76
|
+
* @throws {@link Inspector2ServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
59
78
|
*
|
|
60
79
|
*/
|
|
61
80
|
export declare class ListUsageTotalsCommand extends $Command<ListUsageTotalsCommandInput, ListUsageTotalsCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new TagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -58,6 +60,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
58
60
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
59
61
|
* inputs.</p>
|
|
60
62
|
*
|
|
63
|
+
* @throws {@link Inspector2ServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
61
65
|
*
|
|
62
66
|
*/
|
|
63
67
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UntagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -55,6 +57,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
55
57
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
56
58
|
* inputs.</p>
|
|
57
59
|
*
|
|
60
|
+
* @throws {@link Inspector2ServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
58
62
|
*
|
|
59
63
|
*/
|
|
60
64
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -33,6 +33,8 @@ export interface UpdateConfigurationCommandOutput extends UpdateConfigurationRes
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new UpdateConfigurationCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // {};
|
|
37
|
+
*
|
|
36
38
|
* ```
|
|
37
39
|
*
|
|
38
40
|
* @param UpdateConfigurationCommandInput - {@link UpdateConfigurationCommandInput}
|
|
@@ -54,6 +56,8 @@ export interface UpdateConfigurationCommandOutput extends UpdateConfigurationRes
|
|
|
54
56
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
55
57
|
* inputs.</p>
|
|
56
58
|
*
|
|
59
|
+
* @throws {@link Inspector2ServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
57
61
|
*
|
|
58
62
|
*/
|
|
59
63
|
export declare class UpdateConfigurationCommand extends $Command<UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
5
|
+
import { UpdateEc2DeepInspectionConfigurationRequest, UpdateEc2DeepInspectionConfigurationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link UpdateEc2DeepInspectionConfigurationCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface UpdateEc2DeepInspectionConfigurationCommandInput extends UpdateEc2DeepInspectionConfigurationRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link UpdateEc2DeepInspectionConfigurationCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateEc2DeepInspectionConfigurationCommandOutput extends UpdateEc2DeepInspectionConfigurationResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account. </p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { Inspector2Client, UpdateEc2DeepInspectionConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
|
+
* // const { Inspector2Client, UpdateEc2DeepInspectionConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
|
+
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = { // UpdateEc2DeepInspectionConfigurationRequest
|
|
30
|
+
* activateDeepInspection: true || false,
|
|
31
|
+
* packagePaths: [ // PathList
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
35
|
+
* const command = new UpdateEc2DeepInspectionConfigurationCommand(input);
|
|
36
|
+
* const response = await client.send(command);
|
|
37
|
+
* // { // UpdateEc2DeepInspectionConfigurationResponse
|
|
38
|
+
* // packagePaths: [ // PathList
|
|
39
|
+
* // "STRING_VALUE",
|
|
40
|
+
* // ],
|
|
41
|
+
* // orgPackagePaths: [
|
|
42
|
+
* // "STRING_VALUE",
|
|
43
|
+
* // ],
|
|
44
|
+
* // status: "STRING_VALUE",
|
|
45
|
+
* // errorMessage: "STRING_VALUE",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param UpdateEc2DeepInspectionConfigurationCommandInput - {@link UpdateEc2DeepInspectionConfigurationCommandInput}
|
|
51
|
+
* @returns {@link UpdateEc2DeepInspectionConfigurationCommandOutput}
|
|
52
|
+
* @see {@link UpdateEc2DeepInspectionConfigurationCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link UpdateEc2DeepInspectionConfigurationCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
63
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
* <p>The request has failed validation due to missing required fields or having invalid
|
|
67
|
+
* inputs.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link Inspector2ServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class UpdateEc2DeepInspectionConfigurationCommand extends $Command<UpdateEc2DeepInspectionConfigurationCommandInput, UpdateEc2DeepInspectionConfigurationCommandOutput, Inspector2ClientResolvedConfig> {
|
|
74
|
+
readonly input: UpdateEc2DeepInspectionConfigurationCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: UpdateEc2DeepInspectionConfigurationCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateEc2DeepInspectionConfigurationCommandInput, UpdateEc2DeepInspectionConfigurationCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|
|
@@ -154,6 +154,10 @@ export interface UpdateFilterCommandOutput extends UpdateFilterResponse, __Metad
|
|
|
154
154
|
* };
|
|
155
155
|
* const command = new UpdateFilterCommand(input);
|
|
156
156
|
* const response = await client.send(command);
|
|
157
|
+
* // { // UpdateFilterResponse
|
|
158
|
+
* // arn: "STRING_VALUE", // required
|
|
159
|
+
* // };
|
|
160
|
+
*
|
|
157
161
|
* ```
|
|
158
162
|
*
|
|
159
163
|
* @param UpdateFilterCommandInput - {@link UpdateFilterCommandInput}
|
|
@@ -178,6 +182,8 @@ export interface UpdateFilterCommandOutput extends UpdateFilterResponse, __Metad
|
|
|
178
182
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
179
183
|
* inputs.</p>
|
|
180
184
|
*
|
|
185
|
+
* @throws {@link Inspector2ServiceException}
|
|
186
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
181
187
|
*
|
|
182
188
|
*/
|
|
183
189
|
export declare class UpdateFilterCommand extends $Command<UpdateFilterCommandInput, UpdateFilterCommandOutput, Inspector2ClientResolvedConfig> {
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
|
|
5
|
+
import { UpdateOrgEc2DeepInspectionConfigurationRequest, UpdateOrgEc2DeepInspectionConfigurationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link UpdateOrgEc2DeepInspectionConfigurationCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface UpdateOrgEc2DeepInspectionConfigurationCommandInput extends UpdateOrgEc2DeepInspectionConfigurationRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link UpdateOrgEc2DeepInspectionConfigurationCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateOrgEc2DeepInspectionConfigurationCommandOutput extends UpdateOrgEc2DeepInspectionConfigurationResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { Inspector2Client, UpdateOrgEc2DeepInspectionConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
|
+
* // const { Inspector2Client, UpdateOrgEc2DeepInspectionConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
|
+
* const client = new Inspector2Client(config);
|
|
29
|
+
* const input = { // UpdateOrgEc2DeepInspectionConfigurationRequest
|
|
30
|
+
* orgPackagePaths: [ // PathList // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* };
|
|
34
|
+
* const command = new UpdateOrgEc2DeepInspectionConfigurationCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* // {};
|
|
37
|
+
*
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* @param UpdateOrgEc2DeepInspectionConfigurationCommandInput - {@link UpdateOrgEc2DeepInspectionConfigurationCommandInput}
|
|
41
|
+
* @returns {@link UpdateOrgEc2DeepInspectionConfigurationCommandOutput}
|
|
42
|
+
* @see {@link UpdateOrgEc2DeepInspectionConfigurationCommandInput} for command's `input` shape.
|
|
43
|
+
* @see {@link UpdateOrgEc2DeepInspectionConfigurationCommandOutput} for command's `response` shape.
|
|
44
|
+
* @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
47
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link InternalServerException} (server fault)
|
|
50
|
+
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
53
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ValidationException} (client fault)
|
|
56
|
+
* <p>The request has failed validation due to missing required fields or having invalid
|
|
57
|
+
* inputs.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link Inspector2ServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from Inspector2 service.</p>
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export declare class UpdateOrgEc2DeepInspectionConfigurationCommand extends $Command<UpdateOrgEc2DeepInspectionConfigurationCommandInput, UpdateOrgEc2DeepInspectionConfigurationCommandOutput, Inspector2ClientResolvedConfig> {
|
|
64
|
+
readonly input: UpdateOrgEc2DeepInspectionConfigurationCommandInput;
|
|
65
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
constructor(input: UpdateOrgEc2DeepInspectionConfigurationCommandInput);
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateOrgEc2DeepInspectionConfigurationCommandInput, UpdateOrgEc2DeepInspectionConfigurationCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
private deserialize;
|
|
82
|
+
}
|