things_in_billing_groups
Creates, updates, deletes, gets or lists a things_in_billing_groups resource.
Overview
| Name | things_in_billing_groups |
| Type | Resource |
| Id | aws.iot.things_in_billing_groups |
Fields
The following fields are returned by SELECT queries:
- list_things_in_billing_group
| Name | Datatype | Description |
|---|---|---|
thing | string | A list of things in the billing group. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_things_in_billing_group | select | billing_group_name, region | nextToken, maxResults | Lists the things you have added to the given billing group. Requires permission to access the ListThingsInBillingGroup action. |
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 |
|---|---|---|
billing_group_name | string | The name of the billing group. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of results to return per request. |
nextToken | string | To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results. |
SELECT examples
- list_things_in_billing_group
Lists the things you have added to the given billing group. Requires permission to access the ListThingsInBillingGroup action.
SELECT
thing
FROM aws.iot.things_in_billing_groups
WHERE billing_group_name = '{{ billing_group_name }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;