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