Module Values.PublishLayerVersionRequestSource

Creates an Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created. Add layers to your function with CreateFunction or UpdateFunctionConfiguration.

Sourcetype nonrec t = {
  1. layerName : LayerName.t;
    (*

    The name or Amazon Resource Name (ARN) of the layer.

    *)
  2. description : Description.t option;
    (*

    The description of the version.

    *)
  3. content : LayerVersionContentInput.t;
    (*

    The function layer archive.

    *)
  4. compatibleRuntimes : CompatibleRuntimes.t option;
    (*

    A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions. The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

    *)
  5. licenseInfo : LicenseInfo.t option;
    (*

    The layer's software license. It can be any of the following: An SPDX license identifier. For example, MIT. The URL of a license hosted on the internet. For example, https://opensource.org/licenses/MIT. The full text of the license.

    *)
  6. compatibleArchitectures : CompatibleArchitectures.t option;
    (*

    A list of compatible instruction set architectures.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?compatibleRuntimes:??? -> ?licenseInfo:??? -> ?compatibleArchitectures:??? -> layerName:LayerName.t -> content:LayerVersionContentInput.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Enum of string ] list | `String of LayerName.t | `Structure of (string * [> `Blob of Blob.t | `String of S3Bucket.t ]) list ]) 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