update_managed_thing
async
¶
update_managed_thing(
identifier: ManagedThingId,
*,
config_overrides: Optional[AsyncIoTManagedIntegrationsClientConfig] = None,
owner: Optional[Owner] = None,
credential_locker_id: Optional[CredentialLockerId] = None,
serial_number: Optional[SerialNumber] = None,
wi_fi_simple_setup_configuration: Optional[WiFiSimpleSetupConfiguration] = None,
brand: Optional[Brand] = None,
model: Optional[Model] = None,
name: Optional[Name] = None,
capability_report: Optional[CapabilityReport] = None,
capability_schemas: Optional[CapabilitySchemas] = None,
capabilities: Optional[Capabilities] = None,
classification: Optional[Classification] = None,
hub_network_mode: Optional[HubNetworkMode] = None,
meta_data: Optional[MetaData] = None,
) -> None
Update the attributes and capabilities associated with a managed thing.
Parameters:
-
identifier(ManagedThingId) –The id of the managed thing.
-
owner(Optional[Owner], default:None) –Owner of the device, usually an indication of whom the device belongs to. This value should not contain personal identifiable information.
-
credential_locker_id(Optional[CredentialLockerId], default:None) –The identifier of the credential for the managed thing.
-
serial_number(Optional[SerialNumber], default:None) –The serial number of the device.
-
wi_fi_simple_setup_configuration(Optional[WiFiSimpleSetupConfiguration], default:None) –The Wi-Fi Simple Setup configuration for the managed thing, which defines provisioning capabilities and timeout settings.
-
brand(Optional[Brand], default:None) –The brand of the device.
-
model(Optional[Model], default:None) –The model of the device.
-
name(Optional[Name], default:None) –The name of the managed thing representing the physical device.
-
capability_report(Optional[CapabilityReport], default:None) –A report of the capabilities for the managed thing.
-
capability_schemas(Optional[CapabilitySchemas], default:None) –The updated capability schemas that define the functionality and features supported by the managed thing.
-
capabilities(Optional[Capabilities], default:None) –The capabilities of the device such as light bulb.
-
classification(Optional[Classification], default:None) –The classification of the managed thing such as light bulb or thermostat.
-
hub_network_mode(Optional[HubNetworkMode], default:None) –The network mode for the hub-connected device.
-
meta_data(Optional[MetaData], default:None) –The metadata for the managed thing.
Raises:
-
AccessDeniedException–User is not authorized.
-
ConflictException–There is a conflict with the request.
-
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
4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 | |