update_command
¶
update_command(
command_id: CommandId,
*,
config_overrides: Optional[IoTClientConfig] = None,
display_name: Optional[DisplayName] = None,
description: Optional[CommandDescription] = None,
deprecated: Optional[DeprecationFlag] = None,
) -> UpdateCommandResponse
Update information about a command or mark a command for deprecation.
Parameters:
-
command_id(CommandId) –The unique identifier of the command to be updated.
-
display_name(Optional[DisplayName], default:None) –The new user-friendly name to use in the console for the command.
-
description(Optional[CommandDescription], default:None) –A short text description of the command.
-
deprecated(Optional[DeprecationFlag], default:None) –A boolean that you can use to specify whether to deprecate a command.
Raises:
-
ConflictException–The request conflicts with the current state of the resource.
-
InternalServerException–Internal error from the service that indicates an unexpected error or that the service is unavailable.
-
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The rate exceeds the limit.
-
ValidationException–The request is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/io_t.py
17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 | |