describeEventSubscriptions method
May throw SubscriptionNotFoundFault.
Implementation
Future<EventSubscriptionsMessage> describeEventSubscriptions({
String? marker,
int? maxRecords,
String? subscriptionName,
}) async {
final $request = <String, dynamic>{};
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-02-12',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeEventSubscriptionsMessage'],
shapes: shapes,
resultWrapper: 'DescribeEventSubscriptionsResult',
);
return EventSubscriptionsMessage.fromXml($result);
}