describeReservedDBInstancesOfferings method

Future<ReservedDBInstancesOfferingMessage> describeReservedDBInstancesOfferings({
  1. String? dBInstanceClass,
  2. String? duration,
  3. List<Filter>? filters,
  4. String? marker,
  5. int? maxRecords,
  6. bool? multiAZ,
  7. String? offeringType,
  8. String? productDescription,
  9. String? reservedDBInstancesOfferingId,
})

Implementation

Future<ReservedDBInstancesOfferingMessage>
    describeReservedDBInstancesOfferings({
  String? dBInstanceClass,
  String? duration,
  List<Filter>? filters,
  String? marker,
  int? maxRecords,
  bool? multiAZ,
  String? offeringType,
  String? productDescription,
  String? reservedDBInstancesOfferingId,
}) async {
  final $request = <String, dynamic>{};
  dBInstanceClass?.also((arg) => $request['DBInstanceClass'] = arg);
  duration?.also((arg) => $request['Duration'] = arg);
  filters?.also((arg) => $request['Filters'] = 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);
  reservedDBInstancesOfferingId
      ?.also((arg) => $request['ReservedDBInstancesOfferingId'] = arg);
  final $result = await _protocol.send(
    $request,
    action: 'DescribeReservedDBInstancesOfferings',
    version: '2013-09-09',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeReservedDBInstancesOfferingsMessage'],
    shapes: shapes,
    resultWrapper: 'DescribeReservedDBInstancesOfferingsResult',
  );
  return ReservedDBInstancesOfferingMessage.fromXml($result);
}