describeEventSubscriptions method

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

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