describeReservedDBInstancesOfferings method
May throw ReservedDBInstancesOfferingNotFoundFault.
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);
}