describeDBLogFiles method
May throw DBInstanceNotFoundFault.
Implementation
Future<DescribeDBLogFilesResponse> describeDBLogFiles({
required String dBInstanceIdentifier,
int? fileLastWritten,
int? fileSize,
String? filenameContains,
String? marker,
int? maxRecords,
}) async {
ArgumentError.checkNotNull(dBInstanceIdentifier, 'dBInstanceIdentifier');
final $request = <String, dynamic>{};
$request['DBInstanceIdentifier'] = dBInstanceIdentifier;
fileLastWritten?.also((arg) => $request['FileLastWritten'] = arg);
fileSize?.also((arg) => $request['FileSize'] = arg);
filenameContains?.also((arg) => $request['FilenameContains'] = arg);
marker?.also((arg) => $request['Marker'] = arg);
maxRecords?.also((arg) => $request['MaxRecords'] = arg);
final $result = await _protocol.send(
$request,
action: 'DescribeDBLogFiles',
version: '2013-02-12',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeDBLogFilesMessage'],
shapes: shapes,
resultWrapper: 'DescribeDBLogFilesResult',
);
return DescribeDBLogFilesResponse.fromXml($result);
}