Smaws_Client_DeviceFarm.ListOfferingPromotionsReturns 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ArgumentException of Types.argument_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NotEligibleException of Types.not_eligible_exception
| `NotFoundException of Types.not_found_exception
| `ServiceAccountException of Types.service_account_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_offering_promotions_request ->
(Types.list_offering_promotions_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `ArgumentException of Types.argument_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NotEligibleException of Types.not_eligible_exception
| `NotFoundException of Types.not_found_exception
| `ServiceAccountException of Types.service_account_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_offering_promotions_request ->
(Types.list_offering_promotions_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ArgumentException of Types.argument_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NotEligibleException of Types.not_eligible_exception
| `NotFoundException of Types.not_found_exception
| `ServiceAccountException of Types.service_account_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result