Module Values.DescribeScalingPoliciesInputSource

This 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.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. 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.

    *)
  3. 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.

    *)
  4. 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.

    *)
  5. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?statusFilter:??? -> ?limit:??? -> ?nextToken:??? -> ?location:??? -> fleetId:FleetIdOrArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of PositiveInteger.t | `String of FleetIdOrArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t