getRecommenderSchema method
Retrieves information about a specific recommender schema in a domain.
May throw AccessDeniedException.
May throw BadRequestException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter domainName :
The unique name of the domain.
Parameter recommenderSchemaName :
The name of the recommender schema to retrieve.
Implementation
Future<GetRecommenderSchemaResponse> getRecommenderSchema({
required String domainName,
required String recommenderSchemaName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/domains/${Uri.encodeComponent(domainName)}/recommender-schemas/${Uri.encodeComponent(recommenderSchemaName)}',
exceptionFnMap: _exceptionFns,
);
return GetRecommenderSchemaResponse.fromJson(response);
}