putRuntimeLogConfiguration method
Future<void>
putRuntimeLogConfiguration({
- required String managedThingId,
- required RuntimeLogConfigurations runtimeLogConfigurations,
Set the runtime log configuration for a specific managed thing.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter managedThingId :
The id for a managed thing.
Parameter runtimeLogConfigurations :
The runtime log configuration for a managed thing.
Implementation
Future<void> putRuntimeLogConfiguration({
required String managedThingId,
required RuntimeLogConfigurations runtimeLogConfigurations,
}) async {
final $payload = <String, dynamic>{
'RuntimeLogConfigurations': runtimeLogConfigurations,
};
await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri:
'/runtime-log-configurations/${Uri.encodeComponent(managedThingId)}',
exceptionFnMap: _exceptionFns,
);
}