describeDBInstances method
May throw DBInstanceNotFoundFault.
Implementation
Future<DBInstanceMessage> describeDBInstances({
String? dBInstanceIdentifier,
List<Filter>? filters,
String? marker,
int? maxRecords,
}) async {
final $request = <String, dynamic>{};
dBInstanceIdentifier?.also((arg) => $request['DBInstanceIdentifier'] = arg);
filters?.also((arg) => $request['Filters'] = arg);
marker?.also((arg) => $request['Marker'] = arg);
maxRecords?.also((arg) => $request['MaxRecords'] = arg);
final $result = await _protocol.send(
$request,
action: 'DescribeDBInstances',
version: '2013-09-09',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeDBInstancesMessage'],
shapes: shapes,
resultWrapper: 'DescribeDBInstancesResult',
);
return DBInstanceMessage.fromXml($result);
}