describeReservedDBInstances method

Future<ReservedDBInstanceMessage> describeReservedDBInstances({
  1. String? dBInstanceClass,
  2. String? duration,
  3. String? marker,
  4. int? maxRecords,
  5. bool? multiAZ,
  6. String? offeringType,
  7. String? productDescription,
  8. String? reservedDBInstanceId,
  9. String? reservedDBInstancesOfferingId,
})

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-02-12',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeReservedDBInstancesMessage'],
    shapes: shapes,
    resultWrapper: 'DescribeReservedDBInstancesResult',
  );
  return ReservedDBInstanceMessage.fromXml($result);
}