update_command
async
¶
update_command(
command_id: CommandId,
*,
config_overrides: Optional[AsyncIoTClientConfig] = 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/async_io_t.py
17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 | |