Module Values.GetLimitResponseSource

Domain fields for Limit summary/response shapes, ordered before timestamps.

Sourcetype nonrec t = {
  1. farmId : FarmId.t option;
    (*

    The unique identifier of the farm that contains the limit.

    *)
  2. limitId : LimitId.t option;
    (*

    The unique identifier of the limit.

    *)
  3. currentCount : MinZeroMaxInteger.t option;
    (*

    The number of resources from the limit that are being used by jobs. The result is delayed and may not be the count at the time that you called the operation.

    *)
  4. createdAt : CreatedAt.t option;
    (*

    The Unix timestamp of the date and time that the limit was created.

    *)
  5. createdBy : CreatedBy.t option;
    (*

    The user identifier of the person that created the limit.

    *)
  6. updatedAt : UpdatedAt.t option;
    (*

    The Unix timestamp of the date and time that the limit was last updated.

    *)
  7. updatedBy : UpdatedBy.t option;
    (*

    The user identifier of the person that last updated the limit.

    *)
  8. displayName : ResourceName.t option;
    (*

    The display name of the limit. This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

    *)
  9. amountRequirementName : AmountRequirementName.t option;
    (*

    The value that you specify as the name in the amounts field of the hostRequirements in a step of a job template to declare the limit requirement.

    *)
  10. maxCount : MaxCount.t option;
    (*

    The maximum number of resources constrained by this limit. When all of the resources are in use, steps that require the limit won't be scheduled until the resource is available. The maxValue must not be 0. If the value is -1, there is no restriction on the number of resources that can be acquired for this limit.

    *)
  11. description : Description.t option;
    (*

    The description of the limit that helps identify what the limit is used for. This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerErrorException of InternalServerErrorException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?farmId:??? -> ?limitId:??? -> ?currentCount:??? -> ?createdAt:??? -> ?createdBy:??? -> ?updatedAt:??? -> ?updatedBy:??? -> ?displayName:??? -> ?amountRequirementName:??? -> ?maxCount:??? -> ?description:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerErrorException of InternalServerErrorException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerErrorException of InternalServerErrorException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of MinZeroMaxInteger.t | `String of FarmId.t | `Timestamp of CreatedAt.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