Module Values_2.VolumeSource

Describes a volume.

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

    The ID of the Availability Zone for the volume.

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

    The Amazon Resource Name (ARN) of the Outpost.

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

    The ID of the source volume from which the volume copy was created. Only for volume copies.

    *)
  4. iops : Values_0.Integer.t option;
    (*

    The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

    *)
  5. tags : Values_0.TagList.t option;
    (*

    Any tags assigned to the volume.

    *)
  6. volumeType : Values_0.VolumeType.t option;
    (*

    The volume type.

    *)
  7. fastRestored : Values_0.Boolean.t option;
    (*

    This parameter is not returned by CreateVolume. Indicates whether the volume was created using fast snapshot restore.

    *)
  8. multiAttachEnabled : Values_0.Boolean.t option;
    (*

    Indicates whether Amazon EBS Multi-Attach is enabled.

    *)
  9. throughput : Values_0.Integer.t option;
    (*

    The throughput that the volume supports, in MiB/s.

    *)
  10. sseType : Values_1.SSEType.t option;
    (*

    This parameter is not returned by CreateVolume. Reserved for future use.

    *)
  11. operator : Values_0.OperatorResponse.t option;
    (*

    The service provider that manages the volume.

    *)
  12. volumeInitializationRate : Values_0.Integer.t option;
    (*

    The Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate) specified for the volume during creation, in MiB/s. If no volume initialization rate was specified, the value is null.

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

    The ID of the volume.

    *)
  14. size : Values_0.Integer.t option;
    (*

    The size of the volume, in GiBs.

    *)
  15. snapshotId : Values_0.String_.t option;
    (*

    The snapshot from which the volume was created, if applicable.

    *)
  16. availabilityZone : Values_0.String_.t option;
    (*

    The Availability Zone for the volume.

    *)
  17. state : Values_1.VolumeState.t option;
    (*

    The volume state.

    *)
  18. createTime : Values_0.DateTime.t option;
    (*

    The time stamp when volume creation was initiated.

    *)
  19. attachments : Values_1.VolumeAttachmentList.t option;
    (*

    This parameter is not returned by CreateVolume. Information about the volume attachments.

    *)
  20. encrypted : Values_0.Boolean.t option;
    (*

    Indicates whether the volume is encrypted.

    *)
  21. kmsKeyId : Values_0.String_.t option;
    (*

    The Amazon Resource Name (ARN) of the KMS key that was used to protect the volume encryption key for the volume.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?availabilityZoneId:??? -> ?outpostArn:??? -> ?sourceVolumeId:??? -> ?iops:??? -> ?tags:??? -> ?volumeType:??? -> ?fastRestored:??? -> ?multiAttachEnabled:??? -> ?throughput:??? -> ?sseType:??? -> ?operator:??? -> ?volumeInitializationRate:??? -> ?volumeId:??? -> ?size:??? -> ?snapshotId:??? -> ?availabilityZone:??? -> ?state:??? -> ?createTime:??? -> ?attachments:??? -> ?encrypted:??? -> ?kmsKeyId:??? -> 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 Values_0.Boolean.t | `Enum of string | `Integer of Values_0.Integer.t | `List of [> `Structure of (string * [> `Boolean of bool | `Enum of string | `Integer of int | `String of string | `Timestamp of string ]) list ] list | `String of Values_0.String_.t | `Structure of (string * [> `Boolean of bool | `String of string ]) list | `Timestamp of Values_0.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