Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

update_destination

update_destination(**kwargs)

Updates properties of a destination.

See also: AWS API Documentation

Request Syntax

response = client.update_destination(
    Name='string',
    ExpressionType='RuleName'|'MqttTopic',
    Expression='string',
    Description='string',
    RoleArn='string'
)
Parameters
  • Name (string) --

    [REQUIRED]

    The new name of the resource.

  • ExpressionType (string) -- The type of value in Expression .
  • Expression (string) -- The new rule name or topic rule to send messages to.
  • Description (string) -- A new description of the resource.
  • RoleArn (string) -- The ARN of the IAM Role that authorizes the destination.
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • IoTWireless.Client.exceptions.ValidationException
  • IoTWireless.Client.exceptions.ResourceNotFoundException
  • IoTWireless.Client.exceptions.AccessDeniedException
  • IoTWireless.Client.exceptions.InternalServerException
  • IoTWireless.Client.exceptions.ThrottlingException