list_triggers
async
¶
list_triggers(
agent_space_id: AgentSpaceIdentifier,
*,
config_overrides: Optional[AsyncDevOpsAgentClientConfig] = None,
status: Optional[TriggerStatus] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[int] = None,
) -> ListTriggersResponse
Lists Triggers in the specified agent space
Parameters:
-
agent_space_id(AgentSpaceIdentifier) –The unique identifier for the agent space whose Triggers should be listed
-
status(Optional[TriggerStatus], default:None) –Filter results to Triggers in this status
-
next_token(Optional[NextToken], default:None) –Pagination token from a previous response to retrieve the next page of results
-
max_results(Optional[int], default:None) –The maximum number of results to return in a single response
Raises:
-
AccessDeniedException–Access to the requested resource is denied due to insufficient permissions.
-
ConflictException–The request conflicts with the current state of the resource.
-
ContentSizeExceededException–This exception is thrown when the content size exceeds the allowed limit.
-
InternalServerException–This exception is thrown when an unexpected error occurs in the processing of a request.
-
InvalidParameterException–One or more parameters provided in the request are invalid.
-
ResourceNotFoundException–The requested resource could not be found.
-
ServiceQuotaExceededException–The request would exceed the service quota limit.
-
ThrottlingException–The request was throttled due to too many requests. Please slow down and try again.
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_devops_agent/_services/async_dev_ops_agent.py
2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 | |