getSchemaMapping method
Returns the SchemaMapping of a given name.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter schemaName :
The name of the schema to be retrieved.
Implementation
Future<GetSchemaMappingOutput> getSchemaMapping({
required String schemaName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/schemas/${Uri.encodeComponent(schemaName)}',
exceptionFnMap: _exceptionFns,
);
return GetSchemaMappingOutput.fromJson(response);
}