describeOrderableDBInstanceOptions method
Implementation
Future<OrderableDBInstanceOptionsMessage> describeOrderableDBInstanceOptions({
required String engine,
String? dBInstanceClass,
String? engineVersion,
String? licenseModel,
String? marker,
int? maxRecords,
bool? vpc,
}) async {
ArgumentError.checkNotNull(engine, 'engine');
final $request = <String, dynamic>{};
$request['Engine'] = engine;
dBInstanceClass?.also((arg) => $request['DBInstanceClass'] = arg);
engineVersion?.also((arg) => $request['EngineVersion'] = arg);
licenseModel?.also((arg) => $request['LicenseModel'] = arg);
marker?.also((arg) => $request['Marker'] = arg);
maxRecords?.also((arg) => $request['MaxRecords'] = arg);
vpc?.also((arg) => $request['Vpc'] = arg);
final $result = await _protocol.send(
$request,
action: 'DescribeOrderableDBInstanceOptions',
version: '2013-01-10',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeOrderableDBInstanceOptionsMessage'],
shapes: shapes,
resultWrapper: 'DescribeOrderableDBInstanceOptionsResult',
);
return OrderableDBInstanceOptionsMessage.fromXml($result);
}