@aws-sdk/client-detective 3.454.0 → 3.460.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 +64 -24
- package/dist-cjs/Detective.js +10 -0
- package/dist-cjs/commands/GetInvestigationCommand.js +51 -0
- package/dist-cjs/commands/ListIndicatorsCommand.js +51 -0
- package/dist-cjs/commands/ListInvestigationsCommand.js +51 -0
- package/dist-cjs/commands/StartInvestigationCommand.js +51 -0
- package/dist-cjs/commands/UpdateInvestigationStateCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +43 -1
- package/dist-cjs/protocols/Aws_restJson1.js +394 -1
- package/dist-es/Detective.js +10 -0
- package/dist-es/commands/GetInvestigationCommand.js +47 -0
- package/dist-es/commands/ListIndicatorsCommand.js +47 -0
- package/dist-es/commands/ListInvestigationsCommand.js +47 -0
- package/dist-es/commands/StartInvestigationCommand.js +47 -0
- package/dist-es/commands/UpdateInvestigationStateCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +42 -0
- package/dist-es/protocols/Aws_restJson1.js +382 -0
- package/dist-types/Detective.d.ts +35 -0
- package/dist-types/DetectiveClient.d.ts +7 -2
- package/dist-types/commands/CreateMembersCommand.d.ts +2 -2
- package/dist-types/commands/GetInvestigationCommand.d.ts +100 -0
- package/dist-types/commands/ListIndicatorsCommand.d.ts +144 -0
- package/dist-types/commands/ListInvestigationsCommand.d.ts +125 -0
- package/dist-types/commands/StartInvestigationCommand.d.ts +93 -0
- package/dist-types/commands/UpdateInvestigationStateCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +687 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Detective.d.ts +85 -0
- package/dist-types/ts3.4/DetectiveClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetInvestigationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListIndicatorsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListInvestigationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartInvestigationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateInvestigationStateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +186 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -283,7 +283,7 @@ see LICENSE for more information.
|
|
|
283
283
|
AcceptInvitation
|
|
284
284
|
</summary>
|
|
285
285
|
|
|
286
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
286
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/AcceptInvitationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/AcceptInvitationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/AcceptInvitationCommandOutput/)
|
|
287
287
|
|
|
288
288
|
</details>
|
|
289
289
|
<details>
|
|
@@ -291,7 +291,7 @@ AcceptInvitation
|
|
|
291
291
|
BatchGetGraphMemberDatasources
|
|
292
292
|
</summary>
|
|
293
293
|
|
|
294
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
294
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/BatchGetGraphMemberDatasourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/BatchGetGraphMemberDatasourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/BatchGetGraphMemberDatasourcesCommandOutput/)
|
|
295
295
|
|
|
296
296
|
</details>
|
|
297
297
|
<details>
|
|
@@ -299,7 +299,7 @@ BatchGetGraphMemberDatasources
|
|
|
299
299
|
BatchGetMembershipDatasources
|
|
300
300
|
</summary>
|
|
301
301
|
|
|
302
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
302
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/BatchGetMembershipDatasourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/BatchGetMembershipDatasourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/BatchGetMembershipDatasourcesCommandOutput/)
|
|
303
303
|
|
|
304
304
|
</details>
|
|
305
305
|
<details>
|
|
@@ -307,7 +307,7 @@ BatchGetMembershipDatasources
|
|
|
307
307
|
CreateGraph
|
|
308
308
|
</summary>
|
|
309
309
|
|
|
310
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
310
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/CreateGraphCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/CreateGraphCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/CreateGraphCommandOutput/)
|
|
311
311
|
|
|
312
312
|
</details>
|
|
313
313
|
<details>
|
|
@@ -315,7 +315,7 @@ CreateGraph
|
|
|
315
315
|
CreateMembers
|
|
316
316
|
</summary>
|
|
317
317
|
|
|
318
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
318
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/CreateMembersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/CreateMembersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/CreateMembersCommandOutput/)
|
|
319
319
|
|
|
320
320
|
</details>
|
|
321
321
|
<details>
|
|
@@ -323,7 +323,7 @@ CreateMembers
|
|
|
323
323
|
DeleteGraph
|
|
324
324
|
</summary>
|
|
325
325
|
|
|
326
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
326
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/DeleteGraphCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/DeleteGraphCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/DeleteGraphCommandOutput/)
|
|
327
327
|
|
|
328
328
|
</details>
|
|
329
329
|
<details>
|
|
@@ -331,7 +331,7 @@ DeleteGraph
|
|
|
331
331
|
DeleteMembers
|
|
332
332
|
</summary>
|
|
333
333
|
|
|
334
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
334
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/DeleteMembersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/DeleteMembersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/DeleteMembersCommandOutput/)
|
|
335
335
|
|
|
336
336
|
</details>
|
|
337
337
|
<details>
|
|
@@ -339,7 +339,7 @@ DeleteMembers
|
|
|
339
339
|
DescribeOrganizationConfiguration
|
|
340
340
|
</summary>
|
|
341
341
|
|
|
342
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
342
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/DescribeOrganizationConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/DescribeOrganizationConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/DescribeOrganizationConfigurationCommandOutput/)
|
|
343
343
|
|
|
344
344
|
</details>
|
|
345
345
|
<details>
|
|
@@ -347,7 +347,7 @@ DescribeOrganizationConfiguration
|
|
|
347
347
|
DisableOrganizationAdminAccount
|
|
348
348
|
</summary>
|
|
349
349
|
|
|
350
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
350
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/DisableOrganizationAdminAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/DisableOrganizationAdminAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/DisableOrganizationAdminAccountCommandOutput/)
|
|
351
351
|
|
|
352
352
|
</details>
|
|
353
353
|
<details>
|
|
@@ -355,7 +355,7 @@ DisableOrganizationAdminAccount
|
|
|
355
355
|
DisassociateMembership
|
|
356
356
|
</summary>
|
|
357
357
|
|
|
358
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
358
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/DisassociateMembershipCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/DisassociateMembershipCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/DisassociateMembershipCommandOutput/)
|
|
359
359
|
|
|
360
360
|
</details>
|
|
361
361
|
<details>
|
|
@@ -363,7 +363,15 @@ DisassociateMembership
|
|
|
363
363
|
EnableOrganizationAdminAccount
|
|
364
364
|
</summary>
|
|
365
365
|
|
|
366
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
366
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/EnableOrganizationAdminAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/EnableOrganizationAdminAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/EnableOrganizationAdminAccountCommandOutput/)
|
|
367
|
+
|
|
368
|
+
</details>
|
|
369
|
+
<details>
|
|
370
|
+
<summary>
|
|
371
|
+
GetInvestigation
|
|
372
|
+
</summary>
|
|
373
|
+
|
|
374
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/GetInvestigationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/GetInvestigationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/GetInvestigationCommandOutput/)
|
|
367
375
|
|
|
368
376
|
</details>
|
|
369
377
|
<details>
|
|
@@ -371,7 +379,7 @@ EnableOrganizationAdminAccount
|
|
|
371
379
|
GetMembers
|
|
372
380
|
</summary>
|
|
373
381
|
|
|
374
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
382
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/GetMembersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/GetMembersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/GetMembersCommandOutput/)
|
|
375
383
|
|
|
376
384
|
</details>
|
|
377
385
|
<details>
|
|
@@ -379,7 +387,7 @@ GetMembers
|
|
|
379
387
|
ListDatasourcePackages
|
|
380
388
|
</summary>
|
|
381
389
|
|
|
382
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
390
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/ListDatasourcePackagesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListDatasourcePackagesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListDatasourcePackagesCommandOutput/)
|
|
383
391
|
|
|
384
392
|
</details>
|
|
385
393
|
<details>
|
|
@@ -387,7 +395,23 @@ ListDatasourcePackages
|
|
|
387
395
|
ListGraphs
|
|
388
396
|
</summary>
|
|
389
397
|
|
|
390
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
398
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/ListGraphsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListGraphsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListGraphsCommandOutput/)
|
|
399
|
+
|
|
400
|
+
</details>
|
|
401
|
+
<details>
|
|
402
|
+
<summary>
|
|
403
|
+
ListIndicators
|
|
404
|
+
</summary>
|
|
405
|
+
|
|
406
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/ListIndicatorsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListIndicatorsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListIndicatorsCommandOutput/)
|
|
407
|
+
|
|
408
|
+
</details>
|
|
409
|
+
<details>
|
|
410
|
+
<summary>
|
|
411
|
+
ListInvestigations
|
|
412
|
+
</summary>
|
|
413
|
+
|
|
414
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/ListInvestigationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListInvestigationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListInvestigationsCommandOutput/)
|
|
391
415
|
|
|
392
416
|
</details>
|
|
393
417
|
<details>
|
|
@@ -395,7 +419,7 @@ ListGraphs
|
|
|
395
419
|
ListInvitations
|
|
396
420
|
</summary>
|
|
397
421
|
|
|
398
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
422
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/ListInvitationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListInvitationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListInvitationsCommandOutput/)
|
|
399
423
|
|
|
400
424
|
</details>
|
|
401
425
|
<details>
|
|
@@ -403,7 +427,7 @@ ListInvitations
|
|
|
403
427
|
ListMembers
|
|
404
428
|
</summary>
|
|
405
429
|
|
|
406
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
430
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/ListMembersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListMembersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListMembersCommandOutput/)
|
|
407
431
|
|
|
408
432
|
</details>
|
|
409
433
|
<details>
|
|
@@ -411,7 +435,7 @@ ListMembers
|
|
|
411
435
|
ListOrganizationAdminAccounts
|
|
412
436
|
</summary>
|
|
413
437
|
|
|
414
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
438
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/ListOrganizationAdminAccountsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListOrganizationAdminAccountsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListOrganizationAdminAccountsCommandOutput/)
|
|
415
439
|
|
|
416
440
|
</details>
|
|
417
441
|
<details>
|
|
@@ -419,7 +443,7 @@ ListOrganizationAdminAccounts
|
|
|
419
443
|
ListTagsForResource
|
|
420
444
|
</summary>
|
|
421
445
|
|
|
422
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
446
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/ListTagsForResourceCommandOutput/)
|
|
423
447
|
|
|
424
448
|
</details>
|
|
425
449
|
<details>
|
|
@@ -427,7 +451,15 @@ ListTagsForResource
|
|
|
427
451
|
RejectInvitation
|
|
428
452
|
</summary>
|
|
429
453
|
|
|
430
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
454
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/RejectInvitationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/RejectInvitationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/RejectInvitationCommandOutput/)
|
|
455
|
+
|
|
456
|
+
</details>
|
|
457
|
+
<details>
|
|
458
|
+
<summary>
|
|
459
|
+
StartInvestigation
|
|
460
|
+
</summary>
|
|
461
|
+
|
|
462
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/StartInvestigationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/StartInvestigationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/StartInvestigationCommandOutput/)
|
|
431
463
|
|
|
432
464
|
</details>
|
|
433
465
|
<details>
|
|
@@ -435,7 +467,7 @@ RejectInvitation
|
|
|
435
467
|
StartMonitoringMember
|
|
436
468
|
</summary>
|
|
437
469
|
|
|
438
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
470
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/StartMonitoringMemberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/StartMonitoringMemberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/StartMonitoringMemberCommandOutput/)
|
|
439
471
|
|
|
440
472
|
</details>
|
|
441
473
|
<details>
|
|
@@ -443,7 +475,7 @@ StartMonitoringMember
|
|
|
443
475
|
TagResource
|
|
444
476
|
</summary>
|
|
445
477
|
|
|
446
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
478
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/TagResourceCommandOutput/)
|
|
447
479
|
|
|
448
480
|
</details>
|
|
449
481
|
<details>
|
|
@@ -451,7 +483,7 @@ TagResource
|
|
|
451
483
|
UntagResource
|
|
452
484
|
</summary>
|
|
453
485
|
|
|
454
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
486
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/UntagResourceCommandOutput/)
|
|
455
487
|
|
|
456
488
|
</details>
|
|
457
489
|
<details>
|
|
@@ -459,7 +491,15 @@ UntagResource
|
|
|
459
491
|
UpdateDatasourcePackages
|
|
460
492
|
</summary>
|
|
461
493
|
|
|
462
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
494
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/UpdateDatasourcePackagesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/UpdateDatasourcePackagesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/UpdateDatasourcePackagesCommandOutput/)
|
|
495
|
+
|
|
496
|
+
</details>
|
|
497
|
+
<details>
|
|
498
|
+
<summary>
|
|
499
|
+
UpdateInvestigationState
|
|
500
|
+
</summary>
|
|
501
|
+
|
|
502
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/UpdateInvestigationStateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/UpdateInvestigationStateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/UpdateInvestigationStateCommandOutput/)
|
|
463
503
|
|
|
464
504
|
</details>
|
|
465
505
|
<details>
|
|
@@ -467,6 +507,6 @@ UpdateDatasourcePackages
|
|
|
467
507
|
UpdateOrganizationConfiguration
|
|
468
508
|
</summary>
|
|
469
509
|
|
|
470
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
510
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/detective/command/UpdateOrganizationConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/UpdateOrganizationConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-detective/Interface/UpdateOrganizationConfigurationCommandOutput/)
|
|
471
511
|
|
|
472
512
|
</details>
|
package/dist-cjs/Detective.js
CHANGED
|
@@ -13,18 +13,23 @@ const DescribeOrganizationConfigurationCommand_1 = require("./commands/DescribeO
|
|
|
13
13
|
const DisableOrganizationAdminAccountCommand_1 = require("./commands/DisableOrganizationAdminAccountCommand");
|
|
14
14
|
const DisassociateMembershipCommand_1 = require("./commands/DisassociateMembershipCommand");
|
|
15
15
|
const EnableOrganizationAdminAccountCommand_1 = require("./commands/EnableOrganizationAdminAccountCommand");
|
|
16
|
+
const GetInvestigationCommand_1 = require("./commands/GetInvestigationCommand");
|
|
16
17
|
const GetMembersCommand_1 = require("./commands/GetMembersCommand");
|
|
17
18
|
const ListDatasourcePackagesCommand_1 = require("./commands/ListDatasourcePackagesCommand");
|
|
18
19
|
const ListGraphsCommand_1 = require("./commands/ListGraphsCommand");
|
|
20
|
+
const ListIndicatorsCommand_1 = require("./commands/ListIndicatorsCommand");
|
|
21
|
+
const ListInvestigationsCommand_1 = require("./commands/ListInvestigationsCommand");
|
|
19
22
|
const ListInvitationsCommand_1 = require("./commands/ListInvitationsCommand");
|
|
20
23
|
const ListMembersCommand_1 = require("./commands/ListMembersCommand");
|
|
21
24
|
const ListOrganizationAdminAccountsCommand_1 = require("./commands/ListOrganizationAdminAccountsCommand");
|
|
22
25
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
23
26
|
const RejectInvitationCommand_1 = require("./commands/RejectInvitationCommand");
|
|
27
|
+
const StartInvestigationCommand_1 = require("./commands/StartInvestigationCommand");
|
|
24
28
|
const StartMonitoringMemberCommand_1 = require("./commands/StartMonitoringMemberCommand");
|
|
25
29
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
26
30
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
27
31
|
const UpdateDatasourcePackagesCommand_1 = require("./commands/UpdateDatasourcePackagesCommand");
|
|
32
|
+
const UpdateInvestigationStateCommand_1 = require("./commands/UpdateInvestigationStateCommand");
|
|
28
33
|
const UpdateOrganizationConfigurationCommand_1 = require("./commands/UpdateOrganizationConfigurationCommand");
|
|
29
34
|
const DetectiveClient_1 = require("./DetectiveClient");
|
|
30
35
|
const commands = {
|
|
@@ -39,18 +44,23 @@ const commands = {
|
|
|
39
44
|
DisableOrganizationAdminAccountCommand: DisableOrganizationAdminAccountCommand_1.DisableOrganizationAdminAccountCommand,
|
|
40
45
|
DisassociateMembershipCommand: DisassociateMembershipCommand_1.DisassociateMembershipCommand,
|
|
41
46
|
EnableOrganizationAdminAccountCommand: EnableOrganizationAdminAccountCommand_1.EnableOrganizationAdminAccountCommand,
|
|
47
|
+
GetInvestigationCommand: GetInvestigationCommand_1.GetInvestigationCommand,
|
|
42
48
|
GetMembersCommand: GetMembersCommand_1.GetMembersCommand,
|
|
43
49
|
ListDatasourcePackagesCommand: ListDatasourcePackagesCommand_1.ListDatasourcePackagesCommand,
|
|
44
50
|
ListGraphsCommand: ListGraphsCommand_1.ListGraphsCommand,
|
|
51
|
+
ListIndicatorsCommand: ListIndicatorsCommand_1.ListIndicatorsCommand,
|
|
52
|
+
ListInvestigationsCommand: ListInvestigationsCommand_1.ListInvestigationsCommand,
|
|
45
53
|
ListInvitationsCommand: ListInvitationsCommand_1.ListInvitationsCommand,
|
|
46
54
|
ListMembersCommand: ListMembersCommand_1.ListMembersCommand,
|
|
47
55
|
ListOrganizationAdminAccountsCommand: ListOrganizationAdminAccountsCommand_1.ListOrganizationAdminAccountsCommand,
|
|
48
56
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
49
57
|
RejectInvitationCommand: RejectInvitationCommand_1.RejectInvitationCommand,
|
|
58
|
+
StartInvestigationCommand: StartInvestigationCommand_1.StartInvestigationCommand,
|
|
50
59
|
StartMonitoringMemberCommand: StartMonitoringMemberCommand_1.StartMonitoringMemberCommand,
|
|
51
60
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
52
61
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
53
62
|
UpdateDatasourcePackagesCommand: UpdateDatasourcePackagesCommand_1.UpdateDatasourcePackagesCommand,
|
|
63
|
+
UpdateInvestigationStateCommand: UpdateInvestigationStateCommand_1.UpdateInvestigationStateCommand,
|
|
54
64
|
UpdateOrganizationConfigurationCommand: UpdateOrganizationConfigurationCommand_1.UpdateOrganizationConfigurationCommand,
|
|
55
65
|
};
|
|
56
66
|
class Detective extends DetectiveClient_1.DetectiveClient {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetInvestigationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetInvestigationCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetInvestigationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "DetectiveClient";
|
|
29
|
+
const commandName = "GetInvestigationCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonDetective",
|
|
38
|
+
operation: "GetInvestigation",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetInvestigationCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetInvestigationCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetInvestigationCommand = GetInvestigationCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListIndicatorsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListIndicatorsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListIndicatorsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "DetectiveClient";
|
|
29
|
+
const commandName = "ListIndicatorsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonDetective",
|
|
38
|
+
operation: "ListIndicators",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListIndicatorsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListIndicatorsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListIndicatorsCommand = ListIndicatorsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListInvestigationsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListInvestigationsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListInvestigationsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "DetectiveClient";
|
|
29
|
+
const commandName = "ListInvestigationsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonDetective",
|
|
38
|
+
operation: "ListInvestigations",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListInvestigationsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListInvestigationsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListInvestigationsCommand = ListInvestigationsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartInvestigationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class StartInvestigationCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartInvestigationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "DetectiveClient";
|
|
29
|
+
const commandName = "StartInvestigationCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonDetective",
|
|
38
|
+
operation: "StartInvestigation",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_StartInvestigationCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_StartInvestigationCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.StartInvestigationCommand = StartInvestigationCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateInvestigationStateCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class UpdateInvestigationStateCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateInvestigationStateCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "DetectiveClient";
|
|
29
|
+
const commandName = "UpdateInvestigationStateCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonDetective",
|
|
38
|
+
operation: "UpdateInvestigationState",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_UpdateInvestigationStateCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_UpdateInvestigationStateCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateInvestigationStateCommand = UpdateInvestigationStateCommand;
|
|
@@ -12,16 +12,21 @@ tslib_1.__exportStar(require("./DescribeOrganizationConfigurationCommand"), expo
|
|
|
12
12
|
tslib_1.__exportStar(require("./DisableOrganizationAdminAccountCommand"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./DisassociateMembershipCommand"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./EnableOrganizationAdminAccountCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetInvestigationCommand"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./GetMembersCommand"), exports);
|
|
16
17
|
tslib_1.__exportStar(require("./ListDatasourcePackagesCommand"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./ListGraphsCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./ListIndicatorsCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ListInvestigationsCommand"), exports);
|
|
18
21
|
tslib_1.__exportStar(require("./ListInvitationsCommand"), exports);
|
|
19
22
|
tslib_1.__exportStar(require("./ListMembersCommand"), exports);
|
|
20
23
|
tslib_1.__exportStar(require("./ListOrganizationAdminAccountsCommand"), exports);
|
|
21
24
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
22
25
|
tslib_1.__exportStar(require("./RejectInvitationCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./StartInvestigationCommand"), exports);
|
|
23
27
|
tslib_1.__exportStar(require("./StartMonitoringMemberCommand"), exports);
|
|
24
28
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
25
29
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
26
30
|
tslib_1.__exportStar(require("./UpdateDatasourcePackagesCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./UpdateInvestigationStateCommand"), exports);
|
|
27
32
|
tslib_1.__exportStar(require("./UpdateOrganizationConfigurationCommand"), exports);
|