openapi: 3.2.0 info: title: Amazon Lightsail Bundles 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: - name: Bundles paths: /ls/api/2016-11-28/GetBundles: post: operationId: GetBundles summary: Returns the bundles that you can apply to an Amazon Lightsail instance when you… description: Returns the bundles that you can apply to an Amazon Lightsail instance when you create it. A bundle describes the specifications of an instance, such as the monthly cost, amount of memory, the number of vCPUs, amount of storage space, and monthly network data transfer quota. Bundles are referred to as instance plans in the Lightsail console. tags: - Bundles requestBody: required: true content: application/x-amz-json-1.1: schema: $ref: '#/components/schemas/GetBundlesRequest' responses: '200': description: Success content: application/x-amz-json-1.1: schema: $ref: '#/components/schemas/GetBundlesResult' '403': description: AccessDeniedException content: application/x-amz-json-1.1: schema: $ref: '#/components/schemas/AccessDeniedException' '428': description: AccountSetupInProgressException, RegionSetupInProgressException content: application/x-amz-json-1.1: schema: oneOf: - $ref: '#/components/schemas/AccountSetupInProgressException' - $ref: '#/components/schemas/RegionSetupInProgressException' '400': description: InvalidInputException, OperationFailureException content: application/x-amz-json-1.1: schema: oneOf: - $ref: '#/components/schemas/InvalidInputException' - $ref: '#/components/schemas/OperationFailureException' '404': description: NotFoundException content: application/x-amz-json-1.1: schema: $ref: '#/components/schemas/NotFoundException' '500': description: ServiceException content: application/x-amz-json-1.1: schema: $ref: '#/components/schemas/ServiceException' '401': description: UnauthenticatedException content: application/x-amz-json-1.1: schema: $ref: '#/components/schemas/UnauthenticatedException' x-amz-target: Lightsail_20161128.GetBundles components: schemas: AppCategory: type: string enum: - LfR AccessDeniedException: type: object properties: code: $ref: '#/components/schemas/string' docs: $ref: '#/components/schemas/string' message: $ref: '#/components/schemas/string' tip: $ref: '#/components/schemas/string' description: Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to access a resource. Bundle: type: object properties: price: allOf: - $ref: '#/components/schemas/float' description: The price in US dollars ( 5.0 ) of the bundle. cpuCount: allOf: - $ref: '#/components/schemas/integer' description: The number of vCPUs included in the bundle ( 2 ). diskSizeInGb: allOf: - $ref: '#/components/schemas/integer' description: The size of the SSD ( 30 ). bundleId: allOf: - $ref: '#/components/schemas/NonEmptyString' description: The bundle ID ( micro_x_x ). instanceType: allOf: - $ref: '#/components/schemas/string' description: The instance type ( micro ). isActive: allOf: - $ref: '#/components/schemas/boolean' description: A Boolean value indicating whether the bundle is active. name: allOf: - $ref: '#/components/schemas/string' description: A friendly name for the bundle ( Micro ). power: allOf: - $ref: '#/components/schemas/integer' description: A numeric value that represents the power of the bundle ( 500 ). You can use the bundle's power value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500. ramSizeInGb: allOf: - $ref: '#/components/schemas/float' description: The amount of RAM in GB ( 2.0 ). transferPerMonthInGb: allOf: - $ref: '#/components/schemas/integer' description: The data transfer rate per month in GB ( 2000 ). supportedPlatforms: allOf: - $ref: '#/components/schemas/InstancePlatformList' description: The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle. supportedAppCategories: allOf: - $ref: '#/components/schemas/AppCategoryList' description: Virtual computer blueprints that are supported by a Lightsail for Research bundle. This parameter only applies to Lightsail for Research resources. publicIpv4AddressCount: allOf: - $ref: '#/components/schemas/integer' description: An integer that indicates the public ipv4 address count included in the bundle, the value is either 0 or 1. description: Describes a bundle, which is a set of specs describing your virtual private server (or instance ). NotFoundException: type: object properties: code: $ref: '#/components/schemas/string' docs: $ref: '#/components/schemas/string' message: $ref: '#/components/schemas/string' tip: $ref: '#/components/schemas/string' description: Lightsail throws this exception when it cannot find a resource. RegionSetupInProgressException: type: object properties: code: $ref: '#/components/schemas/string' docs: allOf: - $ref: '#/components/schemas/string' description: Regions and Availability Zones for Lightsail message: $ref: '#/components/schemas/string' tip: allOf: - $ref: '#/components/schemas/string' description: Opt-in Regions typically take a few minutes to finish setting up before you can work with them. Wait a few minutes and try again. description: Lightsail throws this exception when an operation is performed on resources in an opt-in Region that is currently being set up. integer: type: integer InvalidInputException: type: object properties: code: $ref: '#/components/schemas/string' docs: $ref: '#/components/schemas/string' message: $ref: '#/components/schemas/string' tip: $ref: '#/components/schemas/string' description: Lightsail throws this exception when user input does not conform to the validation rules of an input field. Domain and distribution APIs are only available in the N. Virginia ( us-east-1 ) Amazon Web Services Region. Please set your Amazon Web Services Region configuration to us-east-1 to create, view, or edit these resources. OperationFailureException: type: object properties: code: $ref: '#/components/schemas/string' docs: $ref: '#/components/schemas/string' message: $ref: '#/components/schemas/string' tip: $ref: '#/components/schemas/string' description: Lightsail throws this exception when an operation fails to execute. InstancePlatform: type: string enum: - LINUX_UNIX - WINDOWS BundleList: type: array items: $ref: '#/components/schemas/Bundle' AccountSetupInProgressException: type: object properties: code: $ref: '#/components/schemas/string' docs: $ref: '#/components/schemas/string' message: $ref: '#/components/schemas/string' tip: $ref: '#/components/schemas/string' description: Lightsail throws this exception when an account is still in the setup in progress state. string: type: string boolean: type: boolean UnauthenticatedException: type: object properties: code: $ref: '#/components/schemas/string' docs: $ref: '#/components/schemas/string' message: $ref: '#/components/schemas/string' tip: $ref: '#/components/schemas/string' description: Lightsail throws this exception when the user has not been authenticated. GetBundlesRequest: type: object properties: includeInactive: allOf: - $ref: '#/components/schemas/boolean' description: A Boolean value that indicates whether to include inactive (unavailable) bundles in the response of your request. pageToken: allOf: - $ref: '#/components/schemas/string' description: The token to advance to the next page of results from your request. To get a page token, perform an initial GetBundles request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request. appCategory: allOf: - $ref: '#/components/schemas/AppCategory' description: Returns a list of bundles that are specific to Lightsail for Research. You must use this parameter to view Lightsail for Research bundles. float: type: number NonEmptyString: type: string pattern: \S GetBundlesResult: type: object properties: bundles: allOf: - $ref: '#/components/schemas/BundleList' description: An array of key-value pairs that contains information about the available bundles. nextPageToken: allOf: - $ref: '#/components/schemas/string' description: The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetBundles request and specify the next page token using the pageToken parameter. InstancePlatformList: type: array items: $ref: '#/components/schemas/InstancePlatform' AppCategoryList: type: array items: $ref: '#/components/schemas/AppCategory' ServiceException: type: object properties: code: $ref: '#/components/schemas/string' docs: $ref: '#/components/schemas/string' message: $ref: '#/components/schemas/string' tip: $ref: '#/components/schemas/string' description: A general service exception. securitySchemes: sigv4: type: apiKey name: Authorization in: header description: AWS Signature Version 4. Sign each request with IAM credentials for service name "lightsail"; the Authorization header carries the AWS4-HMAC-SHA256 credential scope, signed headers and signature. Temporary STS credentials additionally require X-Amz-Security-Token. See https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/CommonParameters.html externalDocs: description: Amazon Lightsail API Reference url: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/Welcome.html