describe_pending_maintenance_actions
async
¶
describe_pending_maintenance_actions(
*,
config_overrides: Optional[AsyncDocDBClientConfig] = None,
resource_identifier: Optional[String] = None,
filters: Optional[FilterList] = None,
marker: Optional[String] = None,
max_records: Optional[IntegerOptional] = None,
) -> PendingMaintenanceActionsMessage
Returns a list of resources (for example, instances) that have at least one pending maintenance action.
Parameters:
-
resource_identifier(Optional[String], default:None) –The ARN of a resource to return pending maintenance actions for.
-
filters(Optional[FilterList], default:None) –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.
-
-
marker(Optional[String], default:None) –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. -
max_records(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, a pagination token (marker) is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
Raises:
-
ResourceNotFoundFault–The specified resource ID was not found.
-
UnknownServiceError–The service returned an error code this client does not model.