list_cluster_alerts
async
¶
list_cluster_alerts(
cluster_id: __string,
*,
config_overrides: Optional[AsyncMediaLiveClientConfig] = 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/async_media_live.py
4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 | |