:doc:`DeviceFarm <../../devicefarm>` / Client / list_offering_promotions

************************
list_offering_promotions
************************



.. py:method:: DeviceFarm.Client.list_offering_promotions(**kwargs)

  

  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 `aws-devicefarm-support@amazon.com <mailto:aws-devicefarm-support@amazon.com>`__ if you must be able to invoke this operation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingPromotions>`_  


  **Request Syntax**
  ::

    response = client.list_offering_promotions(
        nextToken='string'
    )
    
  :type nextToken: string
  :param nextToken: 

    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.

    

  
  
  :rtype: dict
  :returns: 
    
    **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.

        
  
  **Exceptions**
  
  *   :py:class:`DeviceFarm.Client.exceptions.ArgumentException`

  
  *   :py:class:`DeviceFarm.Client.exceptions.NotFoundException`

  
  *   :py:class:`DeviceFarm.Client.exceptions.NotEligibleException`

  
  *   :py:class:`DeviceFarm.Client.exceptions.LimitExceededException`

  
  *   :py:class:`DeviceFarm.Client.exceptions.ServiceAccountException`

  