describeDBLogFiles method
May throw DBInstanceNotFoundFault.
Implementation
Future<DescribeDBLogFilesResponse> describeDBLogFiles({
required String dBInstanceIdentifier,
int? fileLastWritten,
int? fileSize,
String? filenameContains,
List<Filter>? filters,
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);
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: 'DescribeDBLogFiles',
version: '2013-09-09',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeDBLogFilesMessage'],
shapes: shapes,
resultWrapper: 'DescribeDBLogFilesResult',
);
return DescribeDBLogFilesResponse.fromXml($result);
}