update_topic_rule_destination
async
¶
update_topic_rule_destination(
arn: AwsArn,
status: TopicRuleDestinationStatus,
*,
config_overrides: Optional[AsyncIoTClientConfig] = None,
) -> UpdateTopicRuleDestinationResponse
Updates a topic rule destination. You use this to change the status, endpoint URL, or confirmation URL of the destination.
Requires permission to access the UpdateTopicRuleDestination action.
Parameters:
-
arn(AwsArn) –The ARN of the topic rule destination.
-
status(TopicRuleDestinationStatus) –The status of the topic rule destination. Valid values are:
- IN_PROGRESS
-
A topic rule destination was created but has not been confirmed. You can set
statustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses a new confirmation challenge to be sent to your confirmation endpoint. - ENABLED
-
Confirmation was completed, and traffic to this destination is allowed. You can set
statustoDISABLEDby callingUpdateTopicRuleDestination. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
statustoENABLEDby callingUpdateTopicRuleDestination. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestinationfor details about the error. You can setstatustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses a new confirmation challenge to be sent to your confirmation endpoint.
Raises:
-
ConflictingResourceUpdateException–A conflicting resource update exception. This exception is thrown when two pending updates cause a conflict.
-
InternalException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
UnauthorizedException–You are not authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/async_io_t.py
19083 19084 19085 19086 19087 19088 19089 19090 19091 19092 19093 19094 19095 19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 | |