list_actor_messages
¶
list_actor_messages(
agent_space_id: str,
pentest_id: str,
actor_identifier: str,
*,
config_overrides: Optional[SecurityAgentClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListActorMessagesOutput
Returns a paginated list of the email MFA messages received for an actor at its server-generated email address, most recent first.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call.
-
next_token(Optional[NextToken], default:None) –A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
-
agent_space_id(str) –The unique identifier of the agent space that owns the pentest.
-
pentest_id(str) –The unique identifier of the pentest that the actor belongs to.
-
actor_identifier(str) –The identifier of the actor whose messages to list. The identifier is case-insensitive.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_securityagent/_services/security_agent.py
2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 | |