For some Lambda operations, like lambda.UpdateAlias and lambda.DeleteAlias, the error message when an alias does not exist does not match the error message AWS raises.
Also, when deleting a function url config, we currently do not know if only specifying the function name (without a qualifier) will also delete the function url configs of all aliases.
Expected Behavior
Correct error messages returned for Lambda alias handling
Proper behavior when deleting a function url config without specifying a qualifier if there are function url configs for aliases.
How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
How are you starting localstack (e.g., bin/localstack command, arguments, or docker-compose.yml)
DEBUG=1 docker compose up
Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
Is there an existing issue for this?
Current Behavior
For some Lambda operations, like
lambda.UpdateAlias
andlambda.DeleteAlias
, the error message when an alias does not exist does not match the error message AWS raises.Also, when deleting a function url config, we currently do not know if only specifying the function name (without a qualifier) will also delete the function url configs of all aliases.
Expected Behavior
Correct error messages returned for Lambda alias handling
Proper behavior when deleting a function url config without specifying a qualifier if there are function url configs for aliases.
How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
How are you starting localstack (e.g.,
bin/localstack
command, arguments, ordocker-compose.yml
)Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
I don't have a command for the delete function url config issue yet
Environment
Anything else?
No response