### Is there an existing issue for this?

- [X] I have searched the existing issues

### Enhancement description

AWS Lambda recently added support for Java 17 as managed runtime:
https://aws.amazon.com/about-aws/whats-new/2023/04/aws-lambda-java-17/



### 🧑‍💻 Implementation

_No response_

### Anything else?

_No response_
)
        snapshot.match("tag_resource_response", tag_resource_response)
        snapshot_tags_for_resource(fn_arn, "postaddtags")
        tag_resource_response = aws_client.awslambda.tag_resource(
            Resource=fn_arn,
            Tags={
                "key_b": "value_b",
                "key_c": "value_x",
            },
        )
        snapshot.match("tag_resource_overwrite", tag_resource_response)
        snapshot_tags_for_resource(fn_arn, "overwrite")
        
        aws_client.awslambda.untag_resource(Resource=fn_arn, TagKeys=["key_c", "key_d"])
        snapshot_tags_for_resource(fn_arn, "postuntag")
        
        aws_client.awslambda.untag_resource(Resource=fn_arn, TagKeys=["key_a", "key_b", "key_e"])
        snapshot_tags_for_resource(fn_arn, "postuntagall")
        aws_client.awslambda.delete_function(FunctionName=function_name)
        with pytest.raises(aws_client.awslambda.exceptions.ResourceNotFoundException) as e:
            aws_client.awslambda.list_tags(Resource=fn_arn)
        snapshot.match("list_tags_postdelete", e.value.response)
@pytest.mark.skipif(condition=is_old_provider(), reason="not supported")
class TestLambdaLayer:
    @pytest.mark.aws_validated
    def test_layer_exceptions(
        self, create_lambda_function, snapshot, dummylayer, cleanups, aws_client
    ):
        """
        API-level exceptions and edge cases for lambda layers