ModifyDBCapacityReservationRequest
¶
Source code in docs_src/capo_rds/types/modify_db_capacity_reservation_request.py
capacity_per_availability_zone
instance-attribute
¶
capacity_per_availability_zone: NotRequired[IntegerOptional]
The new number of DB instances to reserve in each Availability Zone of the reservation. Amazon RDS applies this number to every Availability Zone of the reservation.
An increase reserves more capacity at the time of the request, so it can fail when the Amazon Web Services Region has insufficient capacity.
This value multiplied by the number of Availability Zones counts against the DB instances quota for your Amazon Web Services account in the Amazon Web Services Region. Amazon RDS checks the quota only when you increase the value.
Constraints:
-
Minimum 1.
-
Can't be less than the highest number of DB instances that use the reservation in any single Availability Zone of the reservation. That number includes a DB instance that holds a unit of reserved capacity for a pending modification. To find that number for an Availability Zone, subtract
AvailableCapacityfromReservedCapacityPerAvailabilityZone. -
During a capacity commitment, can't be less than
CommittedCapacityPerAvailabilityZone.
db_capacity_reservation_identifier
instance-attribute
¶
db_capacity_reservation_identifier: NotRequired[DBCapacityReservationIdentifier]
The identifier or the name of the DB capacity reservation to modify. You can specify the identifier, which has the prefix dbcr-, or the reservation name.
end_date
instance-attribute
¶
end_date: NotRequired[TStamp]
The new end date for the reservation, in Universal Coordinated Time (UTC). Required when EndDateType is limited. Don't specify a value when EndDateType is unlimited.
When you specify EndDate, you must also specify EndDateType.
Constraints:
-
Must be a date and time in the future.
-
During a capacity commitment, must be at or after
CommitmentEndDate.
end_date_type
instance-attribute
¶
end_date_type: NotRequired[EndDateType]
The end date type for the reservation.
Valid Values:
-
limited- The reservation has a specific end date. You must also specifyEndDate. -
unlimited- The reservation doesn't expire. Don't specifyEndDate.