@aws-sdk/client-inspector2 3.379.1 → 3.382.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.
@@ -0,0 +1,129 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
5
+ import { BatchGetFindingDetailsRequest, BatchGetFindingDetailsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchGetFindingDetailsCommand}.
14
+ */
15
+ export interface BatchGetFindingDetailsCommandInput extends BatchGetFindingDetailsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchGetFindingDetailsCommand}.
21
+ */
22
+ export interface BatchGetFindingDetailsCommandOutput extends BatchGetFindingDetailsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Gets vulnerability details for findings.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { Inspector2Client, BatchGetFindingDetailsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
31
+ * // const { Inspector2Client, BatchGetFindingDetailsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
32
+ * const client = new Inspector2Client(config);
33
+ * const input = { // BatchGetFindingDetailsRequest
34
+ * findingArns: [ // FindingArnList // required
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * };
38
+ * const command = new BatchGetFindingDetailsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // BatchGetFindingDetailsResponse
41
+ * // findingDetails: [ // FindingDetails
42
+ * // { // FindingDetail
43
+ * // findingArn: "STRING_VALUE",
44
+ * // cisaData: { // CisaData
45
+ * // dateAdded: new Date("TIMESTAMP"),
46
+ * // dateDue: new Date("TIMESTAMP"),
47
+ * // action: "STRING_VALUE",
48
+ * // },
49
+ * // riskScore: Number("int"),
50
+ * // evidences: [ // EvidenceList
51
+ * // { // Evidence
52
+ * // evidenceRule: "STRING_VALUE",
53
+ * // evidenceDetail: "STRING_VALUE",
54
+ * // severity: "STRING_VALUE",
55
+ * // },
56
+ * // ],
57
+ * // ttps: [ // Ttps
58
+ * // "STRING_VALUE",
59
+ * // ],
60
+ * // tools: [ // Tools
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // exploitObserved: { // ExploitObserved
64
+ * // lastSeen: new Date("TIMESTAMP"),
65
+ * // firstSeen: new Date("TIMESTAMP"),
66
+ * // },
67
+ * // referenceUrls: [ // VulnerabilityReferenceUrls
68
+ * // "STRING_VALUE",
69
+ * // ],
70
+ * // cwes: [ // Cwes
71
+ * // "STRING_VALUE",
72
+ * // ],
73
+ * // epssScore: Number("double"),
74
+ * // },
75
+ * // ],
76
+ * // errors: [ // FindingDetailsErrorList
77
+ * // { // FindingDetailsError
78
+ * // findingArn: "STRING_VALUE", // required
79
+ * // errorCode: "STRING_VALUE", // required
80
+ * // errorMessage: "STRING_VALUE", // required
81
+ * // },
82
+ * // ],
83
+ * // };
84
+ *
85
+ * ```
86
+ *
87
+ * @param BatchGetFindingDetailsCommandInput - {@link BatchGetFindingDetailsCommandInput}
88
+ * @returns {@link BatchGetFindingDetailsCommandOutput}
89
+ * @see {@link BatchGetFindingDetailsCommandInput} for command's `input` shape.
90
+ * @see {@link BatchGetFindingDetailsCommandOutput} for command's `response` shape.
91
+ * @see {@link Inspector2ClientResolvedConfig | config} for Inspector2Client's `config` shape.
92
+ *
93
+ * @throws {@link AccessDeniedException} (client fault)
94
+ * <p>You do not have sufficient access to perform this action.</p>
95
+ *
96
+ * @throws {@link InternalServerException} (server fault)
97
+ * <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
98
+ *
99
+ * @throws {@link ThrottlingException} (client fault)
100
+ * <p>The limit on the number of requests per second was exceeded.</p>
101
+ *
102
+ * @throws {@link ValidationException} (client fault)
103
+ * <p>The request has failed validation due to missing required fields or having invalid
104
+ * inputs.</p>
105
+ *
106
+ * @throws {@link Inspector2ServiceException}
107
+ * <p>Base exception class for all service exceptions from Inspector2 service.</p>
108
+ *
109
+ */
110
+ export declare class BatchGetFindingDetailsCommand extends $Command<BatchGetFindingDetailsCommandInput, BatchGetFindingDetailsCommandOutput, Inspector2ClientResolvedConfig> {
111
+ readonly input: BatchGetFindingDetailsCommandInput;
112
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
113
+ /**
114
+ * @public
115
+ */
116
+ constructor(input: BatchGetFindingDetailsCommandInput);
117
+ /**
118
+ * @internal
119
+ */
120
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Inspector2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetFindingDetailsCommandInput, BatchGetFindingDetailsCommandOutput>;
121
+ /**
122
+ * @internal
123
+ */
124
+ private serialize;
125
+ /**
126
+ * @internal
127
+ */
128
+ private deserialize;
129
+ }
@@ -1,6 +1,7 @@
1
1
  export * from "./AssociateMemberCommand";
2
2
  export * from "./BatchGetAccountStatusCommand";
3
3
  export * from "./BatchGetCodeSnippetCommand";
4
+ export * from "./BatchGetFindingDetailsCommand";
4
5
  export * from "./BatchGetFreeTrialInfoCommand";
5
6
  export * from "./BatchGetMemberEc2DeepInspectionStatusCommand";
6
7
  export * from "./BatchUpdateMemberEc2DeepInspectionStatusCommand";