Module Values.DescribeConsumableResourceResponseSource

Returns a description of the specified consumable resource.

Sourcetype nonrec t = {
  1. consumableResourceName : String_.t option;
    (*

    The name of the consumable resource.

    *)
  2. consumableResourceArn : String_.t option;
    (*

    The Amazon Resource Name (ARN) of the consumable resource.

    *)
  3. totalQuantity : Long.t option;
    (*

    The total amount of the consumable resource that is available.

    *)
  4. inUseQuantity : Long.t option;
    (*

    The amount of the consumable resource that is currently in use.

    *)
  5. availableQuantity : Long.t option;
    (*

    The amount of the consumable resource that is currently available to use.

    *)
  6. resourceType : String_.t option;
    (*

    Indicates whether the resource is available to be re-used after a job completes. Can be one of: REPLENISHABLE NON_REPLENISHABLE

    *)
  7. createdAt : Long.t option;
    (*

    The Unix timestamp (in milliseconds) for when the consumable resource was created.

    *)
  8. tags : TagrisTagsMap.t option;
    (*

    The tags that you apply to the consumable resource to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.

    *)
}
Sourcetype nonrec error = [
  1. | `ClientException of ClientException.t
  2. | `ServerException of ServerException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?consumableResourceName:??? -> ?consumableResourceArn:??? -> ?totalQuantity:??? -> ?inUseQuantity:??? -> ?availableQuantity:??? -> ?resourceType:??? -> ?createdAt:??? -> ?tags:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ClientException of ClientException.t | `ServerException of ServerException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ClientException of ClientException.t | `ServerException of ServerException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Long.t | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of String_.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