Module Values.GetSnapshotBlockResponseSource

Returns the data in a block in an Amazon Elastic Block Store snapshot. You should always retry requests that receive server (5xx) error responses, and ThrottlingException and RequestThrottledException client error responses. For more information see Error retries in the Amazon Elastic Compute Cloud User Guide.

Sourcetype nonrec t = {
  1. dataLength : DataLength.t option;
    (*

    The size of the data in the block.

    *)
  2. blockData : BlockData.t option;
    (*

    The data content of the block.

    *)
  3. checksum : Checksum.t option;
    (*

    The checksum generated for the block, which is Base64 encoded.

    *)
  4. checksumAlgorithm : ChecksumAlgorithm.t option;
    (*

    The algorithm used to generate the checksum for the block, such as SHA256.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `RequestThrottledException of RequestThrottledException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  6. | `ValidationException of ValidationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?dataLength:??? -> ?blockData:??? -> ?checksum:??? -> ?checksumAlgorithm:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `RequestThrottledException of RequestThrottledException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `RequestThrottledException of RequestThrottledException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ((string, Checksum.t) Awso.Import.List.Assoc.t * BlockData.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of BlockData.t | `Enum of string | `Integer of DataLength.t | `String of Checksum.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