add_thing_to_billing_group

IoT.Client.add_thing_to_billing_group(**kwargs)

Adds a thing to a billing group.

Requires permission to access the AddThingToBillingGroup action.

See also: AWS API Documentation

Request Syntax

response = client.add_thing_to_billing_group(
    billingGroupName='string',
    billingGroupArn='string',
    thingName='string',
    thingArn='string'
)
Parameters
  • billingGroupName (string) --

    The name of the billing group.

    Note

    This call is asynchronous. It might take several seconds for the detachment to propagate.

  • billingGroupArn (string) -- The ARN of the billing group.
  • thingName (string) -- The name of the thing to be added to the billing group.
  • thingArn (string) -- The ARN of the thing to be added to the billing group.
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

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