class DeviceFarm.Paginator.ListOfferingPromotions
paginator = client.get_paginator('list_offering_promotions')

Creates an iterator that will paginate through responses from DeviceFarm.Client.list_offering_promotions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
        'MaxItems': 123,
        'StartingToken': 'string'
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
Response Syntax
    'offeringPromotions': [
            'id': 'string',
            'description': 'string'
    'NextToken': 'string'

Response Structure

  • (dict) --
    • offeringPromotions (list) --

      Information about the offering promotions.

      • (dict) --

        Represents information about an offering promotion.

        • id (string) --

          The ID of the offering promotion.

        • description (string) --

          A string that describes the offering promotion.

    • NextToken (string) --

      A token to resume pagination.