Amazon Lightsail Account API

The Account API from Amazon Lightsail — 14 operation(s) for account.

Operations 14

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

POST /ls/api/2016-11-28/CreateCloudFormationStack Create an EC2 instance from an exported snapshot · Creates an AWS CloudFormation stack, which creates a new Amazon EC2 instance… #
Ask an LLM
“How do I turn an exported Lightsail snapshot into a full EC2 instance?”
“Can a CloudFormation stack launch EC2 from a snapshot I exported to EC2?”
Tell an agent
Create a CloudFormation stack that launches EC2 instances from {instances}.
Spin up an EC2 instance from my exported Lightsail snapshot using {instances}.
POST /ls/api/2016-11-28/DeleteKnownHostKeys Reset browser SSH/RDP known host keys · Deletes the known host key or certificate used by the Amazon Lightsail… #
Ask an LLM
“The browser SSH client says the host key changed — how can I clear the saved key?”
“Can I delete the known host key the browser-based RDP client stored for my instance?”
Tell an agent destructive · confirm first
Delete the known host keys the browser SSH client saved for {instanceName}.
Clear the cached host key certificate for {instanceName} so the browser client trusts it again.
POST /ls/api/2016-11-28/DisableAddOn Turn off an add-on such as automatic snapshots · Disables an add-on for an Amazon Lightsail resource #
Ask an LLM
“How do I switch off automatic snapshots on an instance or disk?”
“Can I disable an add-on without deleting the resource it's on?”
Tell an agent
Disable the {addOnType} add-on on {resourceName}.
Stop automatic snapshots for {resourceName}.
POST /ls/api/2016-11-28/EnableAddOn Enable or change an add-on on a resource · Enables or modifies an add-on for an Amazon Lightsail resource #
Ask an LLM
“How can I turn on automatic daily snapshots for my Lightsail instance?”
“Can I change the snapshot time of an add-on that's already enabled?”
Tell an agent
Enable the add-on {addOnRequest} on {resourceName}.
Turn on automatic snapshots for {resourceName} with settings {addOnRequest}.
POST /ls/api/2016-11-28/GetActiveNames List names of all active resources · Returns the names of all active (not deleted) resources #
Ask an LLM
“What resource names are currently in use in my Lightsail account?”
“Is there a quick way to get just the names of every resource that isn't deleted?”
Tell an agent
List the names of all my active Lightsail resources.
Get the next page of active resource names using token {pageToken}.
POST /ls/api/2016-11-28/GetCloudFormationStackRecords List CloudFormation stack records from exports · Returns the CloudFormation stack record created as a result of the create cloud… #
Ask an LLM
“Where can I see the CloudFormation stacks created when I moved snapshots to EC2?”
“What's the status of the stack records from my create-CloudFormation-stack requests?”
Tell an agent
Show my CloudFormation stack records.
Fetch more CloudFormation stack records starting at {pageToken}.
GET /ls/api/2016-11-28/GetProfile Get my Lightsail account profile · Returns information about the profile of the Amazon Lightsail account that… #
Ask an LLM
“What does my Lightsail account profile look like?”
“Can I check the account-level status and details of the account making calls?”
Tell an agent
Get my Lightsail account profile.
Show the profile details of the account I'm calling with.
POST /ls/api/2016-11-28/IsVpcPeered Check whether the Lightsail VPC is peered · Returns a Boolean value indicating whether your Lightsail VPC is peered #
Ask an LLM
“Is my Lightsail VPC peered with my default VPC?”
“How can I tell if VPC peering is already turned on?”
Tell an agent
Check whether my Lightsail VPC is peered.
Tell me if VPC peering is enabled for this region.
POST /ls/api/2016-11-28/PeerVpc Peer the Lightsail VPC with the default VPC · Peers the Lightsail VPC with the user's default VPC #
Ask an LLM
“How do I let Lightsail resources talk to my other AWS resources in the default VPC?”
“Can I peer the Lightsail VPC with my account's default VPC?”
Tell an agent
Peer my Lightsail VPC with my default VPC.
Turn on VPC peering between Lightsail and my default VPC.
POST /ls/api/2016-11-28/SetIpAddressType Switch a resource between IPv4, dual-stack or IPv6 · Sets the IP address type for an Amazon Lightsail resource #
Ask an LLM
“How do I make my instance dual-stack so it gets an IPv6 address?”
“Can I switch a load balancer or distribution to IPv6-only?”
Tell an agent
Set the IP address type of {resourceType} {resourceName} to {ipAddressType}.
Change {resourceName} ({resourceType}) to {ipAddressType} and accept the bundle update {acceptBundleUpdate}.
POST /ls/api/2016-11-28/UnpeerVpc Remove peering with the default VPC · Unpeers the Lightsail VPC from the user's default VPC #
Ask an LLM
“How do I undo VPC peering between Lightsail and my default VPC?”
“Can I disconnect the Lightsail VPC from the default VPC?”
Tell an agent destructive · confirm first
Unpeer my Lightsail VPC from the default VPC.
Turn off VPC peering for Lightsail.
POST /ls/api/2016-11-28/create-gui-session-access-details Get URLs to open a GUI desktop session · Creates two URLs that are used to access a virtual computer’s graphical user… #
Ask an LLM
“How do I get the URLs to open the graphical desktop of my virtual computer?”
“What do I need to connect to a DCV GUI session in the browser?”
Tell an agent
Create GUI session access URLs for {resourceName}.
Generate the desktop session links for virtual computer {resourceName}.
POST /ls/api/2016-11-28/start-gui-session Start a GUI desktop session · Initiates a graphical user interface (GUI) session that’s used to access a… #
Ask an LLM
“How can I start a graphical desktop session on my virtual computer?”
“Can I launch the DCV session for an instance before connecting?”
Tell an agent
Start a GUI session on {resourceName}.
Initiate the graphical desktop session for virtual computer {resourceName}.
POST /ls/api/2016-11-28/stop-gui-session End a GUI desktop session · Terminates a web-based Amazon DCV session that’s used to access a virtual… #
Ask an LLM
“How do I terminate a running DCV desktop session?”
“Can I end someone's browser GUI session on a virtual computer?”
Tell an agent destructive · confirm first
Stop the GUI session on {resourceName}.
Terminate the web desktop session for virtual computer {resourceName}.

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-account-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-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon Lightsail Account 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 (65 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/amazon-lightsail/refs/heads/main/openapi/amazon-lightsail-account-api-openapi.yml