describeEventCategories method
Displays a list of categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Events in the Amazon RDS User Guide.
Parameter filters
:
This parameter isn't currently supported.
Parameter sourceType
:
The type of source that is generating the events.
Valid values: db-instance
| db-cluster
|
db-parameter-group
| db-security-group
|
db-snapshot
| db-cluster-snapshot
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: '2014-10-31',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeEventCategoriesMessage'],
shapes: shapes,
resultWrapper: 'DescribeEventCategoriesResult',
);
return EventCategoriesMessage.fromXml($result);
}