describeEventSubscriptions method

Future<EventSubscriptionsMessage> describeEventSubscriptions({
  1. List<Filter>? filters,
  2. String? marker,
  3. int? maxRecords,
  4. String? subscriptionName,
})

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);
}