confirm_topic_rule_destination

confirm_topic_rule_destination(**kwargs)

Confirms a topic rule destination. When you create a rule requiring a destination, IoT sends a confirmation message to the endpoint or base address you specify. The message includes a token which you pass back when calling ConfirmTopicRuleDestination to confirm that you own or have access to the endpoint.

Requires permission to access the ConfirmTopicRuleDestination action.

See also: AWS API Documentation

Request Syntax

response = client.confirm_topic_rule_destination(
    confirmationToken='string'
)
Parameters
confirmationToken (string) --

[REQUIRED]

The token used to confirm ownership or access to the topic rule confirmation URL.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • IoT.Client.exceptions.InternalException
  • IoT.Client.exceptions.InvalidRequestException
  • IoT.Client.exceptions.ServiceUnavailableException
  • IoT.Client.exceptions.UnauthorizedException
  • IoT.Client.exceptions.ConflictingResourceUpdateException