@Override
    public GetAlarmsResult getAlarms(GetAlarmsRequest request) {
        request = beforeClientExecution(request);
        return executeGetAlarms(request);
    }
<p>
Returns information about the configured alarms. Specify an alarm name in your request to return information
about a specific alarm, or specify a monitored resource name to return information about all alarms for a
specific resource.
</p>
<p>
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 <a href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms">Alarms
in Amazon Lightsail</a>.
</p>

@param getAlarmsRequest
@return Result of the GetAlarms operation returned by the service.
@throws ServiceException
        A general service exception.
@throws InvalidInputException
        Lightsail throws this exception when user input does not conform to the validation rules of an input
        field.</p> <note>
        <p>
        Domain and distribution APIs are only available in the N. Virginia (<code>us-east-1</code>) Amazon Web
        Services Region. Please set your Amazon Web Services Region configuration to <code>us-east-1</code> to
        create, view, or edit these resources.
        </p>
@throws OperationFailureException
        Lightsail throws this exception when an operation fails to execute.
@throws UnauthenticatedException
        Lightsail throws this exception when the user has not been authenticated.
@throws AccessDeniedException
        Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
        access a resource.
@throws NotFoundException
        Lightsail throws this exception when it cannot find a resource.
@sample AmazonLightsail.GetAlarms
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAlarms" target="_top">AWS API
     Documentation</a>
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/AmazonLightsailClient.java