Skip to main content

things_in_billing_groups

Creates, updates, deletes, gets or lists a things_in_billing_groups resource.

Overview​

Namethings_in_billing_groups
TypeResource
Idaws.iot.things_in_billing_groups

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
thingstringA list of things in the billing group.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_things_in_billing_groupselectbilling_group_name, regionnextToken, maxResultsLists 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.

NameDatatypeDescription
billing_group_namestringThe name of the billing group.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to return per request.
nextTokenstringTo retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

SELECT examples​

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 }}'
;