Skip to content

AvailableCapacityPerAvailabilityZone

Source code in docs_src/capo_rds/types/available_capacity_per_availability_zone.py
class AvailableCapacityPerAvailabilityZone(TypedDict, closed=True):
    availability_zone: NotRequired["capo_rds.types.string.String"]
    """<p>The name of the Availability Zone.</p>"""
    available_capacity: NotRequired["capo_rds.types.integer_optional.IntegerOptional"]
    """<p>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.</p> <p>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 <code>PendingModifiedValues</code> in the response of <code>DescribeDBInstances</code>.</p> <p>Amazon RDS reports available capacity only for a reservation that is in the <code>active</code> state and not past its end date. Otherwise, this value is <code>0</code>.</p>"""

availability_zone instance-attribute

availability_zone: NotRequired[String]

The name of the Availability Zone.

available_capacity instance-attribute

available_capacity: NotRequired[IntegerOptional]

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.