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 if you must be able to invoke this operation.
See also: AWS API Documentation
Request Syntax
response = client.list_offering_promotions(
nextToken='string'
)
{
'offeringPromotions': [
{
'id': 'string',
'description': 'string'
},
],
'nextToken': 'string'
}
Response Structure
Information about the offering promotions.
Represents information about an offering promotion.
The ID of the offering promotion.
A string that describes the offering promotion.
An identifier to be used in the next call to this operation, to return the next set of items in the list.
Exceptions
DeviceFarm.Client.exceptions.ArgumentException
DeviceFarm.Client.exceptions.NotFoundException
DeviceFarm.Client.exceptions.NotEligibleException
DeviceFarm.Client.exceptions.LimitExceededException
DeviceFarm.Client.exceptions.ServiceAccountException