list_alerts
¶
list_alerts(
channel_id: __string,
*,
config_overrides: Optional[MediaLiveClientConfig] = 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/media_live.py
4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 | |