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