Module Values.GetDownloadUrlForLayerResponseSource

Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can only get URLs for image layers that are referenced in an image. When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer that is not already cached. This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.

Sourcetype nonrec t = {
  1. downloadUrl : Url.t option;
    (*

    The pre-signed Amazon S3 download URL for the requested layer.

    *)
  2. layerDigest : LayerDigest.t option;
    (*

    The digest of the image layer to download.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidParameterException of InvalidParameterException.t
  2. | `LayerInaccessibleException of LayerInaccessibleException.t
  3. | `LayersNotFoundException of LayersNotFoundException.t
  4. | `RepositoryNotFoundException of RepositoryNotFoundException.t
  5. | `ServerException of ServerException.t
  6. | `UnableToGetUpstreamLayerException of UnableToGetUpstreamLayerException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?downloadUrl:??? -> ?layerDigest:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidParameterException of InvalidParameterException.t | `LayerInaccessibleException of LayerInaccessibleException.t | `LayersNotFoundException of LayersNotFoundException.t | `RepositoryNotFoundException of RepositoryNotFoundException.t | `ServerException of ServerException.t | `UnableToGetUpstreamLayerException of UnableToGetUpstreamLayerException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidParameterException of InvalidParameterException.t | `LayerInaccessibleException of LayerInaccessibleException.t | `LayersNotFoundException of LayersNotFoundException.t | `RepositoryNotFoundException of RepositoryNotFoundException.t | `ServerException of ServerException.t | `UnableToGetUpstreamLayerException of UnableToGetUpstreamLayerException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Url.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