@aws-sdk/client-security-ir 3.936.0 → 3.939.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 (33) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +146 -4
  3. package/dist-es/SecurityIR.js +4 -0
  4. package/dist-es/commands/ListInvestigationsCommand.js +16 -0
  5. package/dist-es/commands/SendFeedbackCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +17 -0
  8. package/dist-es/pagination/ListInvestigationsPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +1 -0
  10. package/dist-es/schemas/schemas_0.js +95 -4
  11. package/dist-types/SecurityIR.d.ts +14 -0
  12. package/dist-types/SecurityIRClient.d.ts +4 -2
  13. package/dist-types/commands/GetCaseCommand.d.ts +6 -0
  14. package/dist-types/commands/ListInvestigationsCommand.d.ts +161 -0
  15. package/dist-types/commands/SendFeedbackCommand.d.ts +134 -0
  16. package/dist-types/commands/UpdateCaseCommand.d.ts +6 -0
  17. package/dist-types/commands/index.d.ts +2 -0
  18. package/dist-types/models/enums.d.ts +41 -0
  19. package/dist-types/models/models_0.d.ts +154 -1
  20. package/dist-types/pagination/ListInvestigationsPaginator.d.ts +7 -0
  21. package/dist-types/pagination/index.d.ts +1 -0
  22. package/dist-types/schemas/schemas_0.d.ts +11 -0
  23. package/dist-types/ts3.4/SecurityIR.d.ts +34 -0
  24. package/dist-types/ts3.4/SecurityIRClient.d.ts +12 -0
  25. package/dist-types/ts3.4/commands/ListInvestigationsCommand.d.ts +51 -0
  26. package/dist-types/ts3.4/commands/SendFeedbackCommand.d.ts +47 -0
  27. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  28. package/dist-types/ts3.4/models/enums.d.ts +22 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +39 -0
  30. package/dist-types/ts3.4/pagination/ListInvestigationsPaginator.d.ts +11 -0
  31. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  33. package/package.json +2 -2
@@ -18,11 +18,13 @@ const _CD = "CaseDescription";
18
18
  const _CE = "ConflictException";
19
19
  const _CEI = "CaseEditItem";
20
20
  const _CEIa = "CaseEditItems";
21
- const _CM = "CancelMembership";
21
+ const _CM = "CaseMetadata";
22
+ const _CME = "CaseMetadataEntry";
22
23
  const _CMR = "CancelMembershipRequest";
23
24
  const _CMRa = "CancelMembershipResponse";
24
25
  const _CMRr = "CreateMembershipRequest";
25
26
  const _CMRre = "CreateMembershipResponse";
27
+ const _CMa = "CancelMembership";
26
28
  const _CMr = "CreateMembership";
27
29
  const _CT = "CaseTitle";
28
30
  const _EA = "EmailAddress";
@@ -43,8 +45,11 @@ const _GMADI = "GetMembershipAccountDetailItem";
43
45
  const _GMADIe = "GetMembershipAccountDetailItems";
44
46
  const _GMR = "GetMembershipRequest";
45
47
  const _GMRe = "GetMembershipResponse";
48
+ const _IA = "InvestigationAction";
49
+ const _IAL = "InvestigationActionList";
46
50
  const _IAR = "ImpactedAwsRegion";
47
51
  const _IARL = "ImpactedAwsRegionList";
52
+ const _IF = "InvestigationFeedback";
48
53
  const _IPA = "IPAddress";
49
54
  const _IR = "IncidentResponder";
50
55
  const _IRN = "IncidentResponderName";
@@ -65,6 +70,9 @@ const _LCRi = "ListCasesResponse";
65
70
  const _LCRis = "ListCommentsRequest";
66
71
  const _LCRist = "ListCommentsResponse";
67
72
  const _LCi = "ListComments";
73
+ const _LI = "ListInvestigations";
74
+ const _LIR = "ListInvestigationsRequest";
75
+ const _LIRi = "ListInvestigationsResponse";
68
76
  const _LM = "ListMemberships";
69
77
  const _LMI = "ListMembershipItem";
70
78
  const _LMIi = "ListMembershipItems";
@@ -81,6 +89,9 @@ const _OIFp = "OptInFeatures";
81
89
  const _PN = "PersonName";
82
90
  const _RA = "Retry-After";
83
91
  const _RNFE = "ResourceNotFoundException";
92
+ const _SF = "SendFeedback";
93
+ const _SFR = "SendFeedbackRequest";
94
+ const _SFRe = "SendFeedbackResponse";
84
95
  const _SIRNAE = "SecurityIncidentResponseNotActiveException";
