Skip to content

PublishLayerVersionRequest

Source code in docs_src/capo_lambda/types/publish_layer_version_request.py
class PublishLayerVersionRequest(TypedDict, closed=True):
    layer_name: "capo_lambda.types.layer_name.LayerName"
    """<p>The name or Amazon Resource Name (ARN) of the layer.</p>"""
    description: NotRequired["capo_lambda.types.description.Description"]
    """<p>The description of the version.</p>"""
    content: "capo_lambda.types.layer_version_content_input.LayerVersionContentInput"
    """<p>The function layer archive.</p>"""
    compatible_architectures: NotRequired[
        "capo_lambda.types.compatible_architectures.CompatibleArchitectures"
    ]
    """<p>A list of compatible <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction set architectures</a>.</p>"""
    compatible_runtimes: NotRequired[
        "capo_lambda.types.compatible_runtimes.CompatibleRuntimes"
    ]
    """<p>A list of compatible <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">function runtimes</a>. Used for filtering with <a>ListLayers</a> and <a>ListLayerVersions</a>.</p> <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>"""
    license_info: NotRequired["capo_lambda.types.license_info.LicenseInfo"]
    """<p>The layer's software license. It can be any of the following:</p> <ul> <li> <p>An <a href="https://spdx.org/licenses/">SPDX license identifier</a>. For example, <code>MIT</code>.</p> </li> <li> <p>The URL of a license hosted on the internet. For example, <code>https://opensource.org/licenses/MIT</code>.</p> </li> <li> <p>The full text of the license.</p> </li> </ul>"""

compatible_architectures instance-attribute

compatible_architectures: NotRequired[CompatibleArchitectures]

A list of compatible instruction set architectures.

compatible_runtimes instance-attribute

compatible_runtimes: NotRequired[CompatibleRuntimes]

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.

content instance-attribute

The function layer archive.

description instance-attribute

description: NotRequired[Description]

The description of the version.

layer_name instance-attribute

layer_name: LayerName

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

license_info instance-attribute

license_info: NotRequired[LicenseInfo]

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.