send_managed_thing_command
async
¶
send_managed_thing_command(
managed_thing_id: ManagedThingId,
endpoints: CommandEndpoints,
*,
config_overrides: Optional[AsyncIoTManagedIntegrationsClientConfig] = 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/async_io_t_managed_integrations.py
3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 | |