describeDBInstances method

Future<DBInstanceMessage> describeDBInstances({
  1. String? dBInstanceIdentifier,
  2. String? marker,
  3. int? maxRecords,
})

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);
}