update_destination
¶
update_destination(
name: DestinationName,
*,
config_overrides: Optional[IoTWirelessClientConfig] = None,
expression_type: Optional[ExpressionType] = None,
expression: Optional[Expression] = None,
description: Optional[Description] = None,
role_arn: Optional[RoleArn] = None,
) -> UpdateDestinationResponse
Updates properties of a destination.
Parameters:
-
name(DestinationName) –The new name of the resource.
-
expression_type(Optional[ExpressionType], default:None) –The type of value in
Expression. -
expression(Optional[Expression], default:None) –The new rule name or topic rule to send messages to.
-
description(Optional[Description], default:None) –A new description of the resource.
-
role_arn(Optional[RoleArn], default:None) –The ARN of the IAM Role that authorizes the destination.
Raises:
-
AccessDeniedException–User does not have permission to perform this action.
-
InternalServerException–An unexpected error occurred while processing a request.
-
ResourceNotFoundException–Resource does not exist.
-
ThrottlingException–The request was denied because it exceeded the allowed API request rate.
-
ValidationException–The input did not meet the specified constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot_wireless/_services/io_t_wireless.py
6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 | |