Module Values.CurrentInstanceSource

Context about the current instance.

Sourcetype nonrec t = {
  1. resourceId : GenericString.t option;
    (*

    Resource ID of the current instance.

    *)
  2. instanceName : GenericString.t option;
    (*

    The name that you given an instance. This field shows as blank if you haven't given the instance a name.

    *)
  3. tags : TagValuesList.t option;
    (*

    Cost allocation resource tags that are applied to the instance.

    *)
  4. resourceDetails : ResourceDetails.t option;
    (*

    Details about the resource and utilization.

    *)
  5. resourceUtilization : ResourceUtilization.t option;
    (*

    Utilization information of the current instance during the lookback period.

    *)
  6. reservationCoveredHoursInLookbackPeriod : GenericString.t option;
    (*

    The number of hours during the lookback period that's covered by reservations.

    *)
  7. savingsPlansCoveredHoursInLookbackPeriod : GenericString.t option;
    (*

    The number of hours during the lookback period that's covered by Savings Plans.

    *)
  8. onDemandHoursInLookbackPeriod : GenericString.t option;
    (*

    The number of hours during the lookback period that's billed at On-Demand rates.

    *)
  9. totalRunningHoursInLookbackPeriod : GenericString.t option;
    (*

    The total number of hours that the instance ran during the lookback period.

    *)
  10. monthlyCost : GenericString.t option;
    (*

    The current On-Demand cost of operating this instance on a monthly basis.

    *)
  11. currencyCode : GenericString.t option;
    (*

    The currency code that Amazon Web Services used to calculate the costs for this instance.

    *)
}
Sourceval make : ?resourceId:??? -> ?instanceName:??? -> ?tags:??? -> ?resourceDetails:??? -> ?resourceUtilization:??? -> ?reservationCoveredHoursInLookbackPeriod:??? -> ?savingsPlansCoveredHoursInLookbackPeriod:??? -> ?onDemandHoursInLookbackPeriod:??? -> ?totalRunningHoursInLookbackPeriod:??? -> ?monthlyCost:??? -> ?currencyCode:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `Enum of string | `String of Value.t ] list | `String of TagKey.t ]) list ] list | `String of GenericString.t | `Structure of (string * [> `Structure of (string * [> `String of GenericString.t | `Structure of (string * [> `String of GenericString.t ]) list ]) list ]) list ]) 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