describe_pending_maintenance_actions
async
¶
describe_pending_maintenance_actions(
*,
config_overrides: Optional[AsyncRDSClientConfig] = 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, DB instances) that have at least one pending maintenance action.
This API follows an eventual consistency model. This means that the result of the DescribePendingMaintenanceActions command might not be immediately visible to all subsequent RDS commands. Keep this in mind when you use DescribePendingMaintenanceActions immediately after using a previous API command such as ApplyPendingMaintenanceActions.
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 DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes pending maintenance actions for the DB clusters identified by these ARNs. -
db-instance-id- Accepts DB instance identifiers and DB instance ARNs. The results list only includes pending maintenance actions for the DB instances identified by these ARNs.
-
-
marker(Optional[String], default:None) –An optional pagination token provided by a previous
DescribePendingMaintenanceActionsrequest. If this parameter is specified, the response includes only records beyond the marker, up to a number of records specified byMaxRecords. -
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 called a marker is included in the response so that you can retrieve the remaining results.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.
Examples:
To list resources with at least one pending maintenance action The following example lists the pending maintenace action for a DB instance.
Source code in docs_src/capo_rds/_services/async_rds.py
9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 | |