getMLConfiguration method

Future<GetMLConfigurationResponse> getMLConfiguration({
  1. required String membershipIdentifier,
})

Returns information about a specific ML configuration.

May throw AccessDeniedException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter membershipIdentifier : The membership ID of the member that owns the ML configuration you want to return information about.

Implementation

Future<GetMLConfigurationResponse> getMLConfiguration({
  required String membershipIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/memberships/${Uri.encodeComponent(membershipIdentifier)}/ml-configurations',
    exceptionFnMap: _exceptionFns,
  );
  return GetMLConfigurationResponse.fromJson(response);
}