Amazon Lightsail Buckets API

The Buckets API from Amazon Lightsail — 11 operation(s) for buckets.

Business capability
IT Infrastructure Management BC-600.50

Operations 11

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/CreateBucket Create an object storage bucket · Creates an Amazon Lightsail bucket #
Ask an LLM
“How do I create a Lightsail bucket to store files and images?”
“Can I turn on object versioning when I create the bucket?”
Tell an agent
Create bucket {bucketName} on the {bundleId} plan.
Create bucket {bucketName} with plan {bundleId} and versioning {enableObjectVersioning}.
POST /ls/api/2016-11-28/CreateBucketAccessKey Create an access key for a bucket · Creates a new access key for the specified Amazon Lightsail bucket #
Ask an LLM
“How do I get programmatic credentials for a single bucket?”
“How many access keys can one bucket have?”
Tell an agent
Create a new access key for bucket {bucketName}.
Generate an access key ID and secret for {bucketName}.
POST /ls/api/2016-11-28/DeleteBucket Delete a storage bucket · Deletes a Amazon Lightsail bucket #
Ask an LLM
“How do I delete a bucket that still has objects in it?”
“Is the bucket name released for reuse after I delete it?”
Tell an agent destructive · confirm first
Delete bucket {bucketName}.
Delete bucket {bucketName} even if it isn't empty (force {forceDelete}).
POST /ls/api/2016-11-28/DeleteBucketAccessKey Revoke a bucket access key · Deletes an access key for the specified Amazon Lightsail bucket #
Ask an LLM
“My bucket secret key leaked — how do I revoke that access key?”
“Can I delete one of the two access keys on a bucket?”
Tell an agent destructive · confirm first
Delete access key {accessKeyId} from bucket {bucketName}.
Revoke the compromised key {accessKeyId} on {bucketName}.
POST /ls/api/2016-11-28/GetBucketAccessKeys List a bucket's access key IDs · Returns the existing access key IDs for the specified Amazon Lightsail bucket #
Ask an LLM
“Which access keys exist for my bucket?”
“Can I retrieve a bucket secret access key again after creating it?”
Tell an agent
List the access keys for bucket {bucketName}.
Show access key IDs and last-used info for {bucketName}.
POST /ls/api/2016-11-28/GetBucketBundles List bucket storage plans · Returns the bundles that you can apply to a Amazon Lightsail bucket #
Ask an LLM
“What storage plans and prices are available for buckets?”
“How much storage and transfer does each bucket plan include?”
Tell an agent
List the bucket bundles.
Show bucket plans including inactive ones ({includeInactive}).
POST /ls/api/2016-11-28/GetBucketMetricData Get storage metrics for a bucket · Returns the data points of a specific metric for an Amazon Lightsail bucket #
Ask an LLM
“How much space is my bucket using over time?”
“Can I chart the number of objects in a bucket for the last week?”
Tell an agent
Get {metricName} for bucket {bucketName} from {startTime} to {endTime} every {period} seconds as {statistics} in {unit}.
Show bucket {bucketName} {metricName} data since {startTime}.
POST /ls/api/2016-11-28/GetBuckets List buckets or get one bucket's details · Returns information about one or more Amazon Lightsail buckets #
Ask an LLM
“What buckets do I have and what are their access settings?”
“Can I see which instances are connected to a bucket?”
Tell an agent
List all my buckets.
Get details for bucket {bucketName} including connected resources ({includeConnectedResources}).
POST /ls/api/2016-11-28/SetResourceAccessForBucket Grant or revoke an instance's bucket access · Sets the Amazon Lightsail resources that can access the specified Lightsail… #
Ask an LLM
“How do I let my Lightsail instance read and write a bucket without keys?”
“Can I remove an instance's access to a bucket?”
Tell an agent
Set {resourceName} access to bucket {bucketName} to {access}.
Allow instance {resourceName} to use bucket {bucketName} ({access}).
POST /ls/api/2016-11-28/UpdateBucket Change a bucket's access, versioning or logging · Updates an existing Amazon Lightsail bucket #
Ask an LLM
“How do I make the objects in my bucket publicly readable?”
“Can I share a bucket read-only with another AWS account?”
Tell an agent
Update bucket {bucketName} access rules to {accessRules}.
Set versioning on {bucketName} to {versioning}.
POST /ls/api/2016-11-28/UpdateBucketBundle Change a bucket's storage plan · Updates the bundle, or storage plan, of an existing Amazon Lightsail bucket #
Ask an LLM
“How do I upgrade my bucket to a bigger storage plan?”
“How often can I change a bucket's plan in a billing cycle?”
Tell an agent
Move bucket {bucketName} to plan {bundleId}.
Upgrade the storage bundle of {bucketName} to {bundleId}.

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