getServiceSettings method

Future<GetServiceSettingsResponse> getServiceSettings()

Gets the License Manager settings for the current Region.

May throw ServerInternalException. May throw AuthorizationException. May throw AccessDeniedException. May throw RateLimitExceededException.

Implementation

Future<GetServiceSettingsResponse> getServiceSettings() async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AWSLicenseManager.GetServiceSettings'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
  );

  return GetServiceSettingsResponse.fromJson(jsonResponse.body);
}