getDirectoryLimits method
Obtains directory limit information for the current Region.
May throw EntityDoesNotExistException. May throw ClientException. May throw ServiceException.
Implementation
Future<GetDirectoryLimitsResult> getDirectoryLimits() async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'DirectoryService_20150416.GetDirectoryLimits'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
);
return GetDirectoryLimitsResult.fromJson(jsonResponse.body);
}