Amazon Lightsail Alarms API

The Alarms API from Amazon Lightsail — 4 operation(s) for alarms.

Business capability
IT Operations Management BC-600.40

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

DELETE /ls/api/2016-11-28/DeleteAlarm/{alarmName} Delete a metric alarm · Deletes an alarm #
Ask an LLM
“How do I get rid of an alarm I no longer need?”
“Will deleting an alarm stop its email and SMS notifications?”
Tell an agent destructive · confirm first
Delete the alarm {alarmName}.
Remove alarm {alarmName} from my Lightsail account.
GET /ls/api/2016-11-28/GetAlarms List configured metric alarms · Returns information about the configured alarms #
Ask an LLM
“Which alarms are set up on my Lightsail resources?”
“Can I see only the alarms watching one particular instance?”
Tell an agent
List all my alarms.
Show the alarms monitoring {monitoredResourceName}.
POST /ls/api/2016-11-28/PutAlarm Create or update a metric alarm · Creates or updates an alarm, and associates it with the specified metric #
Ask an LLM
“How do I get alerted when my instance CPU goes over 80%?”
“Can one alarm notify me by both email and SMS?”
Tell an agent
Create alarm {alarmName} on {monitoredResourceName} when {metricName} is {comparisonOperator} {threshold} for {evaluationPeriods} periods.
Update alarm {alarmName} to notify me via {contactProtocols}.
GET /ls/api/2016-11-28/TestAlarm/{alarmName} Test an alarm's notifications · Tests an alarm by displaying a banner on the Amazon Lightsail console #
Ask an LLM
“How can I check that an alarm actually sends me a notification?”
“Can I simulate an alarm going into ALARM state without a real spike?”
Tell an agent
Test alarm {alarmName} in the {state} state.
Fire a test notification for {alarmName} as if it were {state}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-lightsail:amazon-lightsail-alarms-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-lightsail-alarms-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon Lightsail Alarms API
  description: Amazon Lightsail is the easiest way to get started with Amazon Web Services (AWS) for developers who need to build websites or web applications.
  version: '2016-11-28'
  contact:
    name: AWS Support
    url: https://aws.amazon.com/premiumsupport/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  x-logo:
    url: https://a0.awsstatic.com/libra-css/images/logos/aws_logo_smile_1200x630.png
  x-generated-from: AWS Smithy 2.0 service model (https://github.com/aws/api-models-aws) — mechanical transform, no hand-authored operations
servers:
- url: https://lightsail.us-east-1.amazonaws.com
  description: Amazon Lightsail regional endpoint (us-east-1). Lightsail is regional — one endpoint per AWS Region, lightsail.{region}.amazonaws.com (IPv4) or lightsail.{region}.api.aws (dual-stack). See https://docs.aws.amazon.com/general/latest/gr/lightsail.html
security:
- sigv4: []
tags:


# --- truncated at 32 KB (39 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/amazon-lightsail/refs/heads/main/openapi/amazon-lightsail-alarms-api-openapi.yml