list_pentest_jobs_for_pentest
async
¶
list_pentest_jobs_for_pentest(
pentest_id: str,
agent_space_id: str,
*,
config_overrides: Optional[AsyncSecurityAgentClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
job_type: Optional[JobType] = None,
) -> ListPentestJobsForPentestOutput
Returns a paginated list of pentest job summaries for the specified pentest configuration.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call.
-
pentest_id(str) –The unique identifier of the pentest to list jobs for.
-
agent_space_id(str) –The unique identifier of the agent space.
-
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.
-
job_type(Optional[JobType], default:None) –Filters the returned pentest jobs to only those of the specified job type.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.