Module Values_1.CapacityManagerDimensionSource

Represents dimension values for capacity metrics, including resource identifiers, geographic information, and reservation details used for grouping and filtering capacity data.

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

    The Amazon Web Services Region where the capacity resource is located.

    *)
  2. availabilityZoneId : Values_0.String_.t option;
    (*

    The unique identifier of the Availability Zone where the capacity resource is located.

    *)
  3. accountId : Values_0.String_.t option;
    (*

    The Amazon Web Services account ID that owns the capacity resource.

    *)
  4. accountName : Values_0.String_.t option;
    (*

    The name of the Amazon Web Services account that owns the capacity resource. This dimension is only available when Organizations access is enabled for Capacity Manager.

    *)
  5. instanceFamily : Values_0.String_.t option;
    (*

    The EC2 instance family of the capacity resource.

    *)
  6. instanceType : Values_0.String_.t option;
    (*

    The specific EC2 instance type of the capacity resource.

    *)
  7. instancePlatform : Values_0.String_.t option;
    (*

    The platform or operating system of the instance.

    *)
  8. reservationArn : Values_0.String_.t option;
    (*

    The Amazon Resource Name (ARN) of the capacity reservation. This provides a unique identifier that can be used across Amazon Web Services services to reference the specific reservation.

    *)
  9. reservationId : Values_0.String_.t option;
    (*

    The unique identifier of the capacity reservation.

    *)
  10. reservationType : Values_0.ReservationType.t option;
    (*

    The type of capacity reservation.

    *)
  11. reservationCreateTimestamp : Values_0.MillisecondDateTime.t option;
    (*

    The timestamp when the capacity reservation was originally created, in milliseconds since epoch. This differs from the start timestamp as reservations can be created before they become active.

    *)
  12. reservationStartTimestamp : Values_0.MillisecondDateTime.t option;
    (*

    The timestamp when the capacity reservation becomes active and available for use, in milliseconds since epoch. This is when the reservation begins providing capacity.

    *)
  13. reservationEndTimestamp : Values_0.MillisecondDateTime.t option;
    (*

    The timestamp when the capacity reservation expires and is no longer available, in milliseconds since epoch. After this time, the reservation will not provide any capacity.

    *)
  14. reservationEndDateType : Values_0.ReservationEndDateType.t option;
    (*

    The type of end date for the capacity reservation. This indicates whether the reservation has a fixed end date, is open-ended, or follows a specific termination pattern.

    *)
  15. tenancy : Values_0.CapacityTenancy.t option;
    (*

    The tenancy of the EC2 instances associated with this capacity dimension. Valid values are 'default' for shared tenancy, 'dedicated' for dedicated instances, or 'host' for dedicated hosts.

    *)
  16. reservationState : Values_0.ReservationState.t option;
    (*

    The current state of the capacity reservation.

    *)
  17. reservationInstanceMatchCriteria : Values_0.String_.t option;
    (*

    The instance matching criteria for the capacity reservation, determining how instances are matched to the reservation.

    *)
  18. reservationUnusedFinancialOwner : Values_0.String_.t option;
    (*

    The Amazon Web Services account ID that is financially responsible for unused capacity reservation costs.

    *)
  19. tags : Values_0.CapacityManagerTagDimensionSet.t option;
    (*

    The tags associated with the capacity resource, represented as key-value pairs. Only tags that have been activated for monitoring via UpdateCapacityManagerMonitoredTagKeys are included.

    *)
}
Sourceval make : ?resourceRegion:??? -> ?availabilityZoneId:??? -> ?accountId:??? -> ?accountName:??? -> ?instanceFamily:??? -> ?instanceType:??? -> ?instancePlatform:??? -> ?reservationArn:??? -> ?reservationId:??? -> ?reservationType:??? -> ?reservationCreateTimestamp:??? -> ?reservationStartTimestamp:??? -> ?reservationEndTimestamp:??? -> ?reservationEndDateType:??? -> ?tenancy:??? -> ?reservationState:??? -> ?reservationInstanceMatchCriteria:??? -> ?reservationUnusedFinancialOwner:??? -> ?tags:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of Values_0.String_.t | `Timestamp of Values_0.MillisecondDateTime.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