SimpleDB / Paginator / Select

Select#

class SimpleDB.Paginator.Select#
paginator = client.get_paginator('select')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from SimpleDB.Client.select().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    SelectExpression='string',
    ConsistentRead=True|False,
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • SelectExpression (string) – [REQUIRED] The expression used to query the domain.

  • ConsistentRead (boolean) – Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.

  • 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

{
    'Items': [
        {
            'Name': 'string',
            'AlternateNameEncoding': 'string',
            'Attributes': [
                {
                    'Name': 'string',
                    'AlternateNameEncoding': 'string',
                    'Value': 'string',
                    'AlternateValueEncoding': 'string'
                },
            ]
        },
    ],

}

Response Structure

  • (dict) –

    • Items (list) – A list of items that match the select expression.

      • (dict) –

        • Name (string) – The name of the item.

        • AlternateNameEncoding (string) –

        • Attributes (list) – A list of attributes.

          • (dict) –

            • Name (string) – The name of the attribute.

            • AlternateNameEncoding (string) –

            • Value (string) – The value of the attribute.

            • AlternateValueEncoding (string) –