describeEventCategories method
Implementation
Future<EventCategoriesMessage> describeEventCategories({
String? sourceType,
}) async {
final $request = <String, dynamic>{};
sourceType?.also((arg) => $request['SourceType'] = arg);
final $result = await _protocol.send(
$request,
action: 'DescribeEventCategories',
version: '2013-01-10',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeEventCategoriesMessage'],
shapes: shapes,
resultWrapper: 'DescribeEventCategoriesResult',
);
return EventCategoriesMessage.fromXml($result);
}