list_alerts
async
¶
list_alerts(
channel_id: __string,
*,
config_overrides: Optional[AsyncMediaLiveClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[__string] = None,
state_filter: Optional[__string] = None,
) -> ListAlertsResponse
List the alerts for a channel with optional filtering based on alert state.
Parameters:
-
channel_id(__string) –The unique ID of the channel
-
max_results(Optional[MaxResults], default:None) –The maximum number of items to return
-
next_token(Optional[__string], default:None) –The next pagination token
-
state_filter(Optional[__string], default:None) –Specifies the set of alerts to return based on their state. SET - Return only alerts with SET state. CLEARED - Return only alerts with CLEARED state. ALL - Return all alerts.
Raises:
-
BadGatewayException–Placeholder documentation for BadGatewayException
-
BadRequestException–Placeholder documentation for BadRequestException
-
ForbiddenException–Placeholder documentation for ForbiddenException
-
GatewayTimeoutException–Placeholder documentation for GatewayTimeoutException
-
InternalServerErrorException–Placeholder documentation for InternalServerErrorException
-
NotFoundException–Placeholder documentation for NotFoundException
-
TooManyRequestsException–Placeholder documentation for TooManyRequestsException
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_medialive/_services/async_media_live.py
4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 | |