send_managed_thing_command
¶
send_managed_thing_command(
managed_thing_id: ManagedThingId,
endpoints: CommandEndpoints,
*,
config_overrides: Optional[IoTManagedIntegrationsClientConfig] = None,
connector_association_id: Optional[ConnectorAssociationId] = None,
account_association_id: Optional[AccountAssociationId] = None,
) -> SendManagedThingCommandResponse
Send the command to the device represented by the managed thing.
Parameters:
-
managed_thing_id(ManagedThingId) –The id of the device.
-
endpoints(CommandEndpoints) –The device endpoint.
-
connector_association_id(Optional[ConnectorAssociationId], default:None) –The ID tracking the current discovery process for one connector association.
-
account_association_id(Optional[AccountAssociationId], default:None) –The identifier of the account association to use when sending a command to a managed thing.
Raises:
-
AccessDeniedException–User is not authorized.
-
InternalServerException–Internal error from the service that indicates an unexpected error or that the service is unavailable.
-
ResourceNotFoundException–The specified resource does not exist.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
ThrottlingException–The rate exceeds the limit.
-
UnauthorizedException–You are not authorized to perform this operation.
-
ValidationException–A validation error occurred when performing the API request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot_managed_integrations/_services/io_t_managed_integrations.py
3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 | |