describeOptionGroupOptions method

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

Implementation

Future<OptionGroupOptionsMessage> describeOptionGroupOptions({
  required String engineName,
  String? majorEngineVersion,
  String? marker,
  int? maxRecords,
}) async {
  ArgumentError.checkNotNull(engineName, 'engineName');
  final $request = <String, dynamic>{};
  $request['EngineName'] = engineName;
  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-01-10',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeOptionGroupOptionsMessage'],
    shapes: shapes,
    resultWrapper: 'DescribeOptionGroupOptionsResult',
  );
  return OptionGroupOptionsMessage.fromXml($result);
}