Amazon Lightsail · Schema
CreateKeyPairResult
CloudComputeVirtual Private ServerHostingContainersDatabaseStorageCDNNetworkingInfrastructureDevOpsAmazon Web Services
Properties
| Name | Type | Description |
|---|---|---|
| keyPair | object | |
| publicKeyBase64 | string | A base64-encoded public key of the ssh-rsa type. |
| privateKeyBase64 | string | A base64-encoded RSA private key. |
| operation | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-lightsail/json-schema/amazon-lightsail-create-key-pair-result-schema.json",
"title": "CreateKeyPairResult",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-lightsail-keypairs-api-openapi.yml#/components/schemas/CreateKeyPairResult",
"type": "object",
"properties": {
"keyPair": {
"$ref": "#/$defs/KeyPair"
},
"publicKeyBase64": {
"type": "string",
"description": "A base64-encoded public key of the ssh-rsa type."
},
"privateKeyBase64": {
"type": "string",
"description": "A base64-encoded RSA private key."
},
"operation": {
"$ref": "#/$defs/Operation"
}
},
"$defs": {
"KeyPair": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The friendly name of the SSH key pair."
},
"arn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the key pair (arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE)."
},
"supportCode": {
"type": "string",
"description": "The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily."
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp when the key pair was created (1479816991.349)."
},
"location": {
"$ref": "#/$defs/ResourceLocation"
},
"resourceType": {
"type": "string",
"enum": [
"ContainerService",
"Instance",
"StaticIp",
"KeyPair",
"InstanceSnapshot",
"Domain",
"PeeredVpc",
"LoadBalancer",
"LoadBalancerTlsCertificate",
"Disk",
"DiskSnapshot",
"RelationalDatabase",
"RelationalDatabaseSnapshot",
"ExportSnapshotRecord",
"CloudFormationStackRecord",
"Alarm",
"ContactMethod",
"Distribution",
"Certificate",
"Bucket"
],
"description": "The resource type (usually KeyPair)."
},
"tags": {
"type": "array",
"items": {
"$ref": "#/$defs/Tag"
},
"description": "The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide."
},
"fingerprint": {
"type": "string",
"description": "The RSA fingerprint of the key pair."
}
}
},
"Operation": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of the operation."
},
"resourceName": {
"type": "string",
"description": "The resource name."
},
"resourceType": {
"type": "string",
"enum": [
"ContainerService",
"Instance",
"StaticIp",
"KeyPair",
"InstanceSnapshot",
"Domain",
"PeeredVpc",
"LoadBalancer",
"LoadBalancerTlsCertificate",
"Disk",
"DiskSnapshot",
"RelationalDatabase",
"RelationalDatabaseSnapshot",
"ExportSnapshotRecord",
"CloudFormationStackRecord",
"Alarm",
"ContactMethod",
"Distribution",
"Certificate",
"Bucket"
],
"description": "The resource type."
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp when the operation was initialized (1479816991.349)."
},
"location": {
"$ref": "#/$defs/ResourceLocation"
},
"isTerminal": {
"type": "boolean",
"description": "A Boolean value indicating whether the operation is terminal."
},
"operationDetails": {
"type": "string",
"description": "Details about the operation (Debian-1GB-Ohio-1)."
},
"operationType": {
"type": "string",
"enum": [
"DeleteKnownHostKeys",
"DeleteInstance",
"CreateInstance",
"StopInstance",
"StartInstance",
"RebootInstance",
"OpenInstancePublicPorts",
"PutInstancePublicPorts",
"CloseInstancePublicPorts",
"AllocateStaticIp",
"ReleaseStaticIp",
"AttachStaticIp",
"DetachStaticIp",
"UpdateDomainEntry",
"DeleteDomainEntry",
"CreateDomain",
"DeleteDomain",
"CreateInstanceSnapshot",
"DeleteInstanceSnapshot",
"CreateInstancesFromSnapshot",
"CreateLoadBalancer",
"DeleteLoadBalancer",
"AttachInstancesToLoadBalancer",
"DetachInstancesFromLoadBalancer",
"UpdateLoadBalancerAttribute",
"CreateLoadBalancerTlsCertificate",
"DeleteLoadBalancerTlsCertificate",
"AttachLoadBalancerTlsCertificate",
"CreateDisk",
"DeleteDisk",
"AttachDisk",
"DetachDisk",
"CreateDiskSnapshot",
"DeleteDiskSnapshot",
"CreateDiskFromSnapshot",
"CreateRelationalDatabase",
"UpdateRelationalDatabase",
"DeleteRelationalDatabase",
"CreateRelationalDatabaseFromSnapshot",
"CreateRelationalDatabaseSnapshot",
"DeleteRelationalDatabaseSnapshot",
"UpdateRelationalDatabaseParameters",
"StartRelationalDatabase",
"RebootRelationalDatabase",
"StopRelationalDatabase",
"EnableAddOn",
"DisableAddOn",
"PutAlarm",
"GetAlarms",
"DeleteAlarm",
"TestAlarm",
"CreateContactMethod",
"GetContactMethods",
"SendContactMethodVerification",
"DeleteContactMethod",
"CreateDistribution",
"UpdateDistribution",
"DeleteDistribution",
"ResetDistributionCache",
"AttachCertificateToDistribution",
"DetachCertificateFromDistribution",
"UpdateDistributionBundle",
"SetIpAddressType",
"CreateCertificate",
"DeleteCertificate",
"CreateContainerService",
"UpdateContainerService",
"DeleteContainerService",
"CreateContainerServiceDeployment",
"CreateContainerServiceRegistryLogin",
"RegisterContainerImage",
"DeleteContainerImage",
"CreateBucket",
"DeleteBucket",
"CreateBucketAccessKey",
"DeleteBucketAccessKey",
"UpdateBucketBundle",
"UpdateBucket",
"SetResourceAccessForBucket",
"UpdateInstanceMetadataOptions",
"StartGUISession",
"StopGUISession",
"SetupInstanceHttps",
"GetProfile"
],
"description": "The type of operation."
},
"status": {
"type": "string",
"enum": [
"NotStarted",
"Started",
"Failed",
"Completed",
"Succeeded"
],
"description": "The status of the operation."
},
"statusChangedAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp when the status was changed (1479816991.349)."
},
"errorCode": {
"type": "string",
"description": "The error code."
},
"errorDetails": {
"type": "string",
"description": "The error details."
}
}
},
"ResourceLocation": {
"type": "object",
"properties": {
"availabilityZone": {
"type": "string",
"description": "The Availability Zone. Follows the format us-east-2a (case-sensitive)."
},
"regionName": {
"type": "string",
"enum": [
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"eu-central-1",
"eu-north-1",
"eu-south-2",
"ca-central-1",
"ap-east-1",
"ap-south-1",
"ap-southeast-1",
"ap-southeast-2",
"ap-northeast-1",
"ap-northeast-2",
"ap-southeast-3",
"ap-southeast-5",
"sa-east-1"
],
"description": "The Amazon Web Services Region name."
}
}
},
"Tag": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "The key of the tag. Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / @"
},
"value": {
"type": "string",
"description": "The value of the tag. Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / @"
}
}
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-lightsail-create-key-pair-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.