CmdID / aws / aws lambda
aws lambda remove-permission
Revokes function-use permission from an Amazon Web Services service or another Amazon Web Services account. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--function-nameThe name or ARN of the Lambda function, version, or alias.--qualifierSpecify a version or alias to remove permissions from a published version of the function.--revision-idUpdate the policy only if the revision ID matches the ID that's specified.--statement-idStatement ID of the permission to remove.