describeDBLogFiles method

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

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