### 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_
"get_layer_version_exc_layer_version_doesnotexist_negative", e.value.response
        )
        with pytest.raises(aws_client.awslambda.exceptions.InvalidParameterValueException) as e:
            aws_client.awslambda.get_layer_version(LayerName=layer_name, VersionNumber=0)
        snapshot.match("get_layer_version_exc_layer_version_doesnotexist_zero", e.value.response)
        with pytest.raises(aws_client.awslambda.exceptions.ResourceNotFoundException) as e:
            aws_client.awslambda.get_layer_version(LayerName=layer_name, VersionNumber=2)
        snapshot.match("get_layer_version_exc_layer_version_doesnotexist_2", e.value.response)
        with pytest.raises(aws_client.awslambda.exceptions.ClientError) as e:
            aws_client.awslambda.get_layer_version_by_arn(
                Arn=publish_result["LayerArn"]
            )  
        snapshot.match("get_layer_version_by_arn_exc_invalidarn", e.value.response)
        with pytest.raises(aws_client.awslambda.exceptions.ResourceNotFoundException) as e:
            aws_client.awslambda.get_layer_version_by_arn(Arn=f"{publish_result['LayerArn']}:2")
        snapshot.match("get_layer_version_by_arn_exc_nonexistentversion", e.value.response)
        
        delete_nonexistent_response = aws_client.awslambda.delete_layer_version(
            LayerName="layerdoesnotexist", VersionNumber=1
        )
        snapshot.match("delete_nonexistent_response", delete_nonexistent_response)
        delete_nonexistent_version_response = aws_client.awslambda.delete_layer_version(
            LayerName=layer_name, VersionNumber=2
        )
        snapshot.match("delete_nonexistent_version_response", delete_nonexistent_version_response)
        
        delete_layer_response = aws_client.awslambda.delete_layer_version(
            LayerName=layer_name, VersionNumber=1
        )
        snapshot.match("delete_layer_response", delete_layer_response)