getThingRuntimeConfiguration method
Future<GetThingRuntimeConfigurationResponse>
getThingRuntimeConfiguration({
- required String thingName,
Get the runtime configuration of a thing.
May throw BadRequestException. May throw InternalServerErrorException.
Parameter thingName
:
The thing name.
Implementation
Future<GetThingRuntimeConfigurationResponse> getThingRuntimeConfiguration({
required String thingName,
}) async {
ArgumentError.checkNotNull(thingName, 'thingName');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/greengrass/things/${Uri.encodeComponent(thingName)}/runtimeconfig',
exceptionFnMap: _exceptionFns,
);
return GetThingRuntimeConfigurationResponse.fromJson(response);
}