CmdID

CmdID / aws / aws iot

aws iot update-topic-rule-destination

Updates a topic rule destination. AWS CLI reference

3 examples 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

Example 1: To enable a topic rule destination

The following update-topic-rule-destination example enables traffic to a topic rule destination.

aws iot update-topic-rule-destination --arn "arn:aws:iot:us-west-2:123456789012:ruledestination/http/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" --status ENABLEDIdentify
--arnThe ARN of the topic rule destination.
--statusThe status of the topic rule destination.

This command produces no output.

For more information, see Confirming HTTP action destinations in the AWS IoT Developer Guide.

Example 2: To disable a topic rule destination

The following update-topic-rule-destination example disables traffic to a topic rule destination.

aws iot update-topic-rule-destination --arn "arn:aws:iot:us-west-2:123456789012:ruledestination/http/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" --status DISABLEDIdentify
--arnThe ARN of the topic rule destination.
--statusThe status of the topic rule destination.

This command produces no output.

For more information, see Disabling and deleting an HTTP action destination in the AWS IoT Developer Guide.

Example 3: To send a new confirmation message

The following update-topic-rule-destination example sends a new confirmation message for a topic rule destination.

aws iot update-topic-rule-destination --arn "arn:aws:iot:us-west-2:123456789012:ruledestination/http/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" --status IN_PROGRESSIdentify
--arnThe ARN of the topic rule destination.
--statusThe status of the topic rule destination.

This command produces no output.

For more information, see Sending a new confirmation request in the AWS IoT Developer Guide.

Options

2 in the AWS CLI reference
--arnThe ARN of the topic rule destination.
--statusThe status of the topic rule destination.