Skip to content

/AWS1/CL_LMD=>REMOVELAYERVERSIONPERMISSION()

About RemoveLayerVersionPermission

Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

Method Signature

IMPORTING

Required arguments:

IV_LAYERNAME TYPE /AWS1/LMDLAYERNAME /AWS1/LMDLAYERNAME

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

IV_VERSIONNUMBER TYPE /AWS1/LMDLAYERVERSIONNUMBER /AWS1/LMDLAYERVERSIONNUMBER

The version number.

IV_STATEMENTID TYPE /AWS1/LMDSTATEMENTID /AWS1/LMDSTATEMENTID

The identifier that was specified when the statement was added.

Optional arguments:

IV_REVISIONID TYPE /AWS1/LMDSTRING /AWS1/LMDSTRING

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.