getCoreDefinition method
Retrieves information about a core definition version.
May throw BadRequestException.
Parameter coreDefinitionId
:
The ID of the core definition.
Implementation
Future<GetCoreDefinitionResponse> getCoreDefinition({
required String coreDefinitionId,
}) async {
ArgumentError.checkNotNull(coreDefinitionId, 'coreDefinitionId');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/greengrass/definition/cores/${Uri.encodeComponent(coreDefinitionId)}',
exceptionFnMap: _exceptionFns,
);
return GetCoreDefinitionResponse.fromJson(response);
}