getHubConfiguration method

Future<GetHubConfigurationResponse> getHubConfiguration()

Get a hub configuration.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ServiceUnavailableException. May throw ThrottlingException. May throw ValidationException.

Implementation

Future<GetHubConfigurationResponse> getHubConfiguration() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/hub-configuration',
    exceptionFnMap: _exceptionFns,
  );
  return GetHubConfigurationResponse.fromJson(response);
}