getAgentConfiguration method
Gets the latest configuration information for a registered agent.
May throw DependencyException.
May throw InvalidParameterException.
May throw ResourceNotFoundException.
Parameter agentId :
UUID of agent to get configuration information for.
Implementation
Future<GetAgentConfigurationResponse> getAgentConfiguration({
required String agentId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/agent/${Uri.encodeComponent(agentId)}/configuration',
exceptionFnMap: _exceptionFns,
);
return GetAgentConfigurationResponse.fromJson(response);
}