@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.
- package/README.md +16 -0
- package/dist-cjs/index.js +146 -4
- package/dist-es/SecurityIR.js +4 -0
- package/dist-es/commands/ListInvestigationsCommand.js +16 -0
- package/dist-es/commands/SendFeedbackCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +17 -0
- package/dist-es/pagination/ListInvestigationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +95 -4
- package/dist-types/SecurityIR.d.ts +14 -0
- package/dist-types/SecurityIRClient.d.ts +4 -2
- package/dist-types/commands/GetCaseCommand.d.ts +6 -0
- package/dist-types/commands/ListInvestigationsCommand.d.ts +161 -0
- package/dist-types/commands/SendFeedbackCommand.d.ts +134 -0
- package/dist-types/commands/UpdateCaseCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +41 -0
- package/dist-types/models/models_0.d.ts +154 -1
- package/dist-types/pagination/ListInvestigationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +11 -0
- package/dist-types/ts3.4/SecurityIR.d.ts +34 -0
- package/dist-types/ts3.4/SecurityIRClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListInvestigationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendFeedbackCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +22 -0
- package/dist-types/ts3.4/models/models_0.d.ts +39 -0
- package/dist-types/ts3.4/pagination/ListInvestigationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -306,6 +306,14 @@ ListComments
|
|
|
306
306
|
|
|
307
307
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/security-ir/command/ListCommentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-security-ir/Interface/ListCommentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-security-ir/Interface/ListCommentsCommandOutput/)
|
|
308
308
|
|
|
309
|
+
</details>
|
|
310
|
+
<details>
|
|
311
|
+
<summary>
|
|
312
|
+
ListInvestigations
|
|
313
|
+
</summary>
|
|
314
|
+
|
|
315
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/security-ir/command/ListInvestigationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-security-ir/Interface/ListInvestigationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-security-ir/Interface/ListInvestigationsCommandOutput/)
|
|
316
|
+
|
|
309
317
|
</details>
|
|
310
318
|
<details>
|
|
311
319
|
<summary>
|
|
@@ -322,6 +330,14 @@ ListTagsForResource
|
|
|
322
330
|
|
|
323
331
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/security-ir/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-security-ir/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-security-ir/Interface/ListTagsForResourceCommandOutput/)
|
|
324
332
|
|
|
333
|
+
</details>
|
|
334
|
+
<details>
|
|
335
|
+
<summary>
|
|
336
|
+
SendFeedback
|
|
337
|
+
</summary>
|
|
338
|
+
|
|
339
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/security-ir/command/SendFeedbackCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-security-ir/Interface/SendFeedbackCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-security-ir/Interface/SendFeedbackCommandOutput/)
|
|
340
|
+
|
|
325
341
|
</details>
|
|
326
342
|
<details>
|
|
327
343
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -273,11 +273,13 @@ const _CD = "CaseDescription";
|
|
|
273
273
|
const _CE = "ConflictException";
|
|
274
274
|
const _CEI = "CaseEditItem";
|
|
275
275
|
const _CEIa = "CaseEditItems";
|
|
276
|
-
const _CM = "
|
|
276
|
+
const _CM = "CaseMetadata";
|
|
277
|
+
const _CME = "CaseMetadataEntry";
|
|
277
278
|
const _CMR = "CancelMembershipRequest";
|
|
278
279
|
const _CMRa = "CancelMembershipResponse";
|
|
279
280
|
const _CMRr = "CreateMembershipRequest";
|
|
280
281
|
const _CMRre = "CreateMembershipResponse";
|
|
282
|
+
const _CMa = "CancelMembership";
|
|
281
283
|
const _CMr = "CreateMembership";
|
|
282
284
|
const _CT = "CaseTitle";
|
|
283
285
|
const _EA = "EmailAddress";
|
|
@@ -298,8 +300,11 @@ const _GMADI = "GetMembershipAccountDetailItem";
|
|
|
298
300
|
const _GMADIe = "GetMembershipAccountDetailItems";
|
|
299
301
|
const _GMR = "GetMembershipRequest";
|
|
300
302
|
const _GMRe = "GetMembershipResponse";
|
|
303
|
+
const _IA = "InvestigationAction";
|
|
304
|
+
const _IAL = "InvestigationActionList";
|
|
301
305
|
const _IAR = "ImpactedAwsRegion";
|
|
302
306
|
const _IARL = "ImpactedAwsRegionList";
|
|
307
|
+
const _IF = "InvestigationFeedback";
|
|
303
308
|
const _IPA = "IPAddress";
|
|
304
309
|
const _IR = "IncidentResponder";
|
|
305
310
|
const _IRN = "IncidentResponderName";
|
|
@@ -320,6 +325,9 @@ const _LCRi = "ListCasesResponse";
|
|
|
320
325
|
const _LCRis = "ListCommentsRequest";
|
|
321
326
|
const _LCRist = "ListCommentsResponse";
|
|
322
327
|
const _LCi = "ListComments";
|
|
328
|
+
const _LI = "ListInvestigations";
|
|
329
|
+
const _LIR = "ListInvestigationsRequest";
|
|
330
|
+
const _LIRi = "ListInvestigationsResponse";
|
|
323
331
|
const _LM = "ListMemberships";
|
|
324
332
|
const _LMI = "ListMembershipItem";
|
|
325
333
|
const _LMIi = "ListMembershipItems";
|
|
@@ -336,6 +344,9 @@ const _OIFp = "OptInFeatures";
|
|
|
336
344
|
const _PN = "PersonName";
|
|
337
345
|
const _RA = "Retry-After";
|
|
338
346
|
const _RNFE = "ResourceNotFoundException";
|
|
347
|
+
const _SF = "SendFeedback";
|
|
348
|
+
const _SFR = "SendFeedbackRequest";
|
|
349
|
+
const _SFRe = "SendFeedbackResponse";
|
|
339
350
|
const _SIRNAE = "SecurityIncidentResponseNotActiveException";
|
|
340
351
|
const _SQEE = "ServiceQuotaExceededException";
|
|
341
352
|
const _TAI = "ThreatActorIp";
|
|
@@ -375,6 +386,7 @@ const _aIc = "accountId";
|
|
|
375
386
|
const _aIt = "attachmentId";
|
|
376
387
|
const _aPU = "attachmentPresignedUrl";
|
|
377
388
|
const _aS = "attachmentStatus";
|
|
389
|
+
const _aT = "actionType";
|
|
378
390
|
const _b = "body";
|
|
379
391
|
const _c = "client";
|
|
380
392
|
const _cA = "caseArn";
|
|
@@ -386,10 +398,13 @@ const _cEO = "coverEntireOrganization";
|
|
|
386
398
|
const _cI = "caseId";
|
|
387
399
|
const _cIo = "commentId";
|
|
388
400
|
const _cL = "contentLength";
|
|
401
|
+
const _cM = "caseMetadata";
|
|
389
402
|
const _cP = "communicationPreferences";
|
|
390
403
|
const _cS = "caseStatus";
|
|
391
404
|
const _cT = "clientToken";
|
|
392
405
|
const _cTu = "customerType";
|
|
406
|
+
const _co = "content";
|
|
407
|
+
const _com = "comment";
|
|
393
408
|
const _cr = "creator";
|
|
394
409
|
const _d = "description";
|
|
395
410
|
const _e = "error";
|
|
@@ -397,6 +412,7 @@ const _eT = "eventTimestamp";
|
|
|
397
412
|
const _eTn = "engagementType";
|
|
398
413
|
const _em = "email";
|
|
399
414
|
const _er = "errors";
|
|
415
|
+
const _f = "feedback";
|
|
400
416
|
const _fL = "fieldList";
|
|
401
417
|
const _fN = "fileName";
|
|
402
418
|
const _fNe = "featureName";
|
|
@@ -411,13 +427,17 @@ const _iARTA = "impactedAwsRegionsToAdd";
|
|
|
411
427
|
const _iARTD = "impactedAwsRegionsToDelete";
|
|
412
428
|
const _iATA = "impactedAccountsToAdd";
|
|
413
429
|
const _iATD = "impactedAccountsToDelete";
|
|
430
|
+
const _iAn = "investigationActions";
|
|
414
431
|
const _iAp = "ipAddress";
|
|
415
432
|
const _iE = "isEnabled";
|
|
433
|
+
const _iI = "investigationId";
|
|
416
434
|
const _iRT = "incidentResponseTeam";
|
|
417
435
|
const _iS = "impactedServices";
|
|
418
436
|
const _iSTA = "impactedServicesToAdd";
|
|
419
437
|
const _iSTD = "impactedServicesToDelete";
|
|
420
438
|
const _jT = "jobTitle";
|
|
439
|
+
const _k = "key";
|
|
440
|
+
const _lU = "lastUpdated";
|
|
421
441
|
const _lUB = "lastUpdatedBy";
|
|
422
442
|
const _lUD = "lastUpdatedDate";
|
|
423
443
|
const _m = "message";
|
|
@@ -445,14 +465,17 @@ const _rA = "resourceArn";
|
|
|
445
465
|
const _rAS = "retryAfterSeconds";
|
|
446
466
|
const _rI = "resourceId";
|
|
447
467
|
const _rISD = "reportedIncidentStartDate";
|
|
468
|
+
const _rIe = "resultId";
|
|
448
469
|
const _rS = "relationshipStatus";
|
|
449
470
|
const _rT = "resourceType";
|
|
450
471
|
const _rTe = "resolverType";
|
|
451
472
|
const _rTel = "relationshipType";
|
|
452
473
|
const _re = "reason";
|
|
453
474
|
const _s = "server";
|
|
475
|
+
const _sA = "submittedAt";
|
|
454
476
|
const _sC = "serviceCode";
|
|
455
477
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.securityir";
|
|
478
|
+
const _st = "status";
|
|
456
479
|
const _t = "title";
|
|
457
480
|
const _tAIA = "threatActorIpAddresses";
|
|
458
481
|
const _tAIATA = "threatActorIpAddressesToAdd";
|
|
@@ -460,8 +483,10 @@ const _tAIATD = "threatActorIpAddressesToDelete";
|
|
|
460
483
|
const _tK = "tagKeys";
|
|
461
484
|
const _ta = "tags";
|
|
462
485
|
const _to = "total";
|
|
486
|
+
const _u = "usefulness";
|
|
463
487
|
const _uA = "userAgent";
|
|
464
488
|
const _uMC = "undoMembershipCancellation";
|
|
489
|
+
const _v = "value";
|
|
465
490
|
const _w = "watchers";
|
|
466
491
|
const _wTA = "watchersToAdd";
|
|
467
492
|
const _wTD = "watchersToDelete";
|
|
@@ -516,6 +541,7 @@ var CaseAttachmentAttributes = [
|
|
|
516
541
|
[0, [() => FileName, 0], 0, 0, 4],
|
|
517
542
|
];
|
|
518
543
|
var CaseEditItem = [3, n0, _CEI, 0, [_eT, _p, _a, _m], [4, 0, 0, 0]];
|
|
544
|
+
var CaseMetadataEntry = [3, n0, _CME, 0, [_k, _v], [0, 0]];
|
|
519
545
|
var CloseCaseRequest = [3, n0, _CCR, 0, [_cI], [[0, 1]]];
|
|
520
546
|
var CloseCaseResponse = [3, n0, _CCRl, 0, [_cS, _cDl], [0, 4]];
|
|
521
547
|
var ConflictException = [
|
|
@@ -601,7 +627,7 @@ var GetCaseResponse = [
|
|
|
601
627
|
n0,
|
|
602
628
|
_GCRe,
|
|
603
629
|
0,
|
|
604
|
-
[_t, _cA, _d, _cS, _eTn, _rISD, _aISD, _iAR, _tAIA, _pA, _iA, _w, _cD, _lUD, _cC, _rTe, _iS, _cAa, _cDl],
|
|
630
|
+
[_t, _cA, _d, _cS, _eTn, _rISD, _aISD, _iAR, _tAIA, _pA, _iA, _w, _cD, _lUD, _cC, _rTe, _iS, _cAa, _cDl, _cM],
|
|
605
631
|
[
|
|
606
632
|
[() => CaseTitle, 0],
|
|
607
633
|
0,
|
|
@@ -622,6 +648,7 @@ var GetCaseResponse = [
|
|
|
622
648
|
64 | 0,
|
|
623
649
|
[() => CaseAttachmentsList, 0],
|
|
624
650
|
4,
|
|
651
|
+
() => CaseMetadata,
|
|
625
652
|
],
|
|
626
653
|
];
|
|
627
654
|
var GetMembershipAccountDetailError = [3, n0, _GMADE, 0, [_aIc, _e, _m], [0, 0, 0]];
|
|
@@ -690,6 +717,15 @@ var InvalidTokenException = [
|
|
|
690
717
|
[0],
|
|
691
718
|
];
|
|
692
719
|
schema.TypeRegistry.for(n0).registerError(InvalidTokenException, InvalidTokenException$1);
|
|
720
|
+
var InvestigationAction = [
|
|
721
|
+
3,
|
|
722
|
+
n0,
|
|
723
|
+
_IA,
|
|
724
|
+
0,
|
|
725
|
+
[_iI, _aT, _t, _co, _st, _lU, _f],
|
|
726
|
+
[0, 0, 0, 0, 0, 4, () => InvestigationFeedback],
|
|
727
|
+
];
|
|
728
|
+
var InvestigationFeedback = [3, n0, _IF, 0, [_u, _com, _sA], [0, 0, 4]];
|
|
693
729
|
var ListCaseEditsRequest = [3, n0, _LCER, 0, [_nT, _mR, _cI], [0, 1, [0, 1]]];
|
|
694
730
|
var ListCaseEditsResponse = [
|
|
695
731
|
3,
|
|
@@ -733,6 +769,36 @@ var ListCommentsResponse = [
|
|
|
733
769
|
[_nT, _i, _to],
|
|
734
770
|
[0, [() => ListCommentsItems, 0], 1],
|
|
735
771
|
];
|
|
772
|
+
var ListInvestigationsRequest = [
|
|
773
|
+
3,
|
|
774
|
+
n0,
|
|
775
|
+
_LIR,
|
|
776
|
+
0,
|
|
777
|
+
[_nT, _mR, _cI],
|
|
778
|
+
[
|
|
779
|
+
[
|
|
780
|
+
0,
|
|
781
|
+
{
|
|
782
|
+
[_hQ]: _nT,
|
|
783
|
+
},
|
|
784
|
+
],
|
|
785
|
+
[
|
|
786
|
+
1,
|
|
787
|
+
{
|
|
788
|
+
[_hQ]: _mR,
|
|
789
|
+
},
|
|
790
|
+
],
|
|
791
|
+
[0, 1],
|
|
792
|
+
],
|
|
793
|
+
];
|
|
794
|
+
var ListInvestigationsResponse = [
|
|
795
|
+
3,
|
|
796
|
+
n0,
|
|
797
|
+
_LIRi,
|
|
798
|
+
0,
|
|
799
|
+
[_nT, _iAn],
|
|
800
|
+
[0, () => InvestigationActionList],
|
|
801
|
+
];
|
|
736
802
|
var ListMembershipItem = [3, n0, _LMI, 0, [_mI, _aIc, _r, _mA, _mS], [0, 0, 0, 0, 0]];
|
|
737
803
|
var ListMembershipsRequest = [3, n0, _LMR, 0, [_nT, _mR], [0, 1]];
|
|
738
804
|
var ListMembershipsResponse = [
|
|
@@ -779,6 +845,8 @@ var SecurityIncidentResponseNotActiveException = [
|
|
|
779
845
|
[0],
|
|
780
846
|
];
|
|
781
847
|
schema.TypeRegistry.for(n0).registerError(SecurityIncidentResponseNotActiveException, SecurityIncidentResponseNotActiveException$1);
|
|
848
|
+
var SendFeedbackRequest = [3, n0, _SFR, 0, [_cI, _rIe, _u, _com], [[0, 1], [0, 1], 0, 0]];
|
|
849
|
+
var SendFeedbackResponse = [3, n0, _SFRe, 0, [], []];
|
|
782
850
|
var ServiceQuotaExceededException = [
|
|
783
851
|
-3,
|
|
784
852
|
n0,
|
|
@@ -858,7 +926,7 @@ var UpdateCaseRequest = [
|
|
|
858
926
|
n0,
|
|
859
927
|
_UCR,
|
|
860
928
|
0,
|
|
861
|
-
[_cI, _t, _d, _rISD, _aISD, _eTn, _wTA, _wTD, _tAIATA, _tAIATD, _iSTA, _iSTD, _iARTA, _iARTD, _iATA, _iATD],
|
|
929
|
+
[_cI, _t, _d, _rISD, _aISD, _eTn, _wTA, _wTD, _tAIATA, _tAIATD, _iSTA, _iSTD, _iARTA, _iARTD, _iATA, _iATD, _cM],
|
|
862
930
|
[
|
|
863
931
|
[0, 1],
|
|
864
932
|
[() => CaseTitle, 0],
|
|
@@ -876,6 +944,7 @@ var UpdateCaseRequest = [
|
|
|
876
944
|
() => ImpactedAwsRegionList,
|
|
877
945
|
64 | 0,
|
|
878
946
|
64 | 0,
|
|
947
|
+
() => CaseMetadata,
|
|
879
948
|
],
|
|
880
949
|
];
|
|
881
950
|
var UpdateCaseResponse = [3, n0, _UCRp, 0, [], []];
|
|
@@ -928,6 +997,7 @@ var SecurityIRServiceException = [-3, _sm, "SecurityIRServiceException", 0, [],
|
|
|
928
997
|
schema.TypeRegistry.for(_sm).registerError(SecurityIRServiceException, SecurityIRServiceException$1);
|
|
929
998
|
var CaseAttachmentsList = [1, n0, _CAL, 0, [() => CaseAttachmentAttributes, 0]];
|
|
930
999
|
var CaseEditItems = [1, n0, _CEIa, 0, () => CaseEditItem];
|
|
1000
|
+
var CaseMetadata = [1, n0, _CM, 0, () => CaseMetadataEntry];
|
|
931
1001
|
var GetMembershipAccountDetailErrors = [
|
|
932
1002
|
1,
|
|
933
1003
|
n0,
|
|
@@ -944,6 +1014,7 @@ var GetMembershipAccountDetailItems = [
|
|
|
944
1014
|
];
|
|
945
1015
|
var ImpactedAwsRegionList = [1, n0, _IARL, 0, () => ImpactedAwsRegion];
|
|
946
1016
|
var IncidentResponseTeam = [1, n0, _IRT, 0, [() => IncidentResponder, 0]];
|
|
1017
|
+
var InvestigationActionList = [1, n0, _IAL, 0, () => InvestigationAction];
|
|
947
1018
|
var ListCasesItems = [1, n0, _LCIis, 0, [() => ListCasesItem, 0]];
|
|
948
1019
|
var ListCommentsItems = [1, n0, _LCIist, 0, [() => ListCommentsItem, 0]];
|
|
949
1020
|
var ListMembershipItems = [1, n0, _LMIi, 0, () => ListMembershipItem];
|
|
@@ -964,7 +1035,7 @@ var BatchGetMemberAccountDetails = [
|
|
|
964
1035
|
var CancelMembership = [
|
|
965
1036
|
9,
|
|
966
1037
|
n0,
|
|
967
|
-
|
|
1038
|
+
_CMa,
|
|
968
1039
|
{
|
|
969
1040
|
[_h]: ["PUT", "/v1/membership/{membershipId}", 200],
|
|
970
1041
|
},
|
|
@@ -1081,6 +1152,16 @@ var ListComments = [
|
|
|
1081
1152
|
() => ListCommentsRequest,
|
|
1082
1153
|
() => ListCommentsResponse,
|
|
1083
1154
|
];
|
|
1155
|
+
var ListInvestigations = [
|
|
1156
|
+
9,
|
|
1157
|
+
n0,
|
|
1158
|
+
_LI,
|
|
1159
|
+
{
|
|
1160
|
+
[_h]: ["GET", "/v1/cases/{caseId}/list-investigations", 200],
|
|
1161
|
+
},
|
|
1162
|
+
() => ListInvestigationsRequest,
|
|
1163
|
+
() => ListInvestigationsResponse,
|
|
1164
|
+
];
|
|
1084
1165
|
var ListMemberships = [
|
|
1085
1166
|
9,
|
|
1086
1167
|
n0,
|
|
@@ -1101,6 +1182,16 @@ var ListTagsForResource = [
|
|
|
1101
1182
|
() => ListTagsForResourceInput,
|
|
1102
1183
|
() => ListTagsForResourceOutput,
|
|
1103
1184
|
];
|
|
1185
|
+
var SendFeedback = [
|
|
1186
|
+
9,
|
|
1187
|
+
n0,
|
|
1188
|
+
_SF,
|
|
1189
|
+
{
|
|
1190
|
+
[_h]: ["POST", "/v1/cases/{caseId}/feedback/{resultId}/send-feedback", 200],
|
|
1191
|
+
},
|
|
1192
|
+
() => SendFeedbackRequest,
|
|
1193
|
+
() => SendFeedbackResponse,
|
|
1194
|
+
];
|
|
1104
1195
|
var TagResource = [
|
|
1105
1196
|
9,
|
|
1106
1197
|
n0,
|
|
@@ -1328,6 +1419,18 @@ class ListCommentsCommand extends smithyClient.Command
|
|
|
1328
1419
|
.build() {
|
|
1329
1420
|
}
|
|
1330
1421
|
|
|
1422
|
+
class ListInvestigationsCommand extends smithyClient.Command
|
|
1423
|
+
.classBuilder()
|
|
1424
|
+
.ep(commonParams)
|
|
1425
|
+
.m(function (Command, cs, config, o) {
|
|
1426
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1427
|
+
})
|
|
1428
|
+
.s("SecurityIncidentResponse", "ListInvestigations", {})
|
|
1429
|
+
.n("SecurityIRClient", "ListInvestigationsCommand")
|
|
1430
|
+
.sc(ListInvestigations)
|
|
1431
|
+
.build() {
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1331
1434
|
class ListMembershipsCommand extends smithyClient.Command
|
|
1332
1435
|
.classBuilder()
|
|
1333
1436
|
.ep(commonParams)
|
|
@@ -1352,6 +1455,18 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
1352
1455
|
.build() {
|
|
1353
1456
|
}
|
|
1354
1457
|
|
|
1458
|
+
class SendFeedbackCommand extends smithyClient.Command
|
|
1459
|
+
.classBuilder()
|
|
1460
|
+
.ep(commonParams)
|
|
1461
|
+
.m(function (Command, cs, config, o) {
|
|
1462
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1463
|
+
})
|
|
1464
|
+
.s("SecurityIncidentResponse", "SendFeedback", {})
|
|
1465
|
+
.n("SecurityIRClient", "SendFeedbackCommand")
|
|
1466
|
+
.sc(SendFeedback)
|
|
1467
|
+
.build() {
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1355
1470
|
class TagResourceCommand extends smithyClient.Command
|
|
1356
1471
|
.classBuilder()
|
|
1357
1472
|
.ep(commonParams)
|
|
@@ -1450,8 +1565,10 @@ const commands = {
|
|
|
1450
1565
|
ListCaseEditsCommand,
|
|
1451
1566
|
ListCasesCommand,
|
|
1452
1567
|
ListCommentsCommand,
|
|
1568
|
+
ListInvestigationsCommand,
|
|
1453
1569
|
ListMembershipsCommand,
|
|
1454
1570
|
ListTagsForResourceCommand,
|
|
1571
|
+
SendFeedbackCommand,
|
|
1455
1572
|
TagResourceCommand,
|
|
1456
1573
|
UntagResourceCommand,
|
|
1457
1574
|
UpdateCaseCommand,
|
|
@@ -1470,8 +1587,15 @@ const paginateListCases = core.createPaginator(SecurityIRClient, ListCasesComman
|
|
|
1470
1587
|
|
|
1471
1588
|
const paginateListComments = core.createPaginator(SecurityIRClient, ListCommentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1472
1589
|
|
|
1590
|
+
const paginateListInvestigations = core.createPaginator(SecurityIRClient, ListInvestigationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1591
|
+
|
|
1473
1592
|
const paginateListMemberships = core.createPaginator(SecurityIRClient, ListMembershipsCommand, "nextToken", "nextToken", "maxResults");
|
|
1474
1593
|
|
|
1594
|
+
const ActionType = {
|
|
1595
|
+
EVIDENCE_COLLECTION: "Evidence",
|
|
1596
|
+
INVESTIGATION_ANALYSIS: "Investigation",
|
|
1597
|
+
SUMMARIZATION: "Summarization",
|
|
1598
|
+
};
|
|
1475
1599
|
const AwsRegion = {
|
|
1476
1600
|
AF_SOUTH_1: "af-south-1",
|
|
1477
1601
|
AP_EAST_1: "ap-east-1",
|
|
@@ -1557,6 +1681,18 @@ const PendingAction = {
|
|
|
1557
1681
|
CUSTOMER: "Customer",
|
|
1558
1682
|
NONE: "None",
|
|
1559
1683
|
};
|
|
1684
|
+
const UsefulnessRating = {
|
|
1685
|
+
NOT_USEFUL: "NOT_USEFUL",
|
|
1686
|
+
USEFUL: "USEFUL",
|
|
1687
|
+
};
|
|
1688
|
+
const ExecutionStatus = {
|
|
1689
|
+
CANCELLED: "Cancelled",
|
|
1690
|
+
COMPLETED: "Completed",
|
|
1691
|
+
FAILED: "Failed",
|
|
1692
|
+
IN_PROGRESS: "InProgress",
|
|
1693
|
+
PENDING: "Pending",
|
|
1694
|
+
WAITING: "Waiting",
|
|
1695
|
+
};
|
|
1560
1696
|
const SelfManagedCaseStatus = {
|
|
1561
1697
|
CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
|
|
1562
1698
|
DETECTION_AND_ANALYSIS: "Detection and Analysis",
|
|
@@ -1603,6 +1739,7 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1603
1739
|
get: function () { return smithyClient.Client; }
|
|
1604
1740
|
});
|
|
1605
1741
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1742
|
+
exports.ActionType = ActionType;
|
|
1606
1743
|
exports.AwsRegion = AwsRegion;
|
|
1607
1744
|
exports.BatchGetMemberAccountDetailsCommand = BatchGetMemberAccountDetailsCommand;
|
|
1608
1745
|
exports.CancelMembershipCommand = CancelMembershipCommand;
|
|
@@ -1617,6 +1754,7 @@ exports.CreateCaseCommentCommand = CreateCaseCommentCommand;
|
|
|
1617
1754
|
exports.CreateMembershipCommand = CreateMembershipCommand;
|
|
1618
1755
|
exports.CustomerType = CustomerType;
|
|
1619
1756
|
exports.EngagementType = EngagementType;
|
|
1757
|
+
exports.ExecutionStatus = ExecutionStatus;
|
|
1620
1758
|
exports.GetCaseAttachmentDownloadUrlCommand = GetCaseAttachmentDownloadUrlCommand;
|
|
1621
1759
|
exports.GetCaseAttachmentUploadUrlCommand = GetCaseAttachmentUploadUrlCommand;
|
|
1622
1760
|
exports.GetCaseCommand = GetCaseCommand;
|
|
@@ -1626,6 +1764,7 @@ exports.InvalidTokenException = InvalidTokenException$1;
|
|
|
1626
1764
|
exports.ListCaseEditsCommand = ListCaseEditsCommand;
|
|
1627
1765
|
exports.ListCasesCommand = ListCasesCommand;
|
|
1628
1766
|
exports.ListCommentsCommand = ListCommentsCommand;
|
|
1767
|
+
exports.ListInvestigationsCommand = ListInvestigationsCommand;
|
|
1629
1768
|
exports.ListMembershipsCommand = ListMembershipsCommand;
|
|
1630
1769
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1631
1770
|
exports.MembershipAccountRelationshipStatus = MembershipAccountRelationshipStatus;
|
|
@@ -1640,6 +1779,7 @@ exports.SecurityIRClient = SecurityIRClient;
|
|
|
1640
1779
|
exports.SecurityIRServiceException = SecurityIRServiceException$1;
|
|
1641
1780
|
exports.SecurityIncidentResponseNotActiveException = SecurityIncidentResponseNotActiveException$1;
|
|
1642
1781
|
exports.SelfManagedCaseStatus = SelfManagedCaseStatus;
|
|
1782
|
+
exports.SendFeedbackCommand = SendFeedbackCommand;
|
|
1643
1783
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1644
1784
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1645
1785
|
exports.ThrottlingException = ThrottlingException$1;
|
|
@@ -1649,9 +1789,11 @@ exports.UpdateCaseCommentCommand = UpdateCaseCommentCommand;
|
|
|
1649
1789
|
exports.UpdateCaseStatusCommand = UpdateCaseStatusCommand;
|
|
1650
1790
|
exports.UpdateMembershipCommand = UpdateMembershipCommand;
|
|
1651
1791
|
exports.UpdateResolverTypeCommand = UpdateResolverTypeCommand;
|
|
1792
|
+
exports.UsefulnessRating = UsefulnessRating;
|
|
1652
1793
|
exports.ValidationException = ValidationException$1;
|
|
1653
1794
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1654
1795
|
exports.paginateListCaseEdits = paginateListCaseEdits;
|
|
1655
1796
|
exports.paginateListCases = paginateListCases;
|
|
1656
1797
|
exports.paginateListComments = paginateListComments;
|
|
1798
|
+
exports.paginateListInvestigations = paginateListInvestigations;
|
|
1657
1799
|
exports.paginateListMemberships = paginateListMemberships;
|
package/dist-es/SecurityIR.js
CHANGED
|
@@ -12,8 +12,10 @@ import { GetMembershipCommand, } from "./commands/GetMembershipCommand";
|
|
|
12
12
|
import { ListCaseEditsCommand, } from "./commands/ListCaseEditsCommand";
|
|
13
13
|
import { ListCasesCommand } from "./commands/ListCasesCommand";
|
|
14
14
|
import { ListCommentsCommand, } from "./commands/ListCommentsCommand";
|
|
15
|
+
import { ListInvestigationsCommand, } from "./commands/ListInvestigationsCommand";
|
|
15
16
|
import { ListMembershipsCommand, } from "./commands/ListMembershipsCommand";
|
|
16
17
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
18
|
+
import { SendFeedbackCommand, } from "./commands/SendFeedbackCommand";
|
|
17
19
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
18
20
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
19
21
|
import { UpdateCaseCommand } from "./commands/UpdateCaseCommand";
|
|
@@ -36,8 +38,10 @@ const commands = {
|
|
|
36
38
|
ListCaseEditsCommand,
|
|
37
39
|
ListCasesCommand,
|
|
38
40
|
ListCommentsCommand,
|
|
41
|
+
ListInvestigationsCommand,
|
|
39
42
|
ListMembershipsCommand,
|
|
40
43
|
ListTagsForResourceCommand,
|
|
44
|
+
SendFeedbackCommand,
|
|
41
45
|
TagResourceCommand,
|
|
42
46
|
UntagResourceCommand,
|
|
43
47
|
UpdateCaseCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListInvestigations } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListInvestigationsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("SecurityIncidentResponse", "ListInvestigations", {})
|
|
13
|
+
.n("SecurityIRClient", "ListInvestigationsCommand")
|
|
14
|
+
.sc(ListInvestigations)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { SendFeedback } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class SendFeedbackCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("SecurityIncidentResponse", "SendFeedback", {})
|
|
13
|
+
.n("SecurityIRClient", "SendFeedbackCommand")
|
|
14
|
+
.sc(SendFeedback)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -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";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export const ActionType = {
|
|
2
|
+
EVIDENCE_COLLECTION: "Evidence",
|
|
3
|
+
INVESTIGATION_ANALYSIS: "Investigation",
|
|
4
|
+
SUMMARIZATION: "Summarization",
|
|
5
|
+
};
|
|
1
6
|
export const AwsRegion = {
|
|
2
7
|
AF_SOUTH_1: "af-south-1",
|
|
3
8
|
AP_EAST_1: "ap-east-1",
|
|
@@ -83,6 +88,18 @@ export const PendingAction = {
|
|
|
83
88
|
CUSTOMER: "Customer",
|
|
84
89
|
NONE: "None",
|
|
85
90
|
};
|
|
91
|
+
export const UsefulnessRating = {
|
|
92
|
+
NOT_USEFUL: "NOT_USEFUL",
|
|
93
|
+
USEFUL: "USEFUL",
|
|
94
|
+
};
|
|
95
|
+
export const ExecutionStatus = {
|
|
96
|
+
CANCELLED: "Cancelled",
|
|
97
|
+
COMPLETED: "Completed",
|
|
98
|
+
FAILED: "Failed",
|
|
99
|
+
IN_PROGRESS: "InProgress",
|
|
100
|
+
PENDING: "Pending",
|
|
101
|
+
WAITING: "Waiting",
|
|
102
|
+
};
|
|
86
103
|
export const SelfManagedCaseStatus = {
|
|
87
104
|
CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
|
|
88
105
|
DETECTION_AND_ANALYSIS: "Detection and Analysis",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListInvestigationsCommand, } from "../commands/ListInvestigationsCommand";
|
|
3
|
+
import { SecurityIRClient } from "../SecurityIRClient";
|
|
4
|
+
export const paginateListInvestigations = createPaginator(SecurityIRClient, ListInvestigationsCommand, "nextToken", "nextToken", "maxResults");
|