describeDBLogFiles method

Future<DescribeDBLogFilesResponse> describeDBLogFiles({
  1. required String dBInstanceIdentifier,
  2. int? fileLastWritten,
  3. int? fileSize,
  4. String? filenameContains,
  5. String? marker,
  6. int? maxRecords,
})

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