Module Values.GetPackageVersionAssetResultSource

Returns an asset (or file) that is in a package. For example, for a Maven package version, use GetPackageVersionAsset to download a JAR file, a POM file, or any other assets in the package version.

Sourcetype nonrec t = {
  1. asset : Asset.t option;
    (*

    The binary file, or asset, that is downloaded.

    *)
  2. assetName : AssetName.t option;
    (*

    The name of the asset that is downloaded.

    *)
  3. packageVersion : PackageVersion.t option;
    (*

    A string that contains the package version (for example, 3.5.2).

    *)
  4. packageVersionRevision : PackageVersionRevision.t option;
    (*

    The name of the package version revision that contains the downloaded asset.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `ValidationException of ValidationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?asset:??? -> ?assetName:??? -> ?packageVersion:??? -> ?packageVersionRevision:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.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, AssetName.t) Awso.Import.List.Assoc.t * Asset.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of Asset.t | `String of AssetName.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