describeReservedDBInstances method
May throw ReservedDBInstanceNotFoundFault.
Implementation
Future<ReservedDBInstanceMessage> describeReservedDBInstances({
String? dBInstanceClass,
String? duration,
String? marker,
int? maxRecords,
bool? multiAZ,
String? offeringType,
String? productDescription,
String? reservedDBInstanceId,
String? reservedDBInstancesOfferingId,
}) async {
final $request = <String, dynamic>{};
dBInstanceClass?.also((arg) => $request['DBInstanceClass'] = arg);
duration?.also((arg) => $request['Duration'] = arg);
marker?.also((arg) => $request['Marker'] = arg);
maxRecords?.also((arg) => $request['MaxRecords'] = arg);
multiAZ?.also((arg) => $request['MultiAZ'] = arg);
offeringType?.also((arg) => $request['OfferingType'] = arg);
productDescription?.also((arg) => $request['ProductDescription'] = arg);
reservedDBInstanceId?.also((arg) => $request['ReservedDBInstanceId'] = arg);
reservedDBInstancesOfferingId
?.also((arg) => $request['ReservedDBInstancesOfferingId'] = arg);
final $result = await _protocol.send(
$request,
action: 'DescribeReservedDBInstances',
version: '2013-01-10',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeReservedDBInstancesMessage'],
shapes: shapes,
resultWrapper: 'DescribeReservedDBInstancesResult',
);
return ReservedDBInstanceMessage.fromXml($result);
}