Lightsail / Paginator / GetRelationalDatabaseBundles

GetRelationalDatabaseBundles#

class Lightsail.Paginator.GetRelationalDatabaseBundles#
paginator = client.get_paginator('get_relational_database_bundles')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Lightsail.Client.get_relational_database_bundles().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    includeInactive=True|False,
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • includeInactive (boolean) – A Boolean value that indicates whether to include inactive (unavailable) bundles in the response of your request.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'bundles': [
        {
            'bundleId': 'string',
            'name': 'string',
            'price': ...,
            'ramSizeInGb': ...,
            'diskSizeInGb': 123,
            'transferPerMonthInGb': 123,
            'cpuCount': 123,
            'isEncrypted': True|False,
            'isActive': True|False
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • bundles (list) –

      An object describing the result of your get relational database bundles request.

      • (dict) –

        Describes a database bundle. A bundle describes the performance specifications of the database.

        • bundleId (string) –

          The ID for the database bundle.

        • name (string) –

          The name for the database bundle.

        • price (float) –

          The cost of the database bundle in US currency.

        • ramSizeInGb (float) –

          The amount of RAM in GB (for example, 2.0) for the database bundle.

        • diskSizeInGb (integer) –

          The size of the disk for the database bundle.

        • transferPerMonthInGb (integer) –

          The data transfer rate per month in GB for the database bundle.

        • cpuCount (integer) –

          The number of virtual CPUs (vCPUs) for the database bundle.

        • isEncrypted (boolean) –

          A Boolean value indicating whether the database bundle is encrypted.

        • isActive (boolean) –

          A Boolean value indicating whether the database bundle is active.

    • NextToken (string) –

      A token to resume pagination.