### 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_
FunctionName=function_name, EventSourceArn=stream_arn
            )
        response = e.value.response
        snapshot.match("error", response)
@pytest.mark.skipif(condition=is_old_provider(), reason="not correctly supported")
class TestLambdaTags:
    def test_tag_exceptions(self, create_lambda_function, snapshot, account_id, aws_client):
        function_name = f"fn-tag-{short_uid()}"
        create_lambda_function(
            handler_file=TEST_LAMBDA_PYTHON_ECHO,
            func_name=function_name,
            runtime=Runtime.python3_9,
        )
        function_arn = aws_client.awslambda.get_function(FunctionName=function_name)[
            "Configuration"
        ]["FunctionArn"]
        arn_prefix = (
            f"arn:aws:lambda:{aws_client.awslambda.meta.region_name}:{account_id}:function:"
        )
        
        with pytest.raises(aws_client.awslambda.exceptions.ClientError) as e:
            aws_client.awslambda.tag_resource(
                Resource="arn:aws:something", Tags={"key_a": "value_a"}
            )
        snapshot.match("tag_lambda_invalidarn", e.value.response)
        
        with pytest.raises(aws_client.awslambda.exceptions.ResourceNotFoundException) as e:
            aws_client.awslambda.tag_resource(
                Resource=f"{arn_prefix}doesnotexist", Tags={"key_a": "value_a"}
            )