Smaws_Client_Lightsail.TestAlarm
val request :
Smaws_Lib.Context.t ->
test_alarm_request ->
(test_alarm_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of access_denied_exception
| `InvalidInputException of invalid_input_exception
| `NotFoundException of not_found_exception
| `OperationFailureException of operation_failure_exception
| `ServiceException of service_exception
| `UnauthenticatedException of unauthenticated_exception ])
Stdlib.result
Tests an alarm by displaying a banner on the Amazon Lightsail console. If a notification trigger is configured for the specified alarm, the test also sends a notification to the notification protocol (Email
and/or SMS
) configured for the alarm.
An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.