Module Values_2.CapacityBlockExtensionSource

Describes a Capacity Block extension. With an extension, you can extend the duration of time for an existing Capacity Block.

Sourcetype nonrec t = {
  1. capacityReservationId : Values_0.CapacityReservationId.t option;
    (*

    The reservation ID of the Capacity Block extension.

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

    The instance type of the Capacity Block extension.

    *)
  3. instanceCount : Values_0.Integer.t option;
    (*

    The number of instances in the Capacity Block extension.

    *)
  4. availabilityZone : Values_0.AvailabilityZoneName.t option;
    (*

    The Availability Zone of the Capacity Block extension.

    *)
  5. availabilityZoneId : Values_0.AvailabilityZoneId.t option;
    (*

    The Availability Zone ID of the Capacity Block extension.

    *)
  6. capacityBlockExtensionOfferingId : Values_1.OfferingId.t option;
    (*

    The ID of the Capacity Block extension offering.

    *)
  7. capacityBlockExtensionDurationHours : Values_0.Integer.t option;
    (*

    The duration of the Capacity Block extension in hours.

    *)
  8. capacityBlockExtensionStatus : Values_1.CapacityBlockExtensionStatus.t option;
    (*

    The status of the Capacity Block extension. A Capacity Block extension can have one of the following statuses: payment-pending - The Capacity Block extension payment is processing. If your payment can't be processed within 12 hours, the Capacity Block extension is failed. payment-failed - Payment for the Capacity Block extension request was not successful. payment-succeeded - Payment for the Capacity Block extension request was successful. You receive an invoice that reflects the one-time upfront payment. In the invoice, you can associate the paid amount with the Capacity Block reservation ID.

    *)
  9. capacityBlockExtensionPurchaseDate : Values_0.MillisecondDateTime.t option;
    (*

    The date when the Capacity Block extension was purchased.

    *)
  10. capacityBlockExtensionStartDate : Values_0.MillisecondDateTime.t option;
    (*

    The start date of the Capacity Block extension.

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

    The end date of the Capacity Block extension.

    *)
  12. upfrontFee : Values_0.String_.t option;
    (*

    The total price to be paid up front.

    *)
  13. currencyCode : Values_0.String_.t option;
    (*

    The currency of the payment for the Capacity Block extension.

    *)
  14. zoneType : Values_0.String_.t option;
    (*

    The type of zone where the Capacity Block extension is located.

    *)
}
Sourceval make : ?capacityReservationId:??? -> ?instanceType:??? -> ?instanceCount:??? -> ?availabilityZone:??? -> ?availabilityZoneId:??? -> ?capacityBlockExtensionOfferingId:??? -> ?capacityBlockExtensionDurationHours:??? -> ?capacityBlockExtensionStatus:??? -> ?capacityBlockExtensionPurchaseDate:??? -> ?capacityBlockExtensionStartDate:??? -> ?capacityBlockExtensionEndDate:??? -> ?upfrontFee:??? -> ?currencyCode:??? -> ?zoneType:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Values_0.Integer.t | `String of Values_0.CapacityReservationId.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