Learn R Programming

paws.compute (version 0.1.12)

lambda_remove_layer_version_permission: Removes a statement from the permissions policy for a version of an AWS Lambda layer

Description

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

Usage

lambda_remove_layer_version_permission(LayerName, VersionNumber,
  StatementId, RevisionId)

Value

An empty list.

Arguments

LayerName

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

VersionNumber

[required] The version number.

StatementId

[required] The identifier that was specified when the statement was added.

RevisionId

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.

Request syntax

svc$remove_layer_version_permission(
  LayerName = "string",
  VersionNumber = 123,
  StatementId = "string",
  RevisionId = "string"
)

Examples

Run this code
if (FALSE) {
# The following example deletes permission for an account to configure a
# layer version.
svc$remove_layer_version_permission(
  LayerName = "my-layer",
  StatementId = "xaccount",
  VersionNumber = 1L
)
}

Run the code above in your browser using DataLab