AvailableCapacityPerAvailabilityZone¶
Structure Class¶
AvailableCapacityPerAvailabilityZone
dataclass
¶
Bases: _SerdeShape
Contains the unused capacity of a DB capacity reservation in one Availability Zone.
This data type is used as a response element in the following operations:
-
CancelDBCapacityReservation -
CreateDBCapacityReservation -
DescribeDBCapacityReservations -
ModifyDBCapacityReservation
Attributes¶
availability_zone
class-attribute
instance-attribute
¶
availability_zone: str | None = ...
The name of the Availability Zone.
available_capacity
class-attribute
instance-attribute
¶
available_capacity: int | None = ...
The number of DB instances that remain available in this Availability Zone. Amazon RDS decreases this value when a DB instance takes a unit of reserved capacity in this Availability Zone, and it increases this value when a DB instance releases that unit.
A DB instance with a pending modification also holds a unit of reserved
capacity. A DB instance has a pending modification when Amazon RDS
accepts a change to the DB instance and applies that change later,
during the maintenance window. Amazon RDS holds the unit from the time
that it accepts the request. To find a DB instance with a pending
modification, check PendingModifiedValues in the response of
DescribeDBInstances.
Amazon RDS reports available capacity only for a reservation that is in
the active state and not past its end date. Otherwise, this value is
0.