Module Values_0.VolumeAttachmentSource

Describes volume attachment details.

Sourcetype nonrec t = {
  1. deleteOnTermination : Boolean.t option;
    (*

    Indicates whether the EBS volume is deleted on instance termination.

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

    The ARN of the Amazon Web Services-managed resource to which the volume is attached.

    *)
  3. instanceOwningService : String_.t option;
    (*

    The service principal of the Amazon Web Services service that owns the underlying resource to which the volume is attached. This parameter is returned only for volumes that are attached to Amazon Web Services-managed resources.

    *)
  4. ebsCardIndex : Integer.t option;
    (*

    The index of the EBS card. Some instance types support multiple EBS cards. The default EBS card index is 0.

    *)
  5. volumeId : String_.t option;
    (*

    The ID of the volume.

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

    The ID of the instance. If the volume is attached to an Amazon Web Services-managed resource, this parameter returns null.

    *)
  7. device : String_.t option;
    (*

    The device name. If the volume is attached to an Amazon Web Services-managed resource, this parameter returns null.

    *)
  8. state : VolumeAttachmentState.t option;
    (*

    The attachment state of the volume.

    *)
  9. attachTime : DateTime.t option;
    (*

    The time stamp when the attachment initiated.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?deleteOnTermination:??? -> ?associatedResource:??? -> ?instanceOwningService:??? -> ?ebsCardIndex:??? -> ?volumeId:??? -> ?instanceId:??? -> ?device:??? -> ?state:??? -> ?attachTime:??? -> unit -> t
Sourceval error_of_json : 'a -> Yojson.Safe.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_of_xml : 'a -> Awso.Xml.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `String of String_.t | `Timestamp of DateTime.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