85
96
  const _SQEE = "ServiceQuotaExceededException";
86
97
  const _TAI = "ThreatActorIp";
@@ -120,6 +131,7 @@ const _aIc = "accountId";
120
131
  const _aIt = "attachmentId";
121
132
  const _aPU = "attachmentPresignedUrl";
122
133
  const _aS = "attachmentStatus";
134
+ const _aT = "actionType";
123
135
  const _b = "body";
124
136
  const _c = "client";
125
137
  const _cA = "caseArn";
@@ -131,10 +143,13 @@ const _cEO = "coverEntireOrganization";
131
143
  const _cI = "caseId";
132
144
  const _cIo = "commentId";
133
145
  const _cL = "contentLength";
146
+ const _cM = "caseMetadata";
134
147
  const _cP = "communicationPreferences";
135
148
  const _cS = "caseStatus";
136
149
  const _cT = "clientToken";
137
150
  const _cTu = "customerType";
151
+ const _co = "content";
152
+ const _com = "comment";
138
153
  const _cr = "creator";
139
154
  const _d = "description";
140
155
  const _e = "error";
@@ -142,6 +157,7 @@ const _eT = "eventTimestamp";
142
157
  const _eTn = "engagementType";
143
158
  const _em = "email";
144
159
  const _er = "errors";
160
+ const _f = "feedback";
145
161
  const _fL = "fieldList";
146
162
  const _fN = "fileName";
147
163
  const _fNe = "featureName";
@@ -156,13 +172,17 @@ const _iARTA = "impactedAwsRegionsToAdd";
156
172
  const _iARTD = "impactedAwsRegionsToDelete";
157
173
  const _iATA = "impactedAccountsToAdd";
158
174
  const _iATD = "impactedAccountsToDelete";
175
+ const _iAn = "investigationActions";
159
176
  const _iAp = "ipAddress";
160
177
  const _iE = "isEnabled";
178
+ const _iI = "investigationId";
161
179
  const _iRT = "incidentResponseTeam";
162
180
  const _iS = "impactedServices";
163
181
  const _iSTA = "impactedServicesToAdd";
164
182
  const _iSTD = "impactedServicesToDelete";
165
183
  const _jT = "jobTitle";
184
+ const _k = "key";
185
+ const _lU = "lastUpdated";
166
186
  const _lUB = "lastUpdatedBy";
167
187
  const _lUD = "lastUpdatedDate";
168
188
  const _m = "message";
@@ -190,14 +210,17 @@ const _rA = "resourceArn";
190
210
  const _rAS = "retryAfterSeconds";
191
211
  const _rI = "resourceId";
192
212
  const _rISD = "reportedIncidentStartDate";
213
+ const _rIe = "resultId";
193
214
  const _rS = "relationshipStatus";
194
215
  const _rT = "resourceType";
195
216
  const _rTe = "resolverType";
196
217
  const _rTel = "relationshipType";
197
218
  const _re = "reason";
198
219
  const _s = "server";
220
+ const _sA = "submittedAt";
199
221
  const _sC = "serviceCode";
200
222
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.securityir";
223
+ const _st = "status";
201
224
  const _t = "title";
202
225
  const _tAIA = "threatActorIpAddresses";
203
226
  const _tAIATA = "threatActorIpAddressesToAdd";
@@ -205,8 +228,10 @@ const _tAIATD = "threatActorIpAddressesToDelete";
205
228
  const _tK = "tagKeys";
206
229
  const _ta = "tags";
207
230
  const _to = "total";
231
+ const _u = "usefulness";
208
232
  const _uA = "userAgent";
209
233
  const _uMC = "undoMembershipCancellation";
234
+ const _v = "value";
210
235
  const _w = "watchers";
211
236
  const _wTA = "watchersToAdd";
212
237
  const _wTD = "watchersToDelete";
@@ -264,6 +289,7 @@ export var CaseAttachmentAttributes = [
264
289
  [0, [() => FileName, 0], 0, 0, 4],
265
290
  ];
266
291
  export var CaseEditItem = [3, n0, _CEI, 0, [_eT, _p, _a, _m], [4, 0, 0, 0]];
292
+ export var CaseMetadataEntry = [3, n0, _CME, 0, [_k, _v], [0, 0]];
267
293
  export var CloseCaseRequest = [3, n0, _CCR, 0, [_cI], [[0, 1]]];
268
294
  export var CloseCaseResponse = [3, n0, _CCRl, 0, [_cS, _cDl], [0, 4]];
