describePendingMaintenanceActions method
Returns a list of resources (for example, instances) that have at least one pending maintenance action.
May throw ResourceNotFoundFault.
Parameter filters :
A filter that specifies one or more resources to return pending
maintenance actions for.
Supported filters:
- 
db-cluster-id- Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list includes only pending maintenance actions for the clusters identified by these ARNs.
- 
db-instance-id- Accepts instance identifiers and instance ARNs. The results list includes only pending maintenance actions for the DB instances identified by these ARNs.
Parameter marker :
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords.
Parameter maxRecords :
The maximum number of records to include in the response. If more records
exist than the specified MaxRecords value, a pagination token
(marker) is included in the response so that the remaining results can be
retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
Parameter resourceIdentifier :
The ARN of a resource to return pending maintenance actions for.
Implementation
Future<PendingMaintenanceActionsMessage> describePendingMaintenanceActions({
  List<Filter>? filters,
  String? marker,
  int? maxRecords,
  String? resourceIdentifier,
}) async {
  final $request = <String, dynamic>{};
  filters?.also((arg) => $request['Filters'] = arg);
  marker?.also((arg) => $request['Marker'] = arg);
  maxRecords?.also((arg) => $request['MaxRecords'] = arg);
  resourceIdentifier?.also((arg) => $request['ResourceIdentifier'] = arg);
  final $result = await _protocol.send(
    $request,
    action: 'DescribePendingMaintenanceActions',
    version: '2014-10-31',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribePendingMaintenanceActionsMessage'],
    shapes: shapes,
    resultWrapper: 'DescribePendingMaintenanceActionsResult',
  );
  return PendingMaintenanceActionsMessage.fromXml($result);
}