offering_promotions
Creates, updates, deletes, gets or lists an offering_promotions resource.
Overview
| Name | offering_promotions |
| Type | Resource |
| Id | aws.devicefarm.offering_promotions |
Fields
The following fields are returned by SELECT queries:
- list_offering_promotions
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the offering promotion. |
description | string | A string that describes the offering promotion. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_offering_promotions | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_offering_promotions
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
;