describeOptionGroupOptions method
Describes all available options.
Parameter engineName
:
A required parameter. Options available for the given engine name are
described.
Parameter filters
:
This parameter isn't currently supported.
Parameter majorEngineVersion
:
If specified, filters the results to include only options for the
specified major engine version.
Parameter marker
:
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
Parameter maxRecords
:
The maximum number of records to include in the response. If more records
exist than the specified MaxRecords
value, a pagination token
called a marker is included in the response so that you can retrieve the
remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
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: '2014-10-31',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeOptionGroupOptionsMessage'],
shapes: shapes,
resultWrapper: 'DescribeOptionGroupOptionsResult',
);
return OptionGroupOptionsMessage.fromXml($result);
}