describeReservedDBInstancesOfferings method

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

Implementation

Future<ReservedDBInstancesOfferingMessage>
    describeReservedDBInstancesOfferings({
  String? dBInstanceClass,
  String? duration,
  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);
  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-02-12',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeReservedDBInstancesOfferingsMessage'],
    shapes: shapes,
    resultWrapper: 'DescribeReservedDBInstancesOfferingsResult',
  );
  return ReservedDBInstancesOfferingMessage.fromXml($result);
}