list_things_in_billing_group

IoT.Client.list_things_in_billing_group(**kwargs)

Lists the things you have added to the given billing group.

Requires permission to access the ListThingsInBillingGroup action.

See also: AWS API Documentation

Request Syntax

response = client.list_things_in_billing_group(
    billingGroupName='string',
    nextToken='string',
    maxResults=123
)
Parameters
  • billingGroupName (string) --

    [REQUIRED]

    The name of the billing group.

  • 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.
  • maxResults (integer) -- The maximum number of results to return per request.
Return type

dict

Returns

Response Syntax

{
    'things': [
        'string',
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • things (list) --

      A list of things in the billing group.

      • (string) --
    • nextToken (string) --

      The token to use to get the next set of results. Will not be returned if operation has returned all results.

Exceptions

  • IoT.Client.exceptions.InvalidRequestException
  • IoT.Client.exceptions.InternalFailureException
  • IoT.Client.exceptions.ResourceNotFoundException
  • IoT.Client.exceptions.ThrottlingException