Skip to main content

offering_promotions

Creates, updates, deletes, gets or lists an offering_promotions resource.

Overview

Nameoffering_promotions
TypeResource
Idaws.devicefarm.offering_promotions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the offering promotion.
descriptionstringA string that describes the offering promotion.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_offering_promotionsselectregionReturns 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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.

SELECT
id,
description
FROM aws.devicefarm.offering_promotions
WHERE region = '{{ region }}' -- required
;