ManagedintegrationsforIoTDeviceManagement / Client / get_runtime_log_configuration
get_runtime_log_configuration#
- ManagedintegrationsforIoTDeviceManagement.Client.get_runtime_log_configuration(**kwargs)#
Get the runtime log configuration for a specific managed thing or for all managed things as a group.
See also: AWS API Documentation
Request Syntax
response = client.get_runtime_log_configuration( ManagedThingId='string' )
- Parameters:
ManagedThingId (string) –
[REQUIRED]
The id for a managed thing.
- Return type:
dict
- Returns:
Response Syntax
{ 'ManagedThingId': 'string', 'RuntimeLogConfigurations': { 'LogLevel': 'DEBUG'|'ERROR'|'INFO'|'WARN', 'LogFlushLevel': 'DEBUG'|'ERROR'|'INFO'|'WARN', 'LocalStoreLocation': 'string', 'LocalStoreFileRotationMaxFiles': 123, 'LocalStoreFileRotationMaxBytes': 123, 'UploadLog': True|False, 'UploadPeriodMinutes': 123, 'DeleteLocalStoreAfterUpload': True|False } }
Response Structure
(dict) –
ManagedThingId (string) –
The id for a managed thing.
RuntimeLogConfigurations (dict) –
The runtime log configuration for a managed thing.
LogLevel (string) –
The different log levels available for configuration.
LogFlushLevel (string) –
The different log levels available for configuration.
LocalStoreLocation (string) –
Configuration of where to store runtime logs in the device.
LocalStoreFileRotationMaxFiles (integer) –
Configuration to set the maximum number of runtime log files that can be stored on the device before the oldest files are deleted or overwritten.
LocalStoreFileRotationMaxBytes (integer) –
Configuration to set the maximum bytes of runtime logs that can be stored on the device before the oldest logs are deleted or overwritten.
UploadLog (boolean) –
Configuration to enable or disable uploading of runtime logs to the cloud.
UploadPeriodMinutes (integer) –
Configuration to set the time interval in minutes between each batch of runtime logs that the device uploads to the cloud.
DeleteLocalStoreAfterUpload (boolean) –
Configuration to enable or disable deleting of runtime logs in the device once uploaded to the cloud.
Exceptions
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.AccessDeniedException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ValidationException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.InternalServerException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ResourceNotFoundException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ThrottlingException