2020/09/16 - AWS Greengrass - 2 new api methods
Changes This release includes the ability to set run-time configuration for a Greengrass core. The Telemetry feature, also included in this release, can be configured via run-time configuration per core.
Updates the runtime configuration of a thing.
See also: AWS API Documentation
Request Syntax
client.update_thing_runtime_configuration( TelemetryConfiguration={ 'Telemetry': 'On'|'Off' }, ThingName='string' )
dict
Configuration for telemetry service.
Telemetry (string) -- [REQUIRED] Configure telemetry to be on or off.
string
[REQUIRED] The thing name.
dict
Response Syntax
{}
Response Structure
(dict) -- success
Get the runtime configuration of a thing.
See also: AWS API Documentation
Request Syntax
client.get_thing_runtime_configuration( ThingName='string' )
string
[REQUIRED] The thing name.
dict
Response Syntax
{ 'RuntimeConfiguration': { 'TelemetryConfiguration': { 'ConfigurationSyncStatus': 'InSync'|'OutOfSync', 'Telemetry': 'On'|'Off' } } }
Response Structure
(dict) -- Success. The response contains the runtime configuration for the given thing.
RuntimeConfiguration (dict) -- Runtime configuration for a thing.
TelemetryConfiguration (dict) -- Configuration for telemetry service.
ConfigurationSyncStatus (string) -- Synchronization status of the device reported configuration with the desired configuration.
Telemetry (string) -- Configure telemetry to be on or off.