Values.PublishLayerVersionRequestSourceCreates 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.
type nonrec t = {layerName : LayerName.t;The name or Amazon Resource Name (ARN) of the layer.
*)description : Description.t option;The description of the version.
*)content : LayerVersionContentInput.t;The function layer archive.
*)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.
*)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.
*)compatibleArchitectures : CompatibleArchitectures.t option;A list of compatible instruction set architectures.
*)}val make :
?description:??? ->
?compatibleRuntimes:??? ->
?licenseInfo:??? ->
?compatibleArchitectures:??? ->
layerName:LayerName.t ->
content:LayerVersionContentInput.t ->
unit ->
tval 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 ]