269
295
  export var ConflictException = [
@@ -349,7 +375,7 @@ export var GetCaseResponse = [
349
375
  n0,
350
376
  _GCRe,
351
377
  0,
352
- [_t, _cA, _d, _cS, _eTn, _rISD, _aISD, _iAR, _tAIA, _pA, _iA, _w, _cD, _lUD, _cC, _rTe, _iS, _cAa, _cDl],
378
+ [_t, _cA, _d, _cS, _eTn, _rISD, _aISD, _iAR, _tAIA, _pA, _iA, _w, _cD, _lUD, _cC, _rTe, _iS, _cAa, _cDl, _cM],
353
379
  [
354
380
  [() => CaseTitle, 0],
355
381
  0,
@@ -370,6 +396,7 @@ export var GetCaseResponse = [
370
396
  64 | 0,
371
397
  [() => CaseAttachmentsList, 0],
372
398
  4,
399
+ () => CaseMetadata,
373
400
  ],
374
401
  ];
375
402
  export var GetMembershipAccountDetailError = [3, n0, _GMADE, 0, [_aIc, _e, _m], [0, 0, 0]];
@@ -438,6 +465,15 @@ export var InvalidTokenException = [
438
465
  [0],
439
466
  ];
440
467
  TypeRegistry.for(n0).registerError(InvalidTokenException, __InvalidTokenException);
468
+ export var InvestigationAction = [
469
+ 3,
470
+ n0,
471
+ _IA,
472
+ 0,
473
+ [_iI, _aT, _t, _co, _st, _lU, _f],
474
+ [0, 0, 0, 0, 0, 4, () => InvestigationFeedback],
475
+ ];
476
+ export var InvestigationFeedback = [3, n0, _IF, 0, [_u, _com, _sA], [0, 0, 4]];
441
477
  export var ListCaseEditsRequest = [3, n0, _LCER, 0, [_nT, _mR, _cI], [0, 1, [0, 1]]];
442
478
  export var ListCaseEditsResponse = [
443
479
  3,
@@ -481,6 +517,36 @@ export var ListCommentsResponse = [
481
517
  [_nT, _i, _to],
482
518
  [0, [() => ListCommentsItems, 0], 1],
483
519
  ];
520
+ export var ListInvestigationsRequest = [
521
+ 3,
522
+ n0,
523
+ _LIR,
524
+ 0,
525
+ [_nT, _mR, _cI],
526
+ [
527
+ [
528
+ 0,
529
+ {
530
+ [_hQ]: _nT,
531
+ },
532
+ ],
533
+ [
534
+ 1,
535
+ {
536
+ [_hQ]: _mR,
537
+ },
538
+ ],
539
+ [0, 1],
540
+ ],
541
+ ];
542
+ export var ListInvestigationsResponse = [
543
+ 3,
544
+ n0,
545
+ _LIRi,
546
+ 0,
547
+ [_nT, _iAn],
548
+ [0, () => InvestigationActionList],
549
+ ];
484
550
  export var ListMembershipItem = [3, n0, _LMI, 0, [_mI, _aIc, _r, _mA, _mS], [0, 0, 0, 0, 0]];
485
551
  export var ListMembershipsRequest = [3, n0, _LMR, 0, [_nT, _mR], [0, 1]];
486
552
  export var ListMembershipsResponse = [
@@ -527,6 +593,8 @@ export var SecurityIncidentResponseNotActiveException = [
527
593
  [0],
528
594
  ];
529
595
  TypeRegistry.for(n0).registerError(SecurityIncidentResponseNotActiveException, __SecurityIncidentResponseNotActiveException);
596
+ export var SendFeedbackRequest = [3, n0, _SFR, 0, [_cI, _rIe, _u, _com], [[0, 1], [0, 1], 0, 0]];
597
+ export var SendFeedbackResponse = [3, n0, _SFRe, 0, [], []];
530
598
  export var ServiceQuotaExceededException = [
531
599
  -3,
532
600
  n0,
@@ -606,7 +674,7 @@ export var UpdateCaseRequest = [
606
674
  n0,
607
675
  _UCR,
608
676
  0,
609
- [_cI, _t, _d, _rISD, _aISD, _eTn, _wTA, _wTD, _tAIATA, _tAIATD, _iSTA, _iSTD, _iARTA, _iARTD, _iATA, _iATD],
677
+ [_cI, _t, _d, _rISD, _aISD, _eTn, _wTA, _wTD, _tAIATA, _tAIATD, _iSTA, _iSTD, _iARTA, _iARTD, _iATA, _iATD, _cM],
610
678
  [
611
679
  [0, 1],
612
680
  [() => CaseTitle, 0],
@@ -624,6 +692,7 @@ export var UpdateCaseRequest = [
624
692
  () => ImpactedAwsRegionList,
625
693
  64 | 0,
626
694
  64 | 0,
695
+ () => CaseMetadata,
627
696
  ],
628
697
  ];
629
698
  export var UpdateCaseResponse = [3, n0, _UCRp, 0, [], []];
@@ -678,6 +747,7 @@ TypeRegistry.for(_sm).registerError(SecurityIRServiceException, __SecurityIRServ
678
747
  export var AWSAccountIds = 64 | 0;
679
748
  export var CaseAttachmentsList = [1, n0, _CAL, 0, [() => CaseAttachmentAttributes, 0]];
680
749
  export var CaseEditItems = [1, n0, _CEIa, 0, () => CaseEditItem];
750
+ export var CaseMetadata = [1, n0, _CM, 0, () => CaseMetadataEntry];
681
751
  export var CommunicationPreferences = 64 | 0;
682
752
  export var GetMembershipAccountDetailErrors = [
683
753
  1,
@@ -697,6 +767,7 @@ export var ImpactedAccounts = 64 | 0;
697
767
  export var ImpactedAwsRegionList = [1, n0, _IARL, 0, () => ImpactedAwsRegion];
698
768
  export var ImpactedServicesList = 64 | 0;
699
769
  export var IncidentResponseTeam = [1, n0, _IRT, 0, [() => IncidentResponder, 0]];
770
+ export var InvestigationActionList = [1, n0, _IAL, 0, () => InvestigationAction];
700
771
  export var ListCasesItems = [1, n0, _LCIis, 0, [() => ListCasesItem, 0]];
701
772
  export var ListCommentsItems = [1, n0, _LCIist, 0, [() => ListCommentsItem, 0]];
702
773
  export var ListMembershipItems = [1, n0, _LMIi, 0, () => ListMembershipItem];
@@ -720,7 +791,7 @@ export var BatchGetMemberAccountDetails = [
720
791
  export var CancelMembership = [
721
792
  9,
722
793
  n0,
723
- _CM,
794
+ _CMa,
724
795
  {
725
796
  [_h]: ["PUT", "/v1/membership/{membershipId}", 200],
726
797
  },
@@ -837,6 +908,16 @@ export var ListComments = [
837
908
  () => ListCommentsRequest,
838
909
  () => ListCommentsResponse,
839
910
  ];
911
+ export var ListInvestigations = [
912
+ 9,
913
+ n0,
914
+ _LI,
915
+ {
916
+ [_h]: ["GET", "/v1/cases/{caseId}/list-investigations", 200],
917
+ },
918
+ () => ListInvestigationsRequest,
919
+ () => ListInvestigationsResponse,
920
+ ];
840
921
  export var ListMemberships = [
841
922
  9,
842
923
  n0,
@@ -857,6 +938,16 @@ export var ListTagsForResource = [
857
938
  () => ListTagsForResourceInput,
858
939
  () => ListTagsForResourceOutput,
859
940
  ];
941
+ export var SendFeedback = [
942
+ 9,
943
+ n0,
944
+ _SF,
945
+ {
946
+ [_h]: ["POST", "/v1/cases/{caseId}/feedback/{resultId}/send-feedback", 200],
947
+ },
948
+ () => SendFeedbackRequest,
949
+ () => SendFeedbackResponse,
950
+ ];
860
951
  export var TagResource = [
861
952
  9,
862
953
  n0,
@@ -12,8 +12,10 @@ import { GetMembershipCommandInput, GetMembershipCommandOutput } from "./command
12
12
  import { ListCaseEditsCommandInput, ListCaseEditsCommandOutput } from "./commands/ListCaseEditsCommand";
13
13
  import { ListCasesCommandInput, ListCasesCommandOutput } from "./commands/ListCasesCommand";
14
14
  import { ListCommentsCommandInput, ListCommentsCommandOutput } from "./commands/ListCommentsCommand";
15
+ import { ListInvestigationsCommandInput, ListInvestigationsCommandOutput } from "./commands/ListInvestigationsCommand";
15
16
  import { ListMembershipsCommandInput, ListMembershipsCommandOutput } from "./commands/ListMembershipsCommand";
16
17
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
18
+ import { SendFeedbackCommandInput, SendFeedbackCommandOutput } from "./commands/SendFeedbackCommand";
17
19
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
18
20
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
19
21
  import { UpdateCaseCommandInput, UpdateCaseCommandOutput } from "./commands/UpdateCaseCommand";
@@ -102,6 +104,12 @@ export interface SecurityIR {
102
104
  listComments(args: ListCommentsCommandInput, options?: __HttpHandlerOptions): Promise<ListCommentsCommandOutput>;
103
105
  listComments(args: ListCommentsCommandInput, cb: (err: any, data?: ListCommentsCommandOutput) => void): void;
104
106
  listComments(args: ListCommentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCommentsCommandOutput) => void): void;
107
+ /**
108
+ * @see {@link ListInvestigationsCommand}
109
+ */
110
+ listInvestigations(args: ListInvestigationsCommandInput, options?: __HttpHandlerOptions): Promise<ListInvestigationsCommandOutput>;
111
+ listInvestigations(args: ListInvestigationsCommandInput, cb: (err: any, data?: ListInvestigationsCommandOutput) => void): void;
112
+ listInvestigations(args: ListInvestigationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInvestigationsCommandOutput) => void): void;
105
113
  /**
106
114
  * @see {@link ListMembershipsCommand}
107
115
  */
@@ -115,6 +123,12 @@ export interface SecurityIR {
115
123
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
116
124
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
117
125
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
126
+ /**
127
+ * @see {@link SendFeedbackCommand}
128
+ */
129
+ sendFeedback(args: SendFeedbackCommandInput, options?: __HttpHandlerOptions): Promise<SendFeedbackCommandOutput>;
130
+ sendFeedback(args: SendFeedbackCommandInput, cb: (err: any, data?: SendFeedbackCommandOutput) => void): void;
131
+ sendFeedback(args: SendFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendFeedbackCommandOutput) => void): void;
118
132
  /**
119
133
  * @see {@link TagResourceCommand}
120
134
  */
@@ -20,8 +20,10 @@ import { GetMembershipCommandInput, GetMembershipCommandOutput } from "./command
20
20
  import { ListCaseEditsCommandInput, ListCaseEditsCommandOutput } from "./commands/ListCaseEditsCommand";
21
21
  import { ListCasesCommandInput, ListCasesCommandOutput } from "./commands/ListCasesCommand";
22
22
  import { ListCommentsCommandInput, ListCommentsCommandOutput } from "./commands/ListCommentsCommand";
23
+ import { ListInvestigationsCommandInput, ListInvestigationsCommandOutput } from "./commands/ListInvestigationsCommand";
23
24
  import { ListMembershipsCommandInput, ListMembershipsCommandOutput } from "./commands/ListMembershipsCommand";
24
25
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
26
+ import { SendFeedbackCommandInput, SendFeedbackCommandOutput } from "./commands/SendFeedbackCommand";
25
27
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
26
28
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
27
29
  import { UpdateCaseCommandInput, UpdateCaseCommandOutput } from "./commands/UpdateCaseCommand";
@@ -35,11 +37,11 @@ export { __Client };
35
37
  /**
36
38
  * @public
37
39
  */
38
- export type ServiceInputTypes = BatchGetMemberAccountDetailsCommandInput | CancelMembershipCommandInput | CloseCaseCommandInput | CreateCaseCommandInput | CreateCaseCommentCommandInput | CreateMembershipCommandInput | GetCaseAttachmentDownloadUrlCommandInput | GetCaseAttachmentUploadUrlCommandInput | GetCaseCommandInput | GetMembershipCommandInput | ListCaseEditsCommandInput | ListCasesCommandInput | ListCommentsCommandInput | ListMembershipsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCaseCommandInput | UpdateCaseCommentCommandInput | UpdateCaseStatusCommandInput | UpdateMembershipCommandInput | UpdateResolverTypeCommandInput;
40
+ export type ServiceInputTypes = BatchGetMemberAccountDetailsCommandInput | CancelMembershipCommandInput | CloseCaseCommandInput | CreateCaseCommandInput | CreateCaseCommentCommandInput | CreateMembershipCommandInput | GetCaseAttachmentDownloadUrlCommandInput | GetCaseAttachmentUploadUrlCommandInput | GetCaseCommandInput | GetMembershipCommandInput | ListCaseEditsCommandInput | ListCasesCommandInput | ListCommentsCommandInput | ListInvestigationsCommandInput | ListMembershipsCommandInput | ListTagsForResourceCommandInput | SendFeedbackCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCaseCommandInput | UpdateCaseCommentCommandInput | UpdateCaseStatusCommandInput | UpdateMembershipCommandInput | UpdateResolverTypeCommandInput;
39
41
  /**
40
42
  * @public
41
43
  */
42
- export type ServiceOutputTypes = BatchGetMemberAccountDetailsCommandOutput | CancelMembershipCommandOutput | CloseCaseCommandOutput | CreateCaseCommandOutput | CreateCaseCommentCommandOutput | CreateMembershipCommandOutput | GetCaseAttachmentDownloadUrlCommandOutput | GetCaseAttachmentUploadUrlCommandOutput | GetCaseCommandOutput | GetMembershipCommandOutput | ListCaseEditsCommandOutput | ListCasesCommandOutput | ListCommentsCommandOutput | ListMembershipsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCaseCommandOutput | UpdateCaseCommentCommandOutput | UpdateCaseStatusCommandOutput | UpdateMembershipCommandOutput | UpdateResolverTypeCommandOutput;
44
+ export type ServiceOutputTypes = BatchGetMemberAccountDetailsCommandOutput | CancelMembershipCommandOutput | CloseCaseCommandOutput | CreateCaseCommandOutput | CreateCaseCommentCommandOutput | CreateMembershipCommandOutput | GetCaseAttachmentDownloadUrlCommandOutput | GetCaseAttachmentUploadUrlCommandOutput | GetCaseCommandOutput | GetMembershipCommandOutput | ListCaseEditsCommandOutput | ListCasesCommandOutput | ListCommentsCommandOutput | ListInvestigationsCommandOutput | ListMembershipsCommandOutput | ListTagsForResourceCommandOutput | SendFeedbackCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCaseCommandOutput | UpdateCaseCommentCommandOutput | UpdateCaseStatusCommandOutput | UpdateMembershipCommandOutput | UpdateResolverTypeCommandOutput;
43
45
  /**
44
46
  * @public
45
47
  */
@@ -88,6 +88,12 @@ declare const GetCaseCommand_base: {
88
88
  * // },
89
89
  * // ],
90
90
  * // closedDate: new Date("TIMESTAMP"),
91
+ * // caseMetadata: [ // CaseMetadata
92
+ * // { // CaseMetadataEntry
93
+ * // key: "STRING_VALUE", // required
94
+ * // value: "STRING_VALUE", // required
95
+ * // },
96
+ * // ],
91
97
  * // };
92
98
  *
93
99
  * ```
@@ -0,0 +1,161 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListInvestigationsRequest, ListInvestigationsResponse } from "../models/models_0";
4
+ import { SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityIRClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListInvestigationsCommand}.
14
+ */
15
+ export interface ListInvestigationsCommandInput extends ListInvestigationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListInvestigationsCommand}.
21
+ */
22
+ export interface ListInvestigationsCommandOutput extends ListInvestigationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListInvestigationsCommand_base: {
25
+ new (input: ListInvestigationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListInvestigationsCommandInput, ListInvestigationsCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListInvestigationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListInvestigationsCommandInput, ListInvestigationsCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Investigation performed by an agent for a security incident...</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, ListInvestigationsCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, ListInvestigationsCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * // import type { SecurityIRClientConfig } from "@aws-sdk/client-security-ir";
37
+ * const config = {}; // type is SecurityIRClientConfig
38
+ * const client = new SecurityIRClient(config);
39
+ * const input = { // ListInvestigationsRequest
40
+ * nextToken: "STRING_VALUE",
41
+ * maxResults: Number("int"),
42
+ * caseId: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new ListInvestigationsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListInvestigationsResponse
47
+ * // nextToken: "STRING_VALUE",
48
+ * // investigationActions: [ // InvestigationActionList // required
49
+ * // { // InvestigationAction
50
+ * // investigationId: "STRING_VALUE", // required
51
+ * // actionType: "Evidence" || "Investigation" || "Summarization", // required
52
+ * // title: "STRING_VALUE", // required
53
+ * // content: "STRING_VALUE", // required
54
+ * // status: "Pending" || "InProgress" || "Waiting" || "Completed" || "Failed" || "Cancelled", // required
55
+ * // lastUpdated: new Date("TIMESTAMP"), // required
56
+ * // feedback: { // InvestigationFeedback
57
+ * // usefulness: "USEFUL" || "NOT_USEFUL",
58
+ * // comment: "STRING_VALUE",
59
+ * // submittedAt: new Date("TIMESTAMP"),
60
+ * // },
61
+ * // },
62
+ * // ],
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param ListInvestigationsCommandInput - {@link ListInvestigationsCommandInput}
68
+ * @returns {@link ListInvestigationsCommandOutput}
69
+ * @see {@link ListInvestigationsCommandInput} for command's `input` shape.
70
+ * @see {@link ListInvestigationsCommandOutput} for command's `response` shape.
71
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p/>
75
+ *
76
+ * @throws {@link ConflictException} (client fault)
77
+ * <p/>
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p/>
81
+ *
82
+ * @throws {@link InvalidTokenException} (client fault)
83
+ * <p/>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p/>
87
+ *
88
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
89
+ * <p/>
90
+ *
91
+ * @throws {@link ServiceQuotaExceededException} (client fault)
92
+ * <p/>
93
+ *
94
+ * @throws {@link ThrottlingException} (client fault)
95
+ * <p/>
96
+ *
97
+ * @throws {@link ValidationException} (client fault)
98
+ * <p/>
99
+ *
100
+ * @throws {@link SecurityIRServiceException}
101
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
102
+ *
103
+ *
104
+ * @example Invoke ListInvestigations with feedback examples
105
+ * ```javascript
106
+ * //
107
+ * const input = {
108
+ * caseId: "8403556009",
109
+ * maxResults: 10
110
+ * };
111
+ * const command = new ListInvestigationsCommand(input);
112
+ * const response = await client.send(command);
113
+ * /* response is
114
+ * {
115
+ * investigationActions: [
116
+ * {
117
+ * actionType: "Evidence",
118
+ * content: "## Evidence Collection Results
119
+ *
120
+ * Analyzed CloudTrail logs from 2024-01-15 to 2024-01-16 and found:
121
+ *
122
+ * - 15 failed login attempts from IP 192.168.1.100
123
+ * - Unusual API calls to S3 buckets
124
+ * - Privilege escalation attempts detected
125
+ *
126
+ * ### Recommendations
127
+ *
128
+ * 1. Block the suspicious IP address
129
+ * 2. Review S3 bucket permissions
130
+ * 3. Audit user privileges",
131
+ * feedback: {
132
+ * comment: "The CloudTrail analysis was very helpful in identifying the root cause of the security incident. The recommendations were actionable and led to immediate remediation.",
133
+ * submittedAt: "2024-01-16T11:15:00Z",
134
+ * usefulness: "USEFUL"
135
+ * },
136
+ * investigationId: "inv-hgyuiuytrt",
137
+ * lastUpdated: "2024-01-16T10:30:00Z",
138
+ * status: "Completed",
139
+ * title: "Collected CloudTrail logs for suspicious activity"
140
+ * }
141
+ * ],
142
+ * nextToken: "eyJsYXN0RXZhbHVhdGVkS2V5Ijp7InBhcnRpdGlvbktleSI6eyJTIjoiQ0FTRV8xMjM0NTY3ODkwIn0sInNvcnRLZXkiOnsiUyI6IjIwMjQtMDEtMTZUMTA6MzA6MDBaIn19fQ=="
143
+ * }
144
+ * *\/
145
+ * ```
146
+ *
147
+ * @public
148
+ */
149
+ export declare class ListInvestigationsCommand extends ListInvestigationsCommand_base {
150
+ /** @internal type navigation helper, not in runtime. */
151
+ protected static __types: {
152
+ api: {
153
+ input: ListInvestigationsRequest;
154
+ output: ListInvestigationsResponse;
155
+ };
156
+ sdk: {
157
+ input: ListInvestigationsCommandInput;
158
+ output: ListInvestigationsCommandOutput;
159
+ };
160
+ };
161
+ }
@@ -0,0 +1,134 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { SendFeedbackRequest, SendFeedbackResponse } from "../models/models_0";
4
+ import { SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityIRClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link SendFeedbackCommand}.
14
+ */
15
+ export interface SendFeedbackCommandInput extends SendFeedbackRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link SendFeedbackCommand}.
21
+ */
22
+ export interface SendFeedbackCommandOutput extends SendFeedbackResponse, __MetadataBearer {
23
+ }
24
+ declare const SendFeedbackCommand_base: {
25
+ new (input: SendFeedbackCommandInput): import("@smithy/smithy-client").CommandImpl<SendFeedbackCommandInput, SendFeedbackCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: SendFeedbackCommandInput): import("@smithy/smithy-client").CommandImpl<SendFeedbackCommandInput, SendFeedbackCommandOutput, SecurityIRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Send feedback based on response investigation action</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SecurityIRClient, SendFeedbackCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
35
+ * // const { SecurityIRClient, SendFeedbackCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
36
+ * // import type { SecurityIRClientConfig } from "@aws-sdk/client-security-ir";
37
+ * const config = {}; // type is SecurityIRClientConfig
38
+ * const client = new SecurityIRClient(config);
39
+ * const input = { // SendFeedbackRequest
40
+ * caseId: "STRING_VALUE", // required
41
+ * resultId: "STRING_VALUE", // required
42
+ * usefulness: "USEFUL" || "NOT_USEFUL", // required
43
+ * comment: "STRING_VALUE",
44
+ * };
45
+ * const command = new SendFeedbackCommand(input);
46
+ * const response = await client.send(command);
47
+ * // {};
48
+ *
49
+ * ```
50
+ *
51
+ * @param SendFeedbackCommandInput - {@link SendFeedbackCommandInput}
52
+ * @returns {@link SendFeedbackCommandOutput}
53
+ * @see {@link SendFeedbackCommandInput} for command's `input` shape.
54
+ * @see {@link SendFeedbackCommandOutput} for command's `response` shape.
55
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p/>
59
+ *
60
+ * @throws {@link ConflictException} (client fault)
61
+ * <p/>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p/>
65
+ *
66
+ * @throws {@link InvalidTokenException} (client fault)
67
+ * <p/>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p/>
71
+ *
72
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
73
+ * <p/>
74
+ *
75
+ * @throws {@link ServiceQuotaExceededException} (client fault)
76
+ * <p/>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p/>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p/>
83
+ *
84
+ * @throws {@link SecurityIRServiceException}
85
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
86
+ *
87
+ *
88
+ * @example Send positive feedback for investigation result
89
+ * ```javascript
90
+ * //
91
+ * const input = {
92
+ * caseId: "8403556009",
93
+ * comment: "The CloudTrail analysis was very helpful in identifying the root cause of the security incident.",
94
+ * resultId: "inv-polkjhyuty",
95
+ * usefulness: "USEFUL"
96
+ * };
97
+ * const command = new SendFeedbackCommand(input);
98
+ * const response = await client.send(command);
99
+ * /* response is
100
+ * { /* empty *\/ }
101
+ * *\/
102
+ * ```
103
+ *
104
+ * @example Send negative feedback with detailed comment
105
+ * ```javascript
106
+ * //
107
+ * const input = {
108
+ * caseId: "8403556009",
109
+ * comment: "The investigation results were too generic and didn't provide actionable insights for our specific incident.",
110
+ * resultId: "inv-irutjfhgjk",
111
+ * usefulness: "NOT_USEFUL"
112
+ * };
113
+ * const command = new SendFeedbackCommand(input);
114
+ * const response = await client.send(command);
115
+ * /* response is
116
+ * { /* empty *\/ }
117
+ * *\/
118
+ * ```
119
+ *
120
+ * @public
121
+ */
122
+ export declare class SendFeedbackCommand extends SendFeedbackCommand_base {
123
+ /** @internal type navigation helper, not in runtime. */
124
+ protected static __types: {
125
+ api: {
126
+ input: SendFeedbackRequest;
127
+ output: {};
128
+ };
129
+ sdk: {
130
+ input: SendFeedbackCommandInput;
131
+ output: SendFeedbackCommandOutput;
132
+ };
133
+ };
134
+ }
@@ -91,6 +91,12 @@ declare const UpdateCaseCommand_base: {
91
91
  * impactedAccountsToDelete: [
92
92
  * "STRING_VALUE",
93
93
  * ],
94
+ * caseMetadata: [ // CaseMetadata
95
+ * { // CaseMetadataEntry
96
+ * key: "STRING_VALUE", // required
97
+ * value: "STRING_VALUE", // required
98
+ * },
99
+ * ],
94
100
  * };
95
101
  * const command = new UpdateCaseCommand(input);
96
102
  * const response = await client.send(command);
@@ -11,8 +11,10 @@ export * from "./GetMembershipCommand";
11
11
  export * from "./ListCaseEditsCommand";
12
12
  export * from "./ListCasesCommand";
13
13
  export * from "./ListCommentsCommand";
14
+ export * from "./ListInvestigationsCommand";
14
15
  export * from "./ListMembershipsCommand";
15
16
  export * from "./ListTagsForResourceCommand";
17
+ export * from "./SendFeedbackCommand";
16
18
  export * from "./TagResourceCommand";
17
19
  export * from "./UntagResourceCommand";
18
20
  export * from "./UpdateCaseCommand";