Skip to content

RDS  >  Structures  >  DBCapacityReservationCommitmentInfo

DBCapacityReservationCommitmentInfo

Structure Class

DBCapacityReservationCommitmentInfo dataclass

Bases: _SerdeShape

Contains the capacity commitment details of a DB capacity reservation, including the number of committed DB instances in each Availability Zone and the end date of the commitment period. Amazon RDS holds the committed capacity until the commitment ends. Amazon RDS rejects a request to cancel a reservation in the active state, and a request to reduce the reserved capacity below the commitment.

This data type is used as a response element in the following operations:

  • CancelDBCapacityReservation

  • CreateDBCapacityReservation

  • DescribeDBCapacityReservations

  • ModifyDBCapacityReservation

Attributes

commitment_end_date class-attribute instance-attribute
commitment_end_date: datetime | None = ...

The date and time when the commitment ends, in Universal Coordinated Time (UTC). This date reports the capacity commitment that Amazon RDS granted.

Amazon RDS can grant a shorter capacity commitment than you request in CommitmentDuration. Therefore, this date can fall earlier than StartDate plus CommitmentDuration.

committed_capacity_per_availability_zone class-attribute instance-attribute
committed_capacity_per_availability_zone: int | None = ...

The number of DB instances that Amazon RDS holds in each Availability Zone of the reservation for the length of the commitment.