describeOptionGroupOptions method

Future<OptionGroupOptionsMessage> describeOptionGroupOptions({
  1. required String engineName,
  2. List<Filter>? filters,
  3. String? majorEngineVersion,
  4. String? marker,
  5. int? maxRecords,
})

Implementation

Future<OptionGroupOptionsMessage> describeOptionGroupOptions({
  required String engineName,
  List<Filter>? filters,
  String? majorEngineVersion,
  String? marker,
  int? maxRecords,
}) async {
  ArgumentError.checkNotNull(engineName, 'engineName');
  final $request = <String, dynamic>{};
  $request['EngineName'] = engineName;
  filters?.also((arg) => $request['Filters'] = arg);
  majorEngineVersion?.also((arg) => $request['MajorEngineVersion'] = arg);
  marker?.also((arg) => $request['Marker'] = arg);
  maxRecords?.also((arg) => $request['MaxRecords'] = arg);
  final $result = await _protocol.send(
    $request,
    action: 'DescribeOptionGroupOptions',
    version: '2013-09-09',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeOptionGroupOptionsMessage'],
    shapes: shapes,
    resultWrapper: 'DescribeOptionGroupOptionsResult',
  );
  return OptionGroupOptionsMessage.fromXml($result);
}