Values.DescribeScalingPoliciesInputSourceThis API works with the following fleet types: EC2 Retrieves all scaling policies applied to a fleet. To get a fleet's scaling policies, specify the fleet ID. You can filter this request by policy status, such as to retrieve only active scaling policies. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, set of ScalingPolicy objects is returned for the fleet. A fleet may have all of its scaling policies suspended. This operation does not affect the status of the scaling policies, which remains ACTIVE.
type nonrec t = {fleetId : FleetIdOrArn.t;A unique identifier for the fleet for which to retrieve scaling policies. You can use either the fleet ID or ARN value.
*)statusFilter : ScalingStatusType.t option;Scaling policy status to filter results on. A scaling policy is only in force when in an ACTIVE status. ACTIVE -- The scaling policy is currently in force. UPDATEREQUESTED -- A request to update the scaling policy has been received. UPDATING -- A change is being made to the scaling policy. DELETEREQUESTED -- A request to delete the scaling policy has been received. DELETING -- The scaling policy is being deleted. DELETED -- The scaling policy has been deleted. ERROR -- An error occurred in creating the policy. It should be removed and recreated.
*)limit : PositiveInteger.t option;The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.
*)nextToken : NonZeroAndMaxString.t option;A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
*)location : LocationStringModel.t option;The fleet location. If you don't specify this value, the response contains the scaling policies of every location in the fleet.
*)}val make :
?statusFilter:??? ->
?limit:??? ->
?nextToken:??? ->
?location:??? ->
fleetId:FleetIdOrArn.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of PositiveInteger.t
| `String of FleetIdOrArn.t ])
list ]