Module Smaws_Client_ElasticLoadBalancingv2.ModifyCapacityReservation

Modifies the capacity reservation of the specified load balancer.

When modifying capacity reservation, you must include at least one MinimumLoadBalancerCapacity or ResetCapacityReservation.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `CapacityDecreaseRequestsLimitExceededException of Types.capacity_decrease_requests_limit_exceeded_exception | `CapacityReservationPendingException of Types.capacity_reservation_pending_exception | `CapacityUnitsLimitExceededException of Types.capacity_units_limit_exceeded_exception | `InsufficientCapacityException of Types.insufficient_capacity_exception | `InvalidConfigurationRequestException of Types.invalid_configuration_request_exception | `LoadBalancerNotFoundException of Types.load_balancer_not_found_exception | `OperationNotPermittedException of Types.operation_not_permitted_exception | `PriorRequestNotCompleteException of Types.prior_request_not_complete_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.modify_capacity_reservation_input -> (Types.modify_capacity_reservation_output, [> Smaws_Lib.Protocols.AwsQuery.error | `CapacityDecreaseRequestsLimitExceededException of Types.capacity_decrease_requests_limit_exceeded_exception | `CapacityReservationPendingException of Types.capacity_reservation_pending_exception | `CapacityUnitsLimitExceededException of Types.capacity_units_limit_exceeded_exception | `InsufficientCapacityException of Types.insufficient_capacity_exception | `InvalidConfigurationRequestException of Types.invalid_configuration_request_exception | `LoadBalancerNotFoundException of Types.load_balancer_not_found_exception | `OperationNotPermittedException of Types.operation_not_permitted_exception | `PriorRequestNotCompleteException of Types.prior_request_not_complete_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.modify_capacity_reservation_input -> (Types.modify_capacity_reservation_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `CapacityDecreaseRequestsLimitExceededException of Types.capacity_decrease_requests_limit_exceeded_exception | `CapacityReservationPendingException of Types.capacity_reservation_pending_exception | `CapacityUnitsLimitExceededException of Types.capacity_units_limit_exceeded_exception | `InsufficientCapacityException of Types.insufficient_capacity_exception | `InvalidConfigurationRequestException of Types.invalid_configuration_request_exception | `LoadBalancerNotFoundException of Types.load_balancer_not_found_exception | `OperationNotPermittedException of Types.operation_not_permitted_exception | `PriorRequestNotCompleteException of Types.prior_request_not_complete_exception ] * Smaws_Lib.Response.metadata) Stdlib.result