Returns a list of offering promotions. Each offering promotion record contains the ID and description of the promotion. The API returns a NotEligible error if the caller is not permitted to invoke the operation. Contact if you must be able to invoke this operation.

See also: AWS API Documentation

Request Syntax

response = client.list_offering_promotions(
nextToken (string) -- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
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) --

      An identifier to be used in the next call to this operation, to return the next set of items in the list.


  • DeviceFarm.Client.exceptions.ArgumentException
  • DeviceFarm.Client.exceptions.NotFoundException
  • DeviceFarm.Client.exceptions.NotEligibleException
  • DeviceFarm.Client.exceptions.LimitExceededException
  • DeviceFarm.Client.exceptions.ServiceAccountException