describeEventSubscriptions method
May throw SubscriptionNotFoundFault.
Implementation
Future<EventSubscriptionsMessage> describeEventSubscriptions({
List<Filter>? filters,
String? marker,
int? maxRecords,
String? subscriptionName,
}) async {
final $request = <String, dynamic>{};
filters?.also((arg) => $request['Filters'] = arg);
marker?.also((arg) => $request['Marker'] = arg);
maxRecords?.also((arg) => $request['MaxRecords'] = arg);
subscriptionName?.also((arg) => $request['SubscriptionName'] = arg);
final $result = await _protocol.send(
$request,
action: 'DescribeEventSubscriptions',
version: '2013-09-09',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeEventSubscriptionsMessage'],
shapes: shapes,
resultWrapper: 'DescribeEventSubscriptionsResult',
);
return EventSubscriptionsMessage.fromXml($result);
}