ModifyCapacityReservation
Modifies the capacity reservation of the specified load balancer.
When modifying capacity reservation, you must include at least one MinimumLoadBalancerCapacity
or ResetCapacityReservation
.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- LoadBalancerArn
-
The Amazon Resource Name (ARN) of the load balancer.
Type: String
Required: Yes
- MinimumLoadBalancerCapacity
-
The minimum load balancer capacity reserved.
Type: MinimumLoadBalancerCapacity object
Required: No
- ResetCapacityReservation
-
Resets the capacity reservation.
Type: Boolean
Required: No
Response Elements
The following elements are returned by the service.
- CapacityReservationState.member.N
-
The state of the capacity reservation.
Type: Array of ZonalCapacityReservationState objects
- DecreaseRequestsRemaining
-
The amount of daily capacity decreases remaining.
Type: Integer
- LastModifiedTime
-
The last time the capacity reservation was modified.
Type: Timestamp
- MinimumLoadBalancerCapacity
-
The requested minimum capacity reservation for the load balancer
Type: MinimumLoadBalancerCapacity object
Errors
For information about the errors that are common to all actions, see Common Errors.
- CapacityDecreaseRequestLimitExceeded
-
You've exceeded the daily capacity decrease limit for this reservation.
HTTP Status Code: 400
- CapacityReservationPending
-
There is a pending capacity reservation.
HTTP Status Code: 400
- CapacityUnitsLimitExceeded
-
You've exceeded the capacity units limit.
HTTP Status Code: 400
- InsufficientCapacity
-
There is insufficient capacity to reserve.
HTTP Status Code: 500
- InvalidConfigurationRequest
-
The requested configuration is not valid.
HTTP Status Code: 400
- LoadBalancerNotFound
-
The specified load balancer does not exist.
HTTP Status Code: 400
- OperationNotPermitted
-
This operation is not allowed.
HTTP Status Code: 400
- PriorRequestNotComplete
-
This operation is not allowed while a prior request has not been completed.
HTTP Status Code: 429
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: