modifyCapacityReservation
inline suspend fun Ec2Client.modifyCapacityReservation(crossinline block: ModifyCapacityReservationRequest.Builder.() -> Unit): ModifyCapacityReservationResponse
Modifies a Capacity Reservation's capacity and the conditions under which it is to be released. You cannot change a Capacity Reservation's instance type, EBS optimization, instance store settings, platform, Availability Zone, or instance eligibility. If you need to modify any of these attributes, we recommend that you cancel the Capacity Reservation, and then create a new one with the required attributes.