list_cluster_alerts
¶
list_cluster_alerts(
cluster_id: __string,
*,
config_overrides: Optional[MediaLiveClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[__string] = None,
state_filter: Optional[__string] = None,
) -> ListClusterAlertsResponse
List the alerts for a cluster with optional filtering based on alert state.
Parameters:
-
cluster_id(__string) –The unique ID of the cluster
-
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
4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 | |