v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1466347371.7 KB

Removes a statement from the permissions policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda layer</a>. For more information, see <a>AddLayerVersionPermission</a>.

delete/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}

Path parameters

LayerNamestring required

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

VersionNumberinteger required

The version number.

StatementIdstring required

The identifier that was specified when the statement was added.

Query parameters

RevisionIdstring

Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.

Response

